0x87D01202: The client cache is smaller than the requested content
The content is larger than the whole client cache, so it can never download. Raise the cache size or make the content smaller.
What 0x87D01202 means
Configuration Manager shows "The content download cannot be performed because the total size of the client cache is smaller than the size of the requested content". The decimal form is -2016407038. You see it in Software Center, in the deployment status and in CAS.log.
The client cache has a maximum size. The default is 5120 MB. This error means one piece of content is larger than that maximum. Deleting other cache content does not help. The cache itself is too small.
Common causes
- The application, package or operating system upgrade package is larger than the cache size.
- The cache size was never raised from the default of 5120 MB.
- The content source folder holds files that the install does not need.
- The client setting for the cache size has not reached this client yet.
How to fix 0x87D01202
-
Compare the content size with the cache size
In the console, find the content under Monitoring > Distribution Status > Content Status. Note its size. On the client, run the first command below to see the cache size in MB. The cache must be larger than the content.
-
Raise the cache size with client settings
Go to Administration > Client Settings. Open the settings that apply to the clients and select Client Cache Settings. Set Configure client cache size to Yes. Raise Maximum cache size (MB) above the largest content you deploy. Then run Machine Policy Retrieval & Evaluation Cycle on the client.
-
Raise the cache size on one client
For a single computer, open Control Panel > Configuration Manager > Cache tab. Select Configure Settings and move the slider. You can also use the second command below. A client setting from the site overwrites this value later.
-
Make the content smaller
Open the content source folder. Remove files the installer does not use, such as other languages or other architectures. Then update the content on the distribution points. For new client installs, you can set the cache size with the
SMSCACHESIZEsetup property.
Commands that help
Get-CimInstance -Namespace root\ccm\SoftMgmtAgent -ClassName CacheConfig | Select-Object Location, Size
$cache = Get-WmiObject -Namespace root\ccm\SoftMgmtAgent -Class CacheConfig
$cache.Size = 20480
$cache.Put() | Out-Null
Restart-Service -Name CcmExec
Turn any hex or decimal error code into its meaning, or search every code on this site.