How to Use Extended Disk Cleanup in Vista, Windows 7, and Windows 8
This will show you how to access and run the Extended Disk Cleanup function in Windows, allowing you to clean up more HDD space for you to use.
Note
This must be done in an elevated command window to complete.
Let's get started!
1) In the Windows 7 start menu search box type "cmd" (without the quotes) right click the entry and select "Run As Administrator" then enter your user credentials for the UAC prompt and click yes to open the command window.
2) In the command window that opens type the command below and hit enter.
Be advised: the command window must be left open while the cleanup is carried out.
3) Now you will see the Disk Cleanup Settings window with more options available to you, select the ones you want to clean up then click ok; wait for the search and then the cleanup and then you're done.Code:%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
To add a shortcut to the desktop.
Note
1) In the Windows start menu search box type "notepad" (without the quotes) right click the entry and choose Run as Administrator then enter your user credentials in the UAC prompt and click yes to open notepad.
2) In notepad type the code below then in the upper left of notepad at File select "Save as" name the file anything you want but it must have the .bat extension then browse to C:/Windows/System32 and click Save, then back at "File" click "Exit" to close notepad.
3) Now click an empty spot on the desktop and click, "New, Shortcut" in the "Create Shortcut" window browse to C:\Windows\System32\<your file name.bat> and click ok, then in the next window click next, then for the last "Choose Name" window name the shortcut whatever you want (I chose something clever, "Clean") then click "Finish" to add the shortcut to the desktop, you're done.Code:cd C:\windows\system32 %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
Enjoy! :)
Related Tutorials
- Disk Cleanup - Open and Use
- Disk Cleanup - Add or Remove from Drive Properties
- Disk Check
- How to Add Disk Cleanup to Context Menu in Vista, Windows 7, and Windows 8
- How to Add "Extended Disk Cleanup" to Desktop Context Menu in Windows 7 and Windows 8
- How Use the Windows 7 SP1 Disk Cleanup Tool to Recover Lost Disk Space
- How to Free Up and Recover Hard Drive Space in Windows 7