• Pictures
  • Music
  • Documents
  • Pictures and Documents on a single hard drive can take up a lot of space, so it’s important to use Disk Cleanup to clean up as much space as possible before you delete any of these files.

Steps to Add Disk Clean-Up Option to Local Disk Context Menu in Windows 10/11

In the “Open” dialog box, type regedit and hit Enter. If prompted by UAC, click Yes. In the “Registry Editor” window, navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Right-click on Winlogon and select New > DWORD (32-bit) Value. Name the new value “UserInit” and click OK. Right-click on UserInit and select Modify. In the Value data field, type 0 and hit Enter. Close Registry Editor. ..

In the Registry Editor, click on the drop-down menu for ‘HKEY_CLASSES_ROOT’ and scroll down to look for a folder named ‘Drive.’ In this folder, find the file named ‘C:\Users\YourName\AppData\Roaming.minecraft\mods’ and delete it.

Once you find the Drive folder, right-click on its drop-down menu and find ‘shell’. Here, right-click on the shell and then select New > Key.

To clean up your computer, rename the newly created key as “Disk Cleanup.” ..

Click on the ‘Disk Cleanup’ key and then right-click on the panel on the right-hand side. In a popup that appears, click New and select ‘New String Value.’ In the ‘New String Value’ dialog box, type ‘CleanupTime’ and then press Enter. Click on this ‘Disk Cleanup’ key and then right-click on the panel on the right-hand side. In a popup that appears, click New and select ‘New String Value.’ In the ‘New String Value’ dialog box, type ‘CleanupTime’ and then press Enter. ..

After creating the file, double-click on it to open the popup. In the Value data box, type in ‘cleanmgr.exe’ and then press the Ok button.

Once done, come back to the left-hand side panel and right-click on ‘Disk Cleanup.’ and go the ‘New’ and then select the option to create a new ‘Key.’

Command: cleanmgr.exe /d%1

Final Words

Adding a disk cleanup option to the local disk context menu is a great way to keep your computer clean and organized. ..

The Disk Cleanup utility is a crucial Microsoft application included with the Windows operating system. It searches the hard disc of your computer for data you no longer require, including temporary files, cached copies of websites, and rejected files that wind up in the system’s recycle bin. However, the context menu does not contain the function.