Skip to main content.
September 23rd, 2013

How to Add Disk Cleanup to the Context Menu

This is just a simple little tip which shows you how to add the Disk Cleanup application to the context menu, so that you may right-click on a drive and click “Disk Cleanup”.

Procedure

1. Click Start, type ‘regedit’ in the search box and press Enter.

Disk-cleanup-regedit

2. Expand the following key:

HKEY_CLASSES_ROOT\Drive\shell

3. Right click ‘shell’ and select ‘New – Key’ from the drop down list.

Disk-cleanup-new-key

4. Name the new key ‘Diskcleanup’.

disk-cleanup-new-key-name

5. Create another new key called ‘Command’ in the right hand pane of ‘diskcleanup’.

6. Double click on the (default) value in the right hand pane and enter in the following:

cleanmgr.exe /d %1

disk-cleanup-command-key-default-value

7. All done! Disk cleanup should now appear in the context menu of any of your drives.

Disk-cleanup-context-menu-success

If you are in need of IT support in Sydney, please get in touch with me.

Share

By JJ Fiasson
Category: Technical

No Comments »