Require use of fast startup
Exiger l’utilisation du démarrage rapide
Explanation
This policy setting controls the use of fast startup.
If you enable this policy setting, the system requires hibernate to be enabled.
If you disable or do not configure this policy setting, the local setting is used.
Ce paramètre de stratégie contrôle l’utilisation du démarrage rapide.
Si vous activez ce paramètre de stratégie, le système requiert l’activation de la mise en veille prolongée.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, le paramètre local est utilisé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System- Value name
HiberbootEnabled
| 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: WinInit/Hiberboot
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HiberbootEnabled' -Value 1 -Type DWordDisable
# Disable: WinInit/Hiberboot
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HiberbootEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WinInit/Hiberboot
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'HiberbootEnabled' -ErrorAction SilentlyContinue