the header image

XenDesktop with PvD: CCMCache


Running Windows 7 desktops with personal vdisks and SCCM can be a difficult task, especially with the amount of space and data SCCM uses to cache it’s installs/uninstalls. A typical software package can range anywhere from 10MB to 1GB+, this is where the following script comes in handy.

What the script does is cleans the ‘C:\Windows\ccmcache‘ directory based on the age of the content, also removing persisted data. In my case, I’ve set the age to 0 because I want to remove anything that’s not needed.

User ‘gpedit.msc‘ to set a Computer startup script to run the following script (save as .vbs).

Leave a reply

Your email address will not be published.