How to Add Disk Cleanup to the Right-Click Menu of your Drive

Today I will share to you a simple registry hack that will help you to easily access disk cleanup by a simple right click.

Open Regedit by typing “regedit” at the start menu search box then browse down to the following key.

HKEY_CLASSES_ROOT\Drive\shell

Create a new key and name it “diskcleanup” set it’s default value to “Disk Cleanup”.

Create another key under diskcleanup   name it “command” and set the value to the following:

cleanmgr.exe /d %1

The result is instant, just right click and you will immediately see the Disk Cleanup option on your drives.