Script to safely automate disk cleanup on Windows systems
Does anyone happen to have the command line syntax for using cleanmgr.exe? Even microsoft and technet forums don't fully detail the switches and how they work to effectively drop it into a K script that runs once a month. If anyone has something they're using to automate this task to keep disks clean and happy please share. Thank you!
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
andrew_lubchansky
11 years ago
This is the best I could find online based compared to what returned from a cleanmgr /?
http://social.technet.microsoft.com/Forums/en-US/w7itproperf/thread/40c7f557-bd5d-4d5c-999f-9dbb5f5d08d5/
Not sure if you saw that or not, but it seems to be the most complete info out there.
Comments:
-
I found a similar article on technet, but it doesn't explain what the numeric value after SAGESET/ represents or what value to use. I'm looking for the safest, simplest way of executing this command and cleaning the junk off of our endpoints so our users don't gripe about slowness. - GeekSoldier 11 years ago
-
Look here for a sageset explanation: http://www.rawcomputing.co.uk/windows7/win7tips69.html - jknox 11 years ago
-
Thanks jknox! - GeekSoldier 11 years ago