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

lalajee 1,821 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 Security | Intune | Configuration Manager | Deployment
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Garth 5,801 Reputation points
    2022-04-25T18:17:38.49+00:00

    There should be some powershell commands to do this. aka edit the WMI data.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sherry Kissinger 5,546 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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.