Skip to main content

How to Enable Hidden Options in Windows’ Disk Cleanup Tool

How to Enable Hidden Options in Windows’ Disk Cleanup Tool


The Disk Cleanup tool has been around in Windows for years. It offers a quick way to remove temporary, cache, and other non-essential files to help you free up some disk space. You can even use it to remove old versions of Windows after an upgrade to Windows 10. Disk Cleanup also has several hidden options that you can only access if you run it from the Command Prompt or a custom shortcut.
Start by opening the Command Prompt with administrative privileges. Press Windows+X and choose “Command Prompt (Admin)” from the list of commands.
At the Command Prompt, type the following command and then press Enter.
cleanmgr /sageset:65535 /sagerun:65535
Note that where this command uses the number 65535, you can actually use any number between 1 and 65535 as long as you use the same number in both places. The reason for this is that the cleanmgr command offers some other customization and automation features. Disk Cleanup remembers options, so you could create batch files or scripts that ran cleanup in different ways based on the set number you use. Here, we’re just exposing the hidden cleanup options, but if you’re interested, Microsoft has some good information about automating Disk Cleanup.
After you run the command at the Command Prompt, the Disk Cleanup interface will load. Unlike when you run it the regular way, it will not ask you which disk you want clean up. Instead, options you choose will apply to all disks. As you can see, the tool now offers several options that are unavailable if you run Disk Cleanup normally.
If you want to run Disk Cleanup this way regularly, you can also create a shortcut. To do this, you’ll first need to run the command using the Command Prompt as we just discussed. This creates a configuration entry in the Registry using the sageset number you chose (we’re still using 65535). Then, you’ll need to create the new shortcut. Just right-click on your Desktop (or any folder where you want to save the shortcut) and choose New > Shortcut. In the Create Shortcut window, paste (or type) the following text into the “Type the location of the item” box and then click Next.
%systemroot%\system32\cmd.exe /c Cleanmgr /sagerun:65535
Give your shortcut a name and then click Finish to save it.
Now, all you have to do is double-click that shortcut to run Disk Cleanup with advanced options against all the drives on your system. It won’t necessarily save you a huge amount of extra space, but sometimes every little bit helps. It also offers a nice way to run Disk Cleanup against multiple drives at once.

Comments

Popular posts from this blog

9 Free & Open Source Forum Software Solutions

Forums can be a great way to encourage audience participation, and to change a website from a one dimensional entity into a full fledged community. There are a number of well developed open source forums out there on the web to help you create that, each with their own benefits. This review breaks down some of the best software out there in 2011 with a focus on everything from lightweight forum solutions to the all singing, all dancing heavyweights. Vanilla URL: http://vanillaforums.org/ Features URL: http://vanillaforums.org/features/embed-vanilla License: GPL Runs on: PHP / MySQL / Postgres Vanilla has always prided itself on clean underlying code, bringing together web standards, code reuse and css to create a product that kicks lumps out of 1990′s bulletin software that we’ve become accustomed to on the web. With many of the forum software solutions out there on the web carrying a technical burden of tables and bloatware, Vanilla brings with it a fresh approac

5 Free Websites to Create TimeTable Online

Here is a list of  5 free websites to create time table online . These websites let you plan all your classes, subjects; and create a timetable accordingly. Creating a timetable is both important and recommended as it helps you in scheduling things in a better way.  Especially during exam time, you can divide your time between different subjects, using a time table, and study accordingly. On these websites, you can add all your subjects, assignments that you have to do and make yourself a time table that will help you in reminding everything. Some of these websites also let you print your timetable. The 5 free websites to create time table here are  My Study Life, ExamTime, Class Schedule Maker, CollegeRuled, and revisionworld . My Study Life: The first website that allows you to create time table is   My Study Life . It is a very beautiful looking website with some very interesting features. You have to begin by creating a free account. After that, you can add all your subjects

Alternatives to Youtube

The most alternatives to youtube listed all in one place. Here you can find other video sites and also find out how to download and play back the videos. Be sure to visit  Video Search  page, where you can do FOUR SEARCHES AT ONCE - your results open in a four-paned window so that you can search for videos four times faster! http://www.5min.com 5min.com : Videopedia with instructional and DIY videos showing you how to do just about anything. http://www.abcnews.go.com/ ABC News Video : The MSM is finally waking up and putting their content online. See news reports, interviews and old media style content online. http://video.aol.com AOL Video : Millions of videos - as you would expect for a big rich company backed by Time/Warner. http://www.blinkx.com Blinkx  has over 35 million hours of video for you to browse and/or search through. Excellent interface and effects. http://www.blip.tv Blip.TV : Blip claims to level the playing field for independent shows since