Personalization Add Permanently Delete to Context Menu in Windows 11


  • Staff
x_banner.png

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.

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.


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: 10
  • Add_Permanently_delete_to_context_menu.reg
    416 bytes · Views: 20
  • Remove_Permanently_delete_from_context_menu.reg
    277 bytes · Views: 30
Last edited:

flashh4

Well-known member
Member
VIP
Local time
3:38 AM
Posts
524
Visit site
OS
Windows11
I appreciate all your hard work @Brink doing the tutorials !
 

My Computer

System One

  • OS
    Windows11
    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

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
4:38 AM
Posts
7,424
Visit site
OS
Windows 11 Pro for Workstations

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
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    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,
    1TB Samsung 980 PRO M.2,
    6TB WD Black WD6001FZWX
    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,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Latest Support Threads

Top Bottom