How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10

The Disk Cleanup helps in getting rid of these unwanted stuff and clean up the disk space.

If you want to add the Disk Cleanup option to the right click context menu of your disk drives, then this tutorial will help you.




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

1. Press Windows + R keys to open the Run dialog box. Now type regedit and hit Enter key to open the Registry Editor. Click Yes if you are prompted by UAC (User Account Control).

2. Navigate to the following sub key:

Code:

HKEY_CLASSES_ROOT\Drive\shell


How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 DtQjKGI

3.  Right-click on right-pane empty space and select New -> Key . Name the key diskcleanup.

How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 Q8XKjnN

4. You will find a Default value in right-pane. Right-click on it and click on the Modify option.

How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 HpcCnjY

5. In Edit String dialog box, set the value data as Disk Cleanup and press “OK”.

How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 UlHbPny

6. Now, under diskcleanup key create another new key and names it command. Remember, command folder should be created under diskcleanup folder. Set Default value data to cleanmgr.exe /d %1 and click OK button.

How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 4AoAQkX

You can now, right-click on any disk-drive and you can see the Disk Cleanup context-menu option is there for that disk-drive.

How to Add Disk Cleanup to the Right-Click Context Menu for a Drive in Windows 10 W92oIQJ


Did you find this tutorial helpful? Don’t forget to share your views with us.