Reduce display brightness (plugged in)
Réduire la luminosité de l’affichage (sur secteur)
Explanation
This policy setting allows you to specify the period of inactivity before Windows automatically reduces brightness of the display.
If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows automatically reduces the brightness of the display.
Windows will only reduce the brightness of the primary display integrated into the computer.
If you disable or do not configure this policy setting, users control this setting.
Ce paramètre de stratégie vous permet de spécifier la période d’inactivité avant que Windows ne réduise la luminosité de l’affichage.
Si vous activez ce paramètre de stratégie, vous devez fournir une valeur, en secondes, indiquant la durée d’inactivité qui doit s’écouler avant que Windows ne réduise automatiquement la luminosité de l’affichage.
Windows réduit uniquement la luminosité de l’affichage principal intégré à l’ordinateur.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs contrôlent ce paramètre.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\17aaa29b-8b43-4b94-aafe-35f64daaf1ee- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: Power/DisplayDimTimeOutAC
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\17aaa29b-8b43-4b94-aafe-35f64daaf1ee'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Reduce Display Brightness (seconds)
Set-ItemProperty -Path $k -Name 'ACSettingIndex' -Value 0 -Type DWord # maximum 4294967295Disable
# Disable: Power/DisplayDimTimeOutAC
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Power/DisplayDimTimeOutAC
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\17aaa29b-8b43-4b94-aafe-35f64daaf1ee'
Remove-ItemProperty -Path $k -Name 'ACSettingIndex' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Reduce Display Brightness (seconds):Réduire la luminosité de l’affichage (secondes) :EnterDisplayDimTimeOut | Numeric boxdecimal | ACSettingIndex | REG_DWORD | Required · Max: 4294967295 |