CacheSizeMB

CacheSizeMB specifies the size of the Microsoft ReadyBoost™ cache, in megabytes (MB).

Note   The maximum cache size on a device partition formatted as FAT32 is 4096 MB, which is equal to 4 gigabytes (GB). To use a larger cache size, use a partition formatted as NTFS or exFAT. For information about reformatting a partition using NTFS, see Format.

Values

Size

Specifies the size of the ReadyBoost cache, in megabytes. Size is an integer value between 230 and 32768, so the range is from 230 MB to 32 GB.

Parent Hierarchy

microsoft-windows-systemmaintenanceservice | CacheList | Cache | CacheSizeMB

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 first device includes a cache size of 1 GB. On the second device, the cache is configured to fill the entire device.

<CacheList>
  <Cache>
    <CacheID>ReadyBoostCache1</CacheID>
    <DiskID>1</DiskID>
    <PartitionID>1</PartitionID>
    <CacheSizeMB>1024</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>

Cache