
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.

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.

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.

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

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.

– Article ends here –