Search This Blog

Saturday, September 6, 2008

Add Disk Cleanup to the Right-Click Menu for a Drive

Over a period of time after using our PC it gathers a lot of junk file of no use in various temp folders. When we want to clean these files we have to go through Start Menu to Disk Clean up or opening up Drive Properties Window. Both are lengthy process. How it would be if we can get it on the Right Click Menu for a drive. A simple registry hack will do the job for you. Backup your registry before making any change.

Click start -> run and type Regedit, press enter. Navigate to the following registry key.

HKEY_CLASSES_ROOT\Drive\shell

Create a new key called "diskcleanup" and set the default value to "Disk Cleanup". Then create another key under it called "command" and set the value to the following.

cleanmgr.exe /d %1

Close registry editor and restart the PC. Now right click on any drive you should see the option.

No comments:

Related Posts Plugin for WordPress, Blogger...
Blogger Tips And Tricks|Latest Tips For Bloggers Free Backlinks