How to Add ‘Disc Cleanup’ utility shortcut into Context Menu

The Disc Cleanup is one of the computer maintenance utility included in Microsoft Windows. The cleanmgr.exe is the one who performs the disk cleanup that frees up disk spaces on the hard disk drive. The utility is responsible for cleaning up files that are no longer needed such as temporary windows files, temporary internet files, downloaded program files, recycle bin, cached web pages, compressed old files and more.



As you have already been aware that disc cleanup utility can be invoked from the drive property window. In the My Computer screen, right click on any disk drive -> Click on the Properties context menu -> Click on the ‘Disk Cleanup’ button that is found in the General Tab and this will start the Disk Cleanup utility.

Add 'Disc Cleanup' utility shortcut into Context Menu

There is another way where you invoke Disk Cleanup utility through explorer Context Menu. Currently, you can see that the context menu does not contain the “Disk Cleanup” menu option.

Add 'Disc Cleanup' utility shortcut into Context Menu

How to Add ‘Disc Cleanup’ utility shortcut into Context Menu?


To bring up the Disk Cleanup” into explorer context menu, you would need to make some registry changes. Please follow the below steps.


1
Open windows Registry Editor


2
On the Registry Editor screen, navigate to following registry folder

HKEY_CLASSES_ROOT\Drive\shell



3
Under Shell, create new sub registry Key custom-diskcleanup and set the value as Disk Cleanup.

Add 'Disc Cleanup' utility shortcut into Context Menu


4
Under custom-diskcleanup key, create one more new sub registry key command and set the value as cleanmgr.exe /d %1

Add 'Disc Cleanup' utility shortcut into Context Menu


5
Now, open the My Computer or Windows Explorer window and right click on any drive. You can see that the Disk Cleanup menu option is created and loaded in the context menu.

Add 'Disc Cleanup' utility shortcut into Context Menu





– Article ends here –

If you have any questions, please feel free to share your questions or comments on the comment box below.

Share this:
We will be happy to hear your thoughts

      Leave a reply

      www.troubleshootyourself.com
      Logo