You can enable the Recycle Bin for removable drivers on Windows for having an extra protection from accidental removal of files. By default, Windows doesn't create the Recycle Bin area for USB sticks and other removable media, but you can easily change that.
The Recycle Bin is a special system folder the you can access by clicking the Desktop icon if it is not hidden. It is a virtual folder that represents several physical hidden folders on each of the internal drives and partitions. Once you delete a file or folder, it goes to the appropriate physical folder on the drive that contained the deleted item.
When you open the Recycle Bin folder, it displays everything you have deleted in a single view. You can re-arrange the entries by date, name, the original location, etc. But the main purpose of Recycle Bin is to provide you the ability to quickly restore removed files. This becomes gold if you have accidentally removed some important document or folder.
To make the Recycle Bin available to all drives, including removable USB drives, you need to make a small change in Windows Registry. There is a key responsible for the list of disks that must have a hidden system folder "Recycle Bin".
Enable Recycle Bin for Removable Drives
To enable the Recycle Bin for removable drives, do the following.
- Press the Win + R shortcut, and type regedit in the Run dialog box.
- Open the following key:
- In the right pane, right-click the empty space and select New > DWORD (32-bit) Value and name the new value RecycleBinDrives.
- Finally, double-click it and set the RecycleBinDrives value data to ffffffff in hexadecimal.
- Restart Windows 11 to apply the change.
You are done!
From now Windows will create a hidden system folder $RECYCLE.BIN on flash drives you connect to your device.
It will store the files you deleted from the flash drive. Note that to see it in File Explorer, you must make it show both hidden and system protected files.
Its functionality won't be different from regular drives. It will follow the settings you set for the Recycle Bin, including the total size of the Recycle Bin for a drive. You can restore files from the recycle bin on a flash drive using the File Explorer app, in the familiar way.
If you open the properties of the Recycle bin through the icon on the desktop, you can choose its maximum size for any of the connected flash drives.
Finally, to undo the change, simply remove the RecycleBinDrives value reviewed above.
For users who are not convenient with Registry editing, I have prepared a couple of Registry files.
Download Registry files
Click here to download the ZIP archive with two REG files, and extract them to any folder of your choice.
Enable Recycle Bin for Removable Drives.reg file to enable the functionality for flash disk.
Disable Recycle Bin for Removable Drives.reg tweak will restore defaults and undo the change.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!