Cache

Cache specifies settings for a Microsoft ReadyBoost™ flash-storage cache, to be used as a supplemental memory cache. This is typically used for devices that have been integrated with the computer, such as an internal flash device or solid-state drive (SSD).

Values

Setting Description
CacheID Specifies a unique cache ID.
CacheSizeMB Specifies the size of the ReadyBoost cache in megabytes (MB).
DiskID Specifies the Disk ID that identifies the ReadyBoost device. Used with PartitionID.
EnableCompression Specifies whether the ReadyBoost cache uses compression.
EnableEncryption Specifies whether the ReadyBoost cache uses encryption.
PartitionID Specifies the Partition ID that identifies the ReadyBoost device. Used with DiskID.

Parent Hierarchy

Microsoft-Windows-SystemMaintenanceService | CacheList | Cache

Valid Configuration Passes

specialize

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SystemMaintenanceService.

XML Example

The following XML output example shows a configuration of two ReadyBoost devices. On this sample system, the primary hard drive is disk 0 (not shown in the XML example), and the two ReadyBoost devices are Disk 1 and 2. On the first device, a 500-megabyte ReadyBoost cache is created, leaving the remainder of the device space for storage. The second device is entirely used by the ReadyBoost cache.

<CacheList>
  <Cache>
    <CacheID>ReadyBoostCache1</CacheID>
    <DiskID>1</DiskID>
    <PartitionID>1</PartitionID>
    <CacheSizeMB>500</CacheSizeMB>
    <EnableCompression>false</EnableCompression>
    <EnableEncryption>true</EnableEncryption>
  </Cache>
  <Cache>
    <CacheID>ReadyBoostCache2</CacheID>
    <DiskID>2</DiskID>
    <PartitionID>1</PartitionID>
    <EnableCompression>true</EnableCompression>
    <EnableEncryption>true</EnableEncryption>
  </Cache>
</CacheList>

CacheList