Open in the explorer

Turn off solid state mode

Désactiver le mode SSD

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/SolidStatePolicy

Explanation

This policy setting turns off the solid state mode for the hybrid hard disks.

If you enable this policy setting, frequently written files such as the file system metadata and registry may not be stored in the NV cache.

If you disable this policy setting, the system will store frequently written data into the non-volatile (NV) cache. This allows the system to exclusively run out of the NV cache and power down the disk for longer periods to save power. Note that this can cause increased wear of the NV cache.

If you do not configure this policy setting, the default behavior of the system is observed and frequently written files will be stored in the NV cache.

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 SSD pour les disques durs hybrides.

Si vous activez ce paramètre de stratégie, les fichiers fréquemment écrits, comme les métadonnées du système de fichiers et du Registre, ne peuvent pas être stockés dans le cache non volatile (NV).

Si vous désactivez ce paramètre de stratégie, le système enregistre dans le cache NV les données fréquemment écrites. Cela permet au système de s’exécuter exclusivement à partir du cache NV et de mettre le disque hors tension pendant des périodes plus longues afin d’économiser de l’énergie. Il convient toutefois de noter que cela peut accroître l’utilisation du cache NV.

Si vous ne configurez pas ce paramètre de stratégie, le comportement par défaut du système se produit et les fichiers fréquemment écrits sont stockés dans le cache NV.

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
EnableSolidStateMode
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/SolidStatePolicy
$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 'EnableSolidStateMode' -Value 0 -Type DWord

Disable

# Disable: DiskNVCache/SolidStatePolicy
$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 'EnableSolidStateMode' -Value 1 -Type DWord

Revert to "Not configured"

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

Availability