When ever you want to use the disk clean up tool, you have to access it either through the start menu or open the properties windows of the drive. But it would be easier if you have the disk clean up tool in the right-click menu for a drive. This video tutorial will teach you how to add the disk clean up tool in the right-click menu of a drive.
Please follow the steps given in the video tutorial and you will be able to get the Disk Clean up tool in the right-click menu for the drive in your Windows 7, Vista or XP.
After installation, you can simply right-click on a drive and choose “Disk Cleanup” from the menu
If you are using Windows Vista, you’ll be asked whether you want to clean up your files or all files…
Manualy configure the Registry script.
Open up regedit through the start menu search or run box, and then browse down to the following key:
Create a new key called “ diskcleanup” and set the default value to “ Disk Cleanup” . Then create another key underneath it called “ command” and set the value to the following:
cleanmgr.exe /d %1
The change should be immediate, just right-click on the drive and you should see the new menu item.
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. I cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.