We are using the solution described by "BBLAdmin" from:
http://social.technet.microsoft.com/Forums/en-US/06515995-a5ad-4a8a-a71b-908
f5fa5bf2b/change-cache-size-during-application-deployment?forum=configmanage
rapps  which is working great..

 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Murray, Mike
Sent: Friday, July 11, 2014 1:38 AM
To: [email protected]
Subject: [mssms] Change client cache size and location via VBScript

 

Hey folks,

 

I have a handful of computers that we need to increase the cache size and
move the cache folder to another drive. I'm using the script below. If I run
it directly on a computer, it works fine. However, when I deploy it as an
application, it doesn't seem to fully work. In one case, only the cache size
got changed. In another, nothing got changed.

 

The command line I'm using in the app is CSCRIPT.EXE "ChangeCache.vbs".
Also, it's set to install for system, whether or not a user is logged in.

 

On Error Resume Next

 

Dim UIResManager 

Dim Cache 

Dim CacheSize

Dim CacheLocation

 

CacheSize=20480

CacheLocation="T:\"

 

Set UIResManager = CreateObject("UIResource.UIResourceMgr")

 

Set Cache=UIResManager.GetCacheInfo()

 

Cache.TotalSize=CacheSize

Cache.Location=CacheLocation

 

 

 

Best Regards,

 

Mike Murray

Desktop Management Coordinator - IT Support Services

California State University, Chico

530.898.4357
 <mailto:[email protected]> [email protected]

 

 



Reply via email to