Content and distribution

0x87D01201: Not enough available space in the cache or the disk is full

The client cannot download the content because the cache has no room it can free, or the disk itself is full.

Hex code0x87D01201
Decimal-2016407039
Logs to readCAS.log, ContentTransferManager.log

What 0x87D01201 means

Configuration Manager shows "The content download cannot be performed because there is not enough available space in cache or the disk is full". The decimal form is -2016407039. You see it in Software Center, in the deployment status and in CAS.log.

The content would fit in the cache if the cache were empty. But the client could not free enough room right now. Compare this with 0x87D01202, where the content is larger than the whole cache.

Common causes

  • The drive that holds C:\Windows\ccmcache is almost full.
  • The cache is full of content that the client may not delete yet, such as content downloaded in the last 24 hours.
  • Deployment types or packages are set to persist content in the client cache.
  • Several large deployments download at the same time.

How to fix 0x87D01201

  1. Check the free disk space

    Run the first command below on the client. The download needs free disk space for the whole content. Free space with Disk Cleanup, or remove files that are not needed. Then retry the install.

  2. Look at what fills the cache

    Run the second command below. It lists each item in the cache with its size and the last time it was used. Open C:\Windows\CCM\Logs\CAS.log to see how much room the client needed and how much it could free.

  3. Delete old cache content

    On the client, open Control Panel > Configuration Manager > Cache tab. Select Configure Settings, then Delete Files. Select the option to delete persisted content too if that content is what fills the cache. Do not delete folders under ccmcache by hand. The client then loses track of them.

  4. Make the cache larger

    In the console, go to Administration > Client Settings. Open Client Cache Settings. Set Configure client cache size to Yes and raise Maximum cache size (MB). Also review deployment types that persist content, and clear that option where it is not needed.

Commands that help

Show free space and the cache size setting of the client · PowerShell
Get-Volume -DriveLetter C | Select-Object DriveLetter, SizeRemaining, Size
Get-CimInstance -Namespace root\ccm\SoftMgmtAgent -ClassName CacheConfig | Select-Object Location, Size
List the cache items, largest first (ContentSize is in KB) · PowerShell
Get-CimInstance -Namespace root\ccm\SoftMgmtAgent -ClassName CacheInfoEx |
    Sort-Object ContentSize -Descending |
    Select-Object ContentId, ContentSize, LastReferenced, Location
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.