Allow network connectivity during connected-standby (on battery)
Autoriser la connectivité réseau pendant la veille connectée (sur batterie)
Explanation
This policy setting allows you to control the network connectivity state in standby on modern standby-capable systems.
If you enable this policy setting, network connectivity will be maintained in standby.
If you disable this policy setting, network connectivity in standby is not guaranteed. This connectivity restriction currently applies to WLAN networks only, and is subject to change.
If you do not configure this policy setting, users control this setting.
Ce paramètre de stratégie vous permet de contrôler l’état de la connectivité réseau en veille sur des systèmes modernes compatibles avec la veille.
Si vous activez ce paramètre de stratégie, la connectivité réseau est maintenue en veille.
Si vous désactivez ce paramètre de stratégie, la connectivité réseau en veille n’est pas garantie. Cette restriction de connectivité s’applique aux réseaux WLAN uniquement et peut être modifiée.
Si vous 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\f15576e8-98b7-4186-b944-eafa664402d9- Value name
DCSettingIndex
| 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: Power/DCConnectivityInStandby_2
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DCSettingIndex' -Value 1 -Type DWordDisable
# Disable: Power/DCConnectivityInStandby_2
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DCSettingIndex' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Power/DCConnectivityInStandby_2
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\f15576e8-98b7-4186-b944-eafa664402d9'
Remove-ItemProperty -Path $k -Name 'DCSettingIndex' -ErrorAction SilentlyContinue