Use solid color for Start background
Utiliser une couleur unie pour l’arrière-plan du menu Démarrer
Explanation
This policy setting controls the Start background visuals.
If you enable this policy setting, the Start background will use a solid color.
If you disable or do not configure this policy setting, the Start background will use the default visuals.
Note: If this policy setting is enabled, users can continue to select a color in Start Personalization. However, setting the accent will have no effect.
Ce paramètre de stratégie contrôle les visuels de l’arrière-plan du menu Démarrer.
Si vous activez ce paramètre de stratégie, l’arrière-plan du menu Démarrer utilise une couleur unie.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’arrière-plan du menu Démarrer utilise les visuels par défaut.
Remarque : si ce paramètre de stratégie est activé, les utilisateurs peuvent continuer à sélectionner une couleur dans Personnalisation du menu Démarrer. Toutefois, le paramètre d’accentuation même s’il est défini n’aura aucun effet.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DWM- Value name
DisableAccentGradient
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: DWM/DwmDisableAccentAndGradient
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DWM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableAccentGradient' -Value 1 -Type DWordDisable
# Disable: DWM/DwmDisableAccentAndGradient
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DWM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableAccentGradient' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": DWM/DwmDisableAccentAndGradient
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DWM'
Remove-ItemProperty -Path $k -Name 'DisableAccentGradient' -ErrorAction SilentlyContinue