Open in the explorer

Turn off cache power mode

Désactiver le mode d’économie d’énergie du cache

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Disk NV Cache FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Cache NV de disque
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
DiskNVCache.admx
Internal name
DiskNVCache/CachePowerModePolicy

Explanation

This policy setting turns off power save mode on the hybrid hard disks in the system.

If you enable this policy setting, the hard disks are not put into NV cache power save mode and no power savings are achieved.

If you disable this policy setting, the hard disks are put into an NV cache power saving mode. In this mode, the system tries to save power by aggressively spinning down the disk.

If you do not configure this policy setting, the default behavior is to allow the hybrid hard disks to be in power save mode.

Note: This policy setting is applicable only if the NV cache feature is on.

French text from Windows 11 26H2

Ce paramètre de stratégie désactive le mode d’économie d’énergie sur les disques durs hybrides du système.

Si vous activez ce paramètre de stratégie, les disques durs n’entrent pas en mode d’économie d’énergie du cache NV et aucune économie d’énergie n’est réalisée.

Si vous désactivez ce paramètre de stratégie, les disques durs hybrides sont mis en mode d’économie d’énergie de cache NV. Dans ce mode, le système tente d’économiser de l’énergie en diminuant considérablement la rotation du disque.

Si vous ne configurez pas ce paramètre de stratégie, les disques durs hybrides sont maintenus en mode d’économie d’énergie (comportement par défaut).

Remarque : ce paramètre de stratégie n’est applicable que si la fonctionnalité de cache NV est activée.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NvCache
Value name
EnablePowerModeState
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: DiskNVCache/CachePowerModePolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NvCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnablePowerModeState' -Value 0 -Type DWord

Disable

# Disable: DiskNVCache/CachePowerModePolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NvCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnablePowerModeState' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DiskNVCache/CachePowerModePolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NvCache'
Remove-ItemProperty -Path $k -Name 'EnablePowerModeState' -ErrorAction SilentlyContinue

Availability