System Add Disk Cleanup to Context Menu of Drives in Windows 11


Disk_Cleanup_banner.png

This tutorial will show you how to add Cleanup to the context menu of drives for all users in Windows 10 and Windows 11.

You can use Disk Cleanup on a regular basis to reduce the number of unnecessary files on your drives, which can free up drive space and help your PC run better. It can delete temporary files and system files, empty the Recycle Bin, and remove a variety of other items that you might no longer need.

You can add Cleanup to the context menu of drives that will open Disk Cleanup to reduce the number of unnecessary files on the selected disk to free up disk space.


While you must be signed in as an administrator to add or remove the Cleanup context menu, all users will be able to use the context menu.



EXAMPLE: Disk Cleanup context menu

You will need to click/tap on Show more options first by default, then click/tap on Cleanup.


Show_more_options.png
Cleanup_context_menu.png
Disk_Cleanup.png



Here's How:

1 Do step 2 (add) or step 3 (remove) below for what you would like to do.

2 Add "Cleanup" to Context Menu od Drives

A) Click/tap on the Download button below to download the .reg file below, and go to step 4 below.​

Add_Disk_Cleanup_to_context_menu_of_drives.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\Windows.CleanUp]
"CommandStateSync"=""
"ExplorerCommandHandler"="{9cca66bb-9c78-4e59-a76f-a5e9990b8aa0}"
"Icon"="%SystemRoot%\\System32\\cleanmgr.exe,-104"
"ImpliedSelectionModel"=dword:00000001

3 Remove "Cleanup" from Context Menu of Drives

This is the default setting.


A) Click/tap on the Download button below to download the .reg file below, and go to step 4 below.​

Remove_Disk_Cleanup_from_context_menu_of_drives.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Drive\shell\Windows.CleanUp]

4 Save the .reg file to your Desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 When finished, you can delete the downloaded .reg file if you like.


That's it,
Shawn Brink


Related Tutorials

 

Attachments

Last edited:
I wonder why they removed this option from where it used to be... This is a nice way to get it back. I wonder if it's also possible to have an entry for Check Disk. :unsure:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-10600K
    Motherboard
    Gigabyte Aorus Z490 Elite AC
    Memory
    32 GB (G.Skill Ripjaws V F4-3600C16D-32GVKC)
    Graphics Card(s)
    MSI GeForce RTX 3070 Gaming Z Trio
    Monitor(s) Displays
    LG UltraGear 32GR93U
    Screen Resolution
    4K
    Hard Drives
    Lexar NM790 2TB; Lexar NM790 2TB; Seagate Barracuda Compute 8TB
    PSU
    be quiet! Straight Power 11 750W
    Case
    be quiet! Silent Base 801
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    CPU
    Intel Core i5-1155G7
    Memory
    8 GB
    Graphics card(s)
    Intel Iris Xᵉ
    Screen Resolution
    1920 x 1080
I wonder why they removed this option from where it used to be... This is a nice way to get it back. I wonder if it's also possible to have an entry for Check Disk. :unsure:
Iti s there - You just click on drive in file explorer, select three dots ..., cleanup

 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Interesting, never clicked the three dots. If only there were an option to just show the icons and get rid of the three dots. Customization is not a priority it seems for MS.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-10600K
    Motherboard
    Gigabyte Aorus Z490 Elite AC
    Memory
    32 GB (G.Skill Ripjaws V F4-3600C16D-32GVKC)
    Graphics Card(s)
    MSI GeForce RTX 3070 Gaming Z Trio
    Monitor(s) Displays
    LG UltraGear 32GR93U
    Screen Resolution
    4K
    Hard Drives
    Lexar NM790 2TB; Lexar NM790 2TB; Seagate Barracuda Compute 8TB
    PSU
    be quiet! Straight Power 11 750W
    Case
    be quiet! Silent Base 801
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    CPU
    Intel Core i5-1155G7
    Memory
    8 GB
    Graphics card(s)
    Intel Iris Xᵉ
    Screen Resolution
    1920 x 1080
Brink, you are a king!
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations x64 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 5820 XL Tower
    CPU
    Intel Xeon W-2195 18c 36t 2,3 - 4,3GHz
    Motherboard
    Dell 0TVW7J
    Memory
    8x32GB (256GB) DDR4 ECC registered Samsung 2400MHz CL17
    Graphics Card(s)
    Manli Gallardo RTX 3080 Ti
    Sound Card
    Integrated with Technics SU-VZ320, Jamo Cornet 145, Yamaha YST-SW80
    Monitor(s) Displays
    Kingston HyperX Armada 25 240Hz
    Screen Resolution
    1920x1080
    Hard Drives
    SK Hynix SC401 SSD 1TB(OS), Seagate Skyhawk Survelliance 6TB, Seagate 2TB, Toshiba 1TB, LiteOn LCS256M6S 2.5 7mm SSD 256GB
    PSU
    Delta Electronics H950EF-00 950W
    Case
    Dell Precision 5820 XL Tower
    Cooling
    Air
    Keyboard
    Asus ROG Claymore II
    Mouse
    Asus ROG Chakram
    Internet Speed
    5Mb/s DL 0,5Mb/s UL
    Browser
    Chrome
    Antivirus
    Kaspersky Premium 2025

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom