Increasing the ConfigMgr cache size above 100GB

In most circumstances you have to increase the ConfigMgr client cache size higher than the default of 5120MB. This is not uncommon, and there are alot of easy ways to modify it either during deployment, manually afterwards, or by script. There is one limitation to this though, what if you need to substantially increase the cache size? It can become difficult to do this when you need to increase it above 100GB. I had some issues with this a few months back, and after a case with Microsoft, found the only way to do it was via a PowerShell script. Even .vbs calling the same WMI methods for some reason would not work, but PowerShell came to save the day.

I put together a simple parameterized script that allows you to specify the size or it will default to 51200MB.

The full script is below.

Please note, in order for the settings to take effect the SMS Agent Host/ccmexec service must restart, but the script does it for you!

One thought on “Increasing the ConfigMgr cache size above 100GB

  1. Ken

    Nice! Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">