Policy CSP - ADMX_DiskNVCache

Tip

This CSP contains ADMX-backed policies which require a special SyncML format to enable or disable. You must specify the data type in the SyncML as <Format>chr</Format>. For details, see Understanding ADMX-backed policies.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.

BootResumePolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskNVCache/BootResumePolicy

This policy setting turns off the boot and resume optimizations for the hybrid hard disks in the system.

  • If you enable this policy setting, the system doesn't use the non-volatile (NV) cache to optimize boot and resume.

  • If you disable this policy setting, the system uses the NV cache to achieve faster boot and resume. The system determines the data that will be stored in the NV cache to optimize boot and resume. The required data is stored in the NV cache during shutdown and hibernate, respectively. This might cause a slight increase in the time taken for shutdown and hibernate.

  • If you don't configure this policy setting, the default behavior is observed and the NV cache is used for boot and resume optimizations.

Note

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

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name BootResumePolicy
Friendly Name Turn off boot and resume optimizations
Location Computer Configuration
Path System > Disk NV Cache
Registry Key Name Software\Policies\Microsoft\Windows\NvCache
Registry Value Name OptimizeBootAndResume
ADMX File Name DiskNVCache.admx

CachePowerModePolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskNVCache/CachePowerModePolicy

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 aren't 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 don't 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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name CachePowerModePolicy
Friendly Name Turn off cache power mode
Location Computer Configuration
Path System > Disk NV Cache
Registry Key Name Software\Policies\Microsoft\Windows\NvCache
Registry Value Name EnablePowerModeState
ADMX File Name DiskNVCache.admx

FeatureOffPolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskNVCache/FeatureOffPolicy

This policy setting turns off all support for the non-volatile (NV) cache on all hybrid hard disks in the system. To check if you have hybrid hard disks in the system, from Device Manager, right-click the disk drive and select Properties. The NV cache can be used to optimize boot and resume by reading data from the cache while the disks are spinning up. The NV cache can also be used to reduce the power consumption of the system by keeping the disks spun down while satisfying reads and writes from the cache.

  • If you enable this policy setting, the system won't manage the NV cache and won't enable NV cache power saving mode.

  • If you disable this policy setting, the system will manage the NV cache on the disks if the other policy settings for the NV cache are appropriately configured.

Note

This policy setting will take effect on next boot.

  • If you don't configure this policy setting, the default behavior is to turn on support for the NV cache.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name FeatureOffPolicy
Friendly Name Turn off non-volatile cache feature
Location Computer Configuration
Path System > Disk NV Cache
Registry Key Name Software\Policies\Microsoft\Windows\NvCache
Registry Value Name EnableNvCache
ADMX File Name DiskNVCache.admx

SolidStatePolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskNVCache/SolidStatePolicy

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 don't 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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name SolidStatePolicy
Friendly Name Turn off solid state mode
Location Computer Configuration
Path System > Disk NV Cache
Registry Key Name Software\Policies\Microsoft\Windows\NvCache
Registry Value Name EnableSolidStateMode
ADMX File Name DiskNVCache.admx

Policy configuration service provider