How To Add Disk Cleanup To A Drive Context Menu In Windows 10

Disk Cleanup is a tool that allows you to free up space on your computer by getting rid of unnecessary files. However, it can be a hassle to open the tool every time you want to use it. In this tutorial, we’ll show you how to add Disk Cleanup to a drive context menu in Windows 10 for easy access.

Step 1: Open Registry Editor

Press the Windows key + R to open the Run dialog box. Type “regedit” and hit Enter to launch the Registry Editor.

Step 2: Navigate to the Context Menu Key

In the Registry Editor, navigate to the following key: HKEY_CLASSES_ROOT\Drive\shell

Step 3: Create a New Key

Right-click on the “shell” key and select New > Key. Name the new key “Disk Cleanup.”

Step 4: Create a New Key for Command

Right-click on the “Disk Cleanup” key and select New > Key. Name the new key “command.”

Step 5: Modify the Default Value

Select the “command” key, and then double-click on the (Default) value in the right pane. In the “Edit String” dialog box, type the following command: %SystemRoot%\System32\cleanmgr.exe /d %1

Step 6: Add an Icon (Optional)

Right-click on the “Disk Cleanup” key and select New > String Value. Name the new value “Icon.” Double-click on the “Icon” value and enter the following path: %SystemRoot%\system32\imageres.dll,-72

Step 7: Test the Context Menu

Close the Registry Editor and open File Explorer. Right-click on any drive, and you should see “Disk Cleanup” in the context menu. Click on it to open Disk Cleanup.

FAQs

  • Can I remove Disk Cleanup from the context menu?

    Yes. Simply go back to the Registry Editor, navigate to the “Disk Cleanup” key, and delete it.

  • Will adding Disk Cleanup to the context menu affect my computer’s performance?

    No. Adding Disk Cleanup to the context menu will not affect your computer’s performance.

  • Can I add other tools to the context menu?

    Yes. You can follow the same steps to add other tools to the context menu.

  • Is it safe to modify the registry?

    Yes, as long as you follow the instructions carefully. However, it’s always a good idea to back up the registry before making any changes.

  • What if I don’t see the “Disk Cleanup” option in the context menu?

    Double-check that you followed all the steps correctly. If you still don’t see the option, try restarting your computer.

Adding Disk Cleanup to the context menu is a simple way to free up space on your computer without having to go through multiple steps. By following these steps, you can easily access Disk Cleanup whenever you need it.

Leave a Comment