How to increash SMSCACHESIZE to 10% of the disk space while upgrading client

lalajee 1,811 Reputation points
2022-04-25T13:55:18.493+00:00

I'm upgraded clients using an bat script and setting the SMSCACHESIZE to 10% of the disk space.

I'm running following command

START /WAIT %~dp0\ccmsetup.exe /retry:2 SMSCACHESIZE=10 SMSCACHEFLAGS=PERCENTDISKSPACE FSP=FSP /UsePKICert /NoCRLCheck

But SMSCACHESIZE is still same.

Current SMSCACHESIZE is 2GB
new size will be 10GB

In the client.msi.log i see following message

Cache Info already present. SMSCACHEDIR, SMSCACHEFLAGS would be ignored.

How do I force the client to take new settings without re-installing it

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
907 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Sherry Kissinger 3,886 Reputation points
    2022-04-25T22:24:07.89+00:00

    Just curious... is there some reason you can't just use Administration, Client Settings, and either edit "default", or make a new Custom Client Setting called... "Cache 10 percent or 10gb"... and under "Client Cache Settings", say "yes" to configure Client Cache Size, and set MB to 10240, and percentage to 10% ?

    If you wanted to only target "machines that are less than 10240 defined", you could add the cacheinfo into your inventory, and once they report back, make a collection of devices < 10240 defined, so that (for example) if there are a subset of devices that get more, like 25gb, they don't get reset back to 10240 by this client agent setting... it only targets those that are less than your minimum: https://eskonr.com/2013/07/sccm-configmgr-how-to-get-client-cache-size-using-mof-file-for-reporting/

    1 person found this answer helpful.
    0 comments No comments