How to increase SCCM 2012 client cache size?

If you have large applications to deploy, it will fail because the size of the SCCM Client Cache is not big enough. By default, the SCCM 2012 client cache size is set to 5120MB.

increasecachebug

To solve this issue, you can increase the cache size with PowerShell on the local machine:

$CacheSize = Get-WmiObject -Namespace 'ROOT\CCM\SoftMgmtAgent' -Class CacheConfig
$CacheSize.Size = '10240'
$CacheSize.Put()

# It would be nice to restart the sccm service
Restart-Service -Name CcmExec

powershellcachesize

Now, change the cache size:

changecachesize

Or you can increase the cache size by the configuration manager properties:

sccmclientcachesize

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.