What exactly is your end goal? What exactly does it matter if a file sits in the cache for 30 days?Hello, I am looking for some script to search for a particular folder in ccmcache and delete if found. I want to push this script if works via sccm. Can someone please help
I don't think you can view the same folder name in ccmcache on different machines.
For example, while one machine has 1a,2,x folders, another system may have a different folder structure. i.e., c, d,1,2, etc..
You can remove outdated sources from ccmcache.
When an installation occurs and the source code is not already cached, the application will be downloaded and installed again.
The goal is to delete few files and this requirement is part of the retirement of the package. We cleaned up C:\users and c:\program files but still there are some files in the ccmcache folder. I understand it sits in different alphabets or numbers and hence this problem is to search for the right word and then delete it from the ccmcacheI don't think you can view the same folder name in ccmcache on different machines.
For example, while one machine has 1a,2,x folders, another system may have a different folder structure. i.e., c, d,1,2, etc..
You can remove outdated sources from ccmcache.
When an installation occurs and the source code is not already cached, the application will be downloaded and installed again.
Hello Garth, Here I do not want to clean the ccmcache folder and I have the script for this effort. My goal is to search for a specific package and delete that folder completelyWhat exactly is your end goal? What exactly does it matter if a file sits in the cache for 30 days?
I think his point is what is the harm of it remaining in the ccmcache folder. If you retired/removed the package in Config Mgr it really has no impact.Hello Garth, Here I do not want to clean the ccmcache folder and I have the script for this effort. My goal is to search for a specific package and delete that folder completely
We don't need to be worried about the source codes that are available in the ccmcache, c:\windows\temp, or USERPROFILE (runtime files) once the application has been entirely uninstalled (Application cleanup location - registries, files, shortcuts), as users are unable to install the application on their own.The goal is to delete few files and this requirement is part of the retirement of the package. We cleaned up C:\users and c:\program files but still there are some files in the ccmcache folder. I understand it sits in different alphabets or numbers and hence this problem is
@GSTERLING got it right. @Hemald Why create more work for yourself for "nothing".I think his point is what is the harm of it remaining in the ccmcache folder. If you retired/removed the package in Config Mgr it really has no impact.
So we figured out that there are some vulnerable jar files in the ccmcache folder on close to 100 systems and I got the script to clean the complete cache folder and not sure if it will solve my problem or create a problem. If i clean the ccmcache, it will clean up everything@GSTERLING got it right. @Hemald Why create more work for yourself for "nothing".
So use a tool like Recast's RCT (free edition) to clear the cache on all computers within a collection.So we figured out that there are some vulnerable jar files in the ccmcache folder on close to 100 systems and I got the script to clean the complete cache folder and not sure if it will solve my problem or create a problem. If i clean the ccmcache, it will clean up everything
Cleaning out the cache folder won't cause any issues. As Garth mentioned you can use Recast (or other methods) to do that. Keep in mind that ccmcache is a protected folder so a regular user won't be able to access it.So we figured out that there are some vulnerable jar files in the ccmcache folder on close to 100 systems and I got the script to clean the complete cache folder and not sure if it will solve my problem or create a problem. If i clean the ccmcache, it will clean up everything
Thank you so much.This is really helpfulSo use a tool like Recast's RCT (free edition) to clear the cache on all computers within a collection.
<Keep in mind that I do work for Recast but more for the EI product>
First off, ConfigMgr will automatically remove files from the cache older than 30 days.Hi all, I'm new to sccm. can share the script to clear cache from my client device? or any script which is allow if file store more then 30days?
I like to push package to all device in my company. I hope i can get response from anyone soon.