General Enable or Disable Permanently Delete instead of Recycle Bin in Windows 11


Recycle_Bin_empty_banner.png

This tutorial will show you how to enable or disable Don't move files to the Recycle Bin. Remove files immediately when deleted for your account or 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 have multiple hard drives, partitions, or an external hard drive connected to your PC, each drive will have its own hidden $Recycle.Bin system folder and Recycle Bin settings.

Removable drives, such as USB flash drives and memory cards, do not have a Recycle Bin by default. Files deleted from removable drives are permanently deleted since they do not go to the Recycle Bin. You can enable the Recycle Bin for removable drives to have deleted files from them go to the Recycle Bin instead.

Each user account on the PC will have their own separate Recycle Bin, and will be referenced by their Security Identifier (SID) in each drive's hidden $Recycle.Bin system folder.

By default, a delete confirmation dialog does not display when you delete a file or folder to the Recycle Bin.

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.

If wanted, 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.



Contents

  • Option One: Turn On or Off "Do not move deleted files to the Recycle Bin" for Specific Drive(s) for Current User in Recycle Bin Properties
  • Option Two: Turn On or Off "Do not move deleted files to the Recycle Bin" for Specific Drive(s) for Current User in Registry Editor
  • Option Three: Enable or Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users in Local Group Policy Editor
  • Option Four: Enable or Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users using REG file


EXAMPLE: Recycle Bin permanently delete confirmation dialog

permanently_delete_confirmation_dialog.png





Option One

Turn On or Off "Do not move deleted files to the Recycle Bin" for Specific Drive(s) for Current User in Recycle Bin Properties


1 Right click on the Recycle Bin desktop icon, and click/tap on Properties. (see screenshot below)

Recyle_Bin_properties-1.png

2 Select a drive Recycle Bin Location you want to change. (see screenshot below)

3 Select (dot) Don't move files to the Recycle Bin. Remove files immediately when deleted.

Selecting Custom size (default) will deselect (turn off) Don't move files to the Recycle Bin. Remove files immediately when deleted.


4 Click/tap on OK.

Recyle_Bin_properties-2.png





Option Two

Turn On or Off "Do not move deleted files to the Recycle Bin" for Specific Drive(s) for Current User in Registry Editor


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below step 3)

GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, DeviceID

3 Make note of the volume GUID (ex: "{1f5e756b-e2d5-456c-b092-bbbba1ff43ba}") from the DeviceID output for the DriveLetter (ex: "C") you want. (see screenshot below)

drive_volume_GUID_command.webp

4 Open Registry Editor (regedit.exe).

5 Navigate to the key below in the left pane of Registry Editor. (see screenshot below step 6)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume\<Volume GUID>

Substitute <Volume GUID> in the path above with the actual volume GUID (ex: "{1f5e756b-e2d5-456c-b092-bbbba1ff43ba}") from step 3.


6 In the right pane of the <Volume GUID> key, double click/tap on the NukeOnDelete DWORD value to modify it. (see screenshot below)

Do_not_move_deleted_files_to_Recycle_Bin_regedit-1.webp

7 Type 0 (off - default) or 1 (on) for what you want for this drive letter, and click/tap on OK. (see screenshot below)

Do_not_move_deleted_files_to_Recycle_Bin_regedit-2.webp

8 You can now close Windows Terminal and Registry Editor when finished.




Option Three

Enable or Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users in Local Group Policy Editor


You must be signed in as an administrator to use this option.

The Local Group Policy Editor is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Four to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below step 3)

User Configuration > Administrative Templates > Windows Components > File Explorer

3 In the right pane of File Explorer in the Local Group Policy Editor, double click/tap on the Do not move deleted files to the Recycle Bin policy to edit it. (see screenshot above)

Do_not_move_deleted_files_to_Recycle_Bin_gpedit-1.webp

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable "Do not move deleted files to the Recycle Bin" for All Drives and All Users

This will prevent using Option One and Option Two.


A) Select (dot) Enabled. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Do_not_move_deleted_files_to_Recycle_Bin_gpedit-3.webp

6 Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users

This is the default setting to allow using Option One and Option Two.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Do_not_move_deleted_files_to_Recycle_Bin_gpedit-2.webp

7 You can now close the Local Group Policy Editor if you like.




Option Four

Enable or Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users using REG file


You must be signed in as an administrator to use this option.


1 Do step 2 (enable) or step 3 (disable) below for what you want.

2 Enable "Do not move deleted files to the Recycle Bin" for All Drives and All Users

This will prevent using Option One and Option Two.


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

Enable_Do_not_move_deleted_files_to_Recycle_Bin_for_all_drives_and_users.reg


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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=dword:00000001

3 Disable "Do not move deleted files to the Recycle Bin" for All Drives and All Users

This is the default setting to allow using Option One and Option Two.


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

Disable_Do_not_move_deleted_files_to_Recycle_Bin_for_all_drives_and_users.reg


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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=-

4 Save the .reg file to your desktop.

5 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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

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

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Does this approach permanently delete all the pointers to the files as well?
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Asus
Does this approach permanently delete all the pointers to the files as well?

Hello, and welcome. :alien:

If you meant shortcuts to the file, then no. It'll only delete the specific file from the location you deleted it from.

Instead of the file being moved to the Recycle Bin to be permanently deleted whenever you empty the Recycle Bin, it doesn't get moved to the Recycle Bin and gets permanently deleted immediately.
 

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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    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
    Microsoft Defender
Hi.

# GPO

The GPO method is missing:
user configuration > administrative template > windows components > file explorer > do not move deleted files to the Recycle Bin

Enable (i.e. Disable Recycle Bin).
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=dword:00000001

Not configured (default).
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=-


# Registry

The setting is controlled by the following registry entry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume\<Volume_GUID>\NukeOnDelete

<Volume_GUID> is the unique identifier for a given volume.
Registry file doesn't expand wildcard character, so you must use Powershell (or else) if you want to automate this setting.

Disable Recycle Bin for all existing/connected volumes.
Powershell:
Set-ItemProperty -Path 'Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume\*' -Name 'NukeOnDelete' -Type 'DWord' -Value '1'

Disable Recycle Bin for a specific volume (e.g. C:).
Powershell:
$DriveGUID = (Get-Volume -DriveLetter 'C').UniqueId -replace '.*({.*}).*', '$1'
Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume\$DriveGUID" -Name 'NukeOnDelete' -Type 'DWord' -Value '1'

-replace '.*({.*}).*', '$1' will transform \\?\Volume{3612d8b3-b3cb-3b4c-9e56-423753b7ac9f}\ to {3612d8b3-b3cb-3b4c-9e56-423753b7ac9f}.

To enable the Recycle Bin, replace the value by 0 (i.e. -Value '0').
 

My Computer

System One

  • OS
    .
I simply hold down the Shift key if I really want to delete a file or files permanently. That way if I accidentally hit the delete key, they go to the recycle bin and I can still get them back. If I know I don't want them back, I can do that painlessly.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 25H2, Build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 NVMe PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    Seagate 4TB Ironwolf, rotating HDD archive files
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Defender Security
  • Operating System
    Win 11 Pro 25H2, Build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Defender Security
Thank you @agadiffe :shawn:

Tutorial updated to add options 2, 3, and 4 for this.
 

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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    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
    Microsoft 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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    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
    Microsoft Defender
Back
Top Bottom