Specify the display dim brightness (on battery)
Spécifier la luminosité de l’affichage estompé (sur batterie)
Explanation
This policy setting allows you to specify the brightness of the display when Windows automatically reduces brightness of the display.
If you enable this policy setting, you must provide a value, in percentage, indicating the display brightness when Windows automatically reduces brightness of the display.
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 luminosité de l’affichage lorsque Windows réduit automatiquement la luminosité de l’affichage.
Si vous activez ce paramètre de stratégie, vous devez fournir une valeur, en pourcentage, indiquant la luminosité de l’affichage lorsque Windows la réduit automatiquement.
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\f1fbfde2-a960-4165-9f88-50667911ce96- 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/DisplayDimBrightnessDC
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\f1fbfde2-a960-4165-9f88-50667911ce96'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Display Dim Brightness (percent)
Set-ItemProperty -Path $k -Name 'DCSettingIndex' -Value 0 -Type DWord # maximum 100Disable
# Disable: Power/DisplayDimBrightnessDC
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Power/DisplayDimBrightnessDC
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\f1fbfde2-a960-4165-9f88-50667911ce96'
Remove-ItemProperty -Path $k -Name 'DCSettingIndex' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Display Dim Brightness (percent):Luminosité de l’affichage estompé (pourcentage) :EnterDisplayDimBrightness | Numeric boxdecimal | DCSettingIndex | REG_DWORD | Required · Max: 100 |