We are successfully deploying many applications via SCCM The problem we are running into now is getting the CCM Cache folder to clear out.
Is there any way to clear the cache folder automatically on a schedule or if a program needs to be downaloaded and there is not enough space in the cache? Tuesday, May 20, PM. Wednesday, May 21, AM.
We use this script mainly because we sometimes have packages that just don't remove from the cache. We have on a number of occasions observed 4 or 5 versions of the same package still sitting in the cache. This code is taken from the SDK for client actions. Wednesday, May 21, PM. How does it determine if the program is no longer required to stay in cache? If we advertise multiple applications to the same computer then how does it know what cached programs to get rid of?
We have several programs that have fairly large install bases. Adobe Creative suite is about 2 GB of installs. If this and a few more applications are assigned, then the cache can fill up quick. Thursday, May 22, AM. Hi I've added some more logic around the code above. I've also added some logging which you may find useful. FreeSize objLogFile. Friday, August 1, PM. Alain K.
Wednesday, March 30, AM. If you wish to remove persisted cache items too then change the line: oCache. CacheElementID to: oCache. Thursday, May 12, AM. Best eReaders. Best VPN. Browse All News Articles.
Baby Shark YouTube. Venmo Gifts. Fortnite iPhone. Quest Headset SteamVR. M1 Mac Dropbox. Windows 11 Uninstall Clock. Teams Walkie-Talkie. PCI Express 6. Use Your iPhone as a Webcam. Hide Private Photos on iPhone. All Microsoft's PowerToys for Windows. Take Screenshot by Tapping Back of iPhone.
Windows 11 Default Browser. Browse All Windows Articles. Windows 10 Annual Updates. OneDrive Windows 7 and 8. Copy and Paste Between Android and Windows. Protect Windows 10 From Internet Explorer. If you could help me clearing the old flders in ccmcache, it will be very useful to me.
This VB script should clear the ccmcache folder. GetCacheElements 'wscript. DeleteCacheElement oCacheElement. Maunil Mehta Well-Known Member. You can check this script also, can automatically delete Ccmcach folder contents. Reactions: Prajwal Desai. Rajni Kanyal - I hope the script is working fine.
Can you confirm before i mark the thread as Solved?. Hi Rajni, If you performed that activity , then please update so we can marked as resolved this post. Marking the thread as Solved. Latest posts C.
0コメント