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!

Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



This is the best I could find online based compared to what returned from a cleanmgr /?


Not sure if you saw that or not, but it seems to be the most complete info out there.

Answered 05/22/2013 by: andrew_lubchansky
Black Belt

  • 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.
    • Look here for a sageset explanation: http://www.rawcomputing.co.uk/windows7/win7tips69.html
Please log in to comment