How can I remotely change the Microsoft Systems Management Server (SMS) client cache size?

John Savill

July 25, 2005

1 Min Read
ITPro Today logo

A. By default, SMS clients have a cache size of 250MB, which is adequate for most scenarios. You can change the cache size when you install the SMS client, or you can change it after you've deployed the client--either by using the Systems Management Control Panel applet on the client or by using a script (which you can send out and run via SMS). The following code excerpt sets the cache value on clients to 2GB. (Some lines wrap because of space limitations.)

On Error Resume NextDim nValueToSetDim oUIResourceSet oUIResource = CreateObject("UIResource.UIResourceMgr")Set objCacheInfo = oUIResource.GetCacheInfonValueToSet = 2000if objCacheInfo.TotalSize After you change the cache size, you can look at the CAS.log file on the client to confirm the change, as the following entry shows:

Read more about:

Microsoft

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like