/build/static/layout/Breadcrumb_cap_w.png

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:
Posted by: andrew_lubchansky 11 years ago
2nd Degree Black Belt
2

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ