How To Run The Advanced Disk Cleanup Version In Windows - gHacks Tech News

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.

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.

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
How To Run The Advanced Disk Cleanup Version In Windows
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

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Midnight said on January 9, 2012 at 7:32 pm
    Reply

    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 said on January 9, 2012 at 7:46 pm
    Reply

    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?

    1. Martin Brinkmann said on January 9, 2012 at 9:09 pm
      Reply

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

  3. ilev said on January 9, 2012 at 8:07 pm
    Reply
    1. Midnight said on January 9, 2012 at 8:13 pm
      Reply

      Thanks a heap, odio. This will certainly help! :)

    2. WebHybrid said on January 9, 2012 at 9:51 pm
      Reply
  4. odio said on January 9, 2012 at 8:11 pm
    Reply

    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……

    1. Martin Brinkmann said on January 9, 2012 at 9:10 pm
      Reply

      Odio thanks, will take a look.

  5. WebHybrid said on January 9, 2012 at 9:06 pm
    Reply

    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 said on January 10, 2012 at 6:15 pm
    Reply

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

  7. VS Narayanan said on January 11, 2012 at 1:58 pm
    Reply

    Hallow Sir,

    Happy New Year 2012 to all Ghacks Members, from VS Narayanan, T. Nagar, Chennai – Tamil Nadu.

    There is any chance, Bluestake for XP sp2. If any, please notify me by mail: [email protected]

    Thanking You,
    VS Narayanan
    T.Nagar.
    Chennai – 17

  8. Kay said on January 12, 2012 at 1:43 am
    Reply

    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

    1. Martin Brinkmann said on January 12, 2012 at 2:15 am
      Reply

      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.

      1. Kay said on January 12, 2012 at 8:31 pm
        Reply

        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

  9. oldtima said on January 17, 2012 at 9:52 pm
    Reply

    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 :)

  10. martin said on June 19, 2016 at 7:56 am
    Reply

    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 ?

  11. martin said on June 19, 2016 at 8:01 am
    Reply

    Need to be: “It don’t ask me what drive I want to clean up”

  12. lonestar said on February 24, 2017 at 4:10 pm
    Reply

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

    1. Martin Brinkmann said on February 24, 2017 at 4:37 pm
      Reply

      What’s missing in your opinion?

  13. Ben said on May 15, 2017 at 11:33 am
    Reply

    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

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.