guidox / PC

Find Out Why Deleted Files Skip the Recycle Bin

TL;DR

Check **Recycle Bin > Properties** per drive, the **$Recycle.Bin** folder on each volume, and the size limit. Network shares and some removable media never use the bin.

Before you start

Requirements

  • Windows 11
  • The drive in question
  • 10 minutes
Step by step

Instructions

01

Read the per-drive setting

Each volume has its own checkbox and its own size limit. A drive set to **Don't move files to the Recycle Bin** deletes permanently even when C: does not.

Get-ChildItem 'C:\$Recycle.Bin','D:\$Recycle.Bin' -Force -ErrorAction SilentlyContinue | Select-Object -First 5 FullName,Length
reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket" /s 2>$null
Get-PSDrive -PSProvider FileSystem | Select-Object Name,Used,Free,Root
02

Check the size limit

A file larger than the drive's maximum is deleted permanently with a warning. The percentage is per volume, so a full drive has a small effective limit.

Get-ChildItem 'C:\$Recycle.Bin' -Force -Recurse -ErrorAction SilentlyContinue | Measure-Object Length -Sum | Select-Object Count,Sum
Get-PSDrive C | Select-Object Used,Free
# Recycle Bin > Properties > select C: > Custom size
03

Rule out the network share

Files on a mapped drive or a UNC path never go to the local bin. There is no local storage for them, which is why deletion there is immediate.

net use
Get-SmbMapping | Select-Object LocalPath,RemotePath,Status
Get-Item '\\server\share' | Select-Object PSDrive,FullName
04

Check the policy that disables it

**NoRecycleFiles** under the Explorer policy key removes the option entirely. A managed device can have it set for every user.

Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -ErrorAction SilentlyContinue | Select-Object NoRecycleFiles
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' -ErrorAction SilentlyContinue | Select-Object NoRecycleFiles
reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket" /v NukeOnDelete 2>$null
05

Test the behaviour on the suspect drive

A file created, deleted and searched for in the bin proves the setting without risking anything. Do it on the drive that misbehaves, not on C:.

New-Item -Path 'D:\bintest.txt' -Value 'test' -Force | Out-Null
Remove-Item 'D:\bintest.txt' -Confirm:$false
Get-ChildItem 'D:\$Recycle.Bin' -Force -Recurse -Filter '*bintest*' -ErrorAction SilentlyContinue | Select-Object FullName,Length
06

Restore or re-enable correctly

The bin restores files to their original path and recreates missing folders. If the original drive is gone, the restore fails and a copy to another location is the workaround.

Start-Process shell:RecycleBinFolder
# select the item > Restore
# or copy it out with
Get-ChildItem 'C:\$Recycle.Bin' -Force -Recurse -ErrorAction SilentlyContinue | Where-Object Name -like '*report*' | Select-Object FullName
Troubleshooting

Common issues

The bin is enabled but files still vanish

The file is larger than the configured limit, or the delete came from a command line that bypasses the bin. Check the size against the drive's setting.

The $Recycle.Bin folder is empty for every user

A cleanup task or Storage Sense empties it on a schedule. Check the Storage Sense settings and any scheduled script.

Restore says the original location is unavailable

The source folder or drive no longer exists. Copy the file out of the bin instead of restoring it.

Shift+Delete was used by accident

That bypasses the bin by design. Only file recovery software or a shadow copy can help after that.

FAQ

Frequently asked

Why is the bin empty but the drive still full?

The bin is per volume and per user. Check the SID subfolder of the account that deleted the files.

Does the bin work on USB sticks?

Only on NTFS. ExFAT and FAT32 have no bin, so a delete there is permanent.

How large should the limit be?

Between 5 and 10 percent of the volume is a reasonable compromise between recoverability and wasted space.

How to undo this

Set the drive back to its original limit in Recycle Bin > Properties, or restore the NoRecycleFiles value you removed. Delete the test file.

Changelog · 1 entry
  1. 2026-11-01
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress