Could you share your script? Thanks!
Mike From: [email protected] [mailto:[email protected]] On Behalf Of Johan van Dijk Sent: Friday, July 11, 2014 6:30 AM To: [email protected] Subject: RE: [mssms] Change client cache size and location via VBScript We are using the solution described by "BBLAdmin" from: http://social.technet.microsoft.com/Forums/en-US/06515995-a5ad-4a8a-a71b-908f5fa5bf2b/change-cache-size-during-application-deployment?forum=configmanagerapps which is working great.... From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Murray, Mike Sent: Friday, July 11, 2014 1:38 AM To: [email protected]<mailto:[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 [email protected]<mailto:[email protected]>

