Personalization Add Permanently Delete to Context Menu in Windows 11


  • Staff
x_banner.png

This tutorial will show you how to add Permanently delete to the context menu of files and folders for all users in Windows 10 and Windows 11.

The Recycle Bin provides a safety net when deleting files or folders. When you delete any of these items from a drive, Windows places it in the Recycle Bin and the Recycle Bin icon changes from empty to full.

If you delete a file or folder that's larger than the set maximum storage size of the drive's recycle bin, a This file is too big to recycle. Do you want to permanently delete it? confirmation dialog will always display.

You can manually permanently delete a file without sending it to the Recycle Bin by selecting the file and pressing the Shift + Delete keys.

You can set to always don't move files to the Recycle Bin of a drive when deleted, and permanently delete the files immediately instead.

If wanted, you can add Permanently delete to the context menu of files and folders to make it easier to permanently delete selected items on demand without having to do the above.


While you must be signed in as an administrator to add and remove the Permanently delete context menu, all users can use the context menu.



EXAMPLE: "Permanently delete" context menu and confirmation

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

When you click/tap on Permanently delete, you will be prompted to confirm before the selected item(s) are permanently deleted.



Show_more_options.png
Permanently_delete_context_menu.png

confirm_permanently_delete_dialog-1.png
confirm_permanently_delete_dialog-2.png



Here's How:

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

2 Add Permanently Delete Context Menu

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

Add_Permanently_delete_to_context_menu.reg


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

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Windows.PermanentDelete]
"CommandStateSync"=""
"ExplorerCommandHandler"="{E9571AB2-AD92-4ec6-8924-4E5AD33790F5}"
"Icon"="shell32.dll,-240"
"Position"="Bottom"

3 Remove Permanently Delete Context Menu

This is the default setting.


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

Remove_Permanently_delete_from_context_menu.reg


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

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Windows.PermanentDelete]

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 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • x.png
    x.png
    3.6 KB · Views: 54
  • Add_Permanently_delete_to_context_menu.reg
    416 bytes · Views: 135
  • Remove_Permanently_delete_from_context_menu.reg
    277 bytes · Views: 189
Last edited:
I appreciate all your hard work @Brink doing the tutorials !
 

My Computer

System One

  • OS
    Windows11 23H2 (OS Build 22631.2428)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP ENVY TE01
    CPU
    2.90 gigahertz Intel Core i7-10700
    Motherboard
    Board: HP 8767 A (SMVB)
    Memory
    16214 Megabytes Usable Installed Memor
    Hard Drives
    1511.52 Gigabytes Usable Hard Drive Capacity
    1418.15 Gigabytes Hard Drive Free Space
    Keyboard
    Logitech wireless
    Mouse
    M 185 wireless
    Internet Speed
    12 ms Jitter 8 ms Download 10.5 Mbps Upload 1.7
    Browser
    Edge & FF
    Antivirus
    Windows Defender

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,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium

Latest Support Threads

Back
Top Bottom