Custom Search

May 31, 2008

Used advanced disk cleanup tools to regain more space

The program behind Vista's disk cleanup tool is the 'cleanmgr.exe' file. If you access this file from the command prompt, you can enable several previously hidden options which give you more control in terms of what is removed from your computer when you run disk cleanup. Let's look at doing this.

To use the cleanmgr command to create custom drive cleaning options:

Open an administrative command prompt (open the start menu, type 'cmd' in the search box and press CTRL+SHIFT+ENTER).

Type 'cleanmgr /sagetset: 1' and hit Enter. This brings up a checklist of the items you can set diskcleanup to delete when it is run. You'll notice that there are several options here which are otherwise not available. Choose the options you prefer.

When you hit 'ok' you have saved a cleaning profile. To run that cleaning profile and remove the items you specified from all drives, just enter the following in the command prompt: 'cleanmgr /sagerun: 1'

No comments:

 

blogger templates | Make Money Online