How To Run The Advanced Disk Cleanup Version In Windows

The Disk Cleanup tool offers a great way to quickly free up disk space by deleting temporary files that are no longer needed. It is in no way as complete or thorough as third party tools like CCleaner, but it gets the job done and does not require you to install another software on the system for that operation.

Most users do not know that Microsoft has integrated an advanced version of the cleanup tool in the Windows operating system. The core reason for that is that it can only be started from the command prompt, and not from menus or by clicking on a program icon on the desktop.

Update: recent versions of the Disk Cleanup tool ship with an option to run the advanced version after start. Just start the Disk Cleanup tool like you would normally, select the drive you want to clean, and on the next screen the "clean up system files" option. This repeats the process (selecting drive and all), but opens the advanced cleaning options in the end.

clean up system files

The advanced version lists all the cleaning options described below. Update End

Lets first take a look at the standard version of Disk Cleanup. One of the easiest methods to start Disk Cleanup on Windows is the following one:

  1. Use the shortcut Windows-r to bring up the run box.
  2. Type cleanmgr in there and tap on the enter-key afterwards.

This opens the program right away. There are other ways to launch it, for instance by entering disk cleanup in the start menu search form.

Read also:  How to delete large folders in Windows super fast

The standard Disk Cleanup tool can delete the following temporary files on the system. Included in the deletion are temporary files, thumbnails, or downloaded programs.

Advertisement

standard disk cleanup

Tip: Check out How To Clean Hard Drives In Windows 7 for general information about the cleanup software.

Compare that to the options the advanced cleanup tool offers.

advanced disk cleanup

Included in the advanced tools are options to clean debug dump files, system and user queued error reporting files, files discarded by Windows upgrade, or setup and windows upgrade log files.

Here is how you can load the advanced Disk Cleanup Tool in Windows:

  1. Open the run prompt again with Windows-r.
  2. Now run the following command to bring up the advanced version: Cleanmgr /sageset:65535 & /sagerun:65535
  3. Just click ok afterwards to load the advanced Disk Cleanup Tool interface.

cleanmgr

Note that not all items are selected by default, which means that you need to look through the options to enable and disable items until you are satisfied with the selection.

Summary
Article Name
How To Run The Advanced Disk Cleanup Version In Windows
Description
Find out how to run the built-in advanced cleanup tool of the Windows operating system to free up disk space by deleting temporary files.
Author
Publisher
Ghacks Technology News
Logo

Please share this article

Facebooktwittergoogle_plusredditlinkedinmail


Filed under:


Responses to How To Run The Advanced Disk Cleanup Version In Windows

  1. Midnight January 9, 2012 at 7:32 pm #

    Great tip, Martin! I didn't know about that one.

    Question is, What took you so long to tell us about it? LOL!!!

  2. Midnight January 9, 2012 at 7:46 pm #

    Follow up!

    The command that you indicated above:

    Cleanmgr /sageset:65535 & /sagerun:65535
    Brings up the new Advanced Disk Cleanup Tool, Minus the Options to Uninstall Programs and Delete Previous Restore points and all that's left is to Click O.K., which does nothing but shut down Disk Cleaner.

    When loading the Disk Cleanup the 2nd time, the additional features are no longer there!
    Does that mean that the above command has to be loaded each and every time I want to run Disk Cleanup or is there a Registry Fix to make the Advanced Clean up permanent?

    • Martin Brinkmann January 9, 2012 at 9:09 pm #

      Yes you need to run it all the time. You can however use Ilev's suggestion and create a shortcut for it.

  3. ilev January 9, 2012 at 8:07 pm #

    Windows 7 - Advanced Disk Cleanup - Create Shortcuts Without A Batch File!

    http://www.sevenforums.com/performance-maintenance/195496-advanced-disk-cleanup-create-shortcuts-without-batch-file.html

  4. odio January 9, 2012 at 8:11 pm #

    off:
    hey martin, you should take a look at this userscript:

    Youtube Switch Back To Old Design
    http://userscripts.org/scripts/show/120098

    this is saving my life with youtube......

  5. WebHybrid January 9, 2012 at 9:06 pm #

    Interesting that this has always been there hidden away, but could we get some expert guidance about which options are safe, or I might say, safest?

    (Similarly I have been afraid, all these years, to muck around much with the Windows 'System' and 'Advanced' options in CCleaner for same reason: lack of understanding about the consequences.)

  6. Paul January 10, 2012 at 6:15 pm #

    Any possibility that article titles could mention which version(s) of Windows the article applied to please?

  7. Kay January 12, 2012 at 1:43 am #

    Did anyone get feed back on which options are ok to check or clean, also with windows Vista is the link for Vista the best way to do the advanced disk clean up?

    Thanks

    • Martin Brinkmann January 12, 2012 at 2:15 am #

      There is nothing that its dangerous to delete. Please keep in mind though that you delete dump files which means that you cannot analyze them afterwards anymore.

      • Kay January 12, 2012 at 8:31 pm #

        Thank you for the reply, next question how do you know it worked? unlike the normal cleanup that would show a little bar all I get is a flash then the box is gone? ( sorry to ask such a silly question)
        Thank you
        Kay

  8. oldtima January 17, 2012 at 9:52 pm #

    ahh my old favourite !
    posted on how to geek website ;) lol

    http://www.howtogeek.com/howto/36924/why-doesnt-disk-cleanup-delete-everything-from-the-temp-folder/

    ((last comment))

    good to see it again though :)

  9. martin June 19, 2016 at 7:56 am #

    This all goes this fast that I don't believe this advanced Disk cleanup does anything at all.
    It don't ask me what drive I won't to clean up.
    It don't need any time at all to scan the disk for files that could be deleted.
    And even don't need any time to delete them files finally.

    All this takes a reasonably amount of time in the default cleanup mode and about the same time
    in in the "cleanup system files" mode but, oddly enough, no time at all in the super advanced cleanup mode.
    How could this be ?

  10. martin June 19, 2016 at 8:01 am #

    Need to be: "It don't ask me what drive I want to clean up"

  11. lonestar February 24, 2017 at 4:10 pm #

    This article leaves a lot of unanswered questions!!! 1STAR

  12. Ben May 15, 2017 at 11:33 am #

    I remembered doing this a while ago but forgot the command so
    this article came up pretty high in google search along with others.
    I just wanted to point out after trying the command you mention I get,

    "The filename, directory name, or volume label syntax is incorrect."

    The correct command as mention by the other tech websites is,

    %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535

Leave a Reply