How Do You Add Recycle Bin to This PC in Windows 11?
Adding the Recycle Bin to This PC in Windows 11 puts your deleted files inside File Explorer , next to your drives such as 📁C:\
The change is a small Registry Editor edit that takes about five minutes. The Registry is the database where Windows stores core settings. The Registry Editor is included in both Windows 11 Home and Pro, so these steps work on either edition.
Before you start, back up the registry so you can undo a mistake:
- Open the Registry Editor (the steps below show how).
- Click File, then click Export.
- Set Export range to All, choose a folder, give the file a name and click Save.
If something goes wrong later, double-click the exported file to merge it back into the registry.
Open the Registry Editor by pressing Win+R, typing regedit, and pressing Enter. Navigate to 🗝️HKEY_CURRENT_USER\
How to add the Recycle Bin to “This PC” for your personal user account
This method adds the Recycle Bin to This PC for your own account only. Other people who share the computer will not see any change. You make a new key under your personal user settings in the Registry Editor, a tool for changing advanced system settings.
- Open the Run box. Press the Win and
Rat the same time. A small box appears in the bottom-left corner of the screen. - Launch the Registry Editor. Type
regeditinto the Open field and press Enter. Windows may ask for permission in a User Account Control prompt. Click Yes. The Registry Editor window opens, with a folder tree on the left and values on the right. - Go to the correct key. Click the address bar at the top of the Registry Editor window and delete whatever is in it. Paste this path and press Enter:The left pane should jump to the last key in that path and highlight it.Registry
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
MyComputer or NameSpace folders at the end of that path, you need to create them.Registry Editor may stop at the last key that does exist. Right-click the Explorer folder in the left pane, select New, click Key, and name it MyComputer. Then right-click your new MyComputer folder, create another new key with New Key, and name it NameSpace. Select that last key before you go on.
- Create the Recycle Bin key. Right-click the key you have selected in the left pane and choose New, then Key. A new folder appears with its name highlighted for editing. Paste this exact text as the name and press Enter:The new key should now show up under the parent key in the left pane.Code
{645FF040-5081-101B-9F08-00AA002F954E}
This long string is a Class ID (CLSID). It is the identifier Windows uses to recognize the Recycle Bin. If you mistype even one character, nothing will happen, so paste it rather than typing it.
- Restart File Explorer to see the change. Close the Registry Editor. Press Ctrl + Shift + Esc to open Task Manager, find Windows Explorer in the list, right-click it and select Restart. Your taskbar and desktop flash briefly. Then open This PC in File Explorer and the Recycle Bin should be listed there. If it is not, sign out and back in, or restart the PC.
How to add the Recycle Bin to "This PC" for every user on the computer
This method makes the Recycle Bin appear in This PC for every account that signs in to the computer. You add the key to the machine-wide settings, so you need administrator rights.
- Open the Registry Editor with administrative rights (Requires Admin Privileges). Press Win + R, type
regeditin the box and press Enter. Click Yes on the security prompt. If you are signed in with a standard account, Windows asks for an administrator password instead. - Go to the system-wide key. Clear the address bar at the top of the window, paste this path and press Enter:The left pane should highlight the last key in the path.Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
This differs from the personal path in the previous section, which only affects your account.
- Add the Recycle Bin key. Right-click the key you have selected in the left pane. Choose New, then Key, and name the new key with the Recycle Bin code. Press Enter to confirm:The new key should appear under the selected key.Code
{645FF040-5081-101B-9F08-00AA002F954E} - Refresh the interface. Close the Registry Editor, then either restart the PC or restart Windows Explorer from Task Manager (right-click it, then Restart). Anyone who signs in will now see the Recycle Bin in This PC. A user who was already signed in may need to sign out and back in first.
How to remove the Recycle Bin from "This PC" if you change your mind
If you no longer want the Recycle Bin in File Explorer, delete the key you created. Nothing else on the system is affected, and the Recycle Bin itself and your deleted files stay where they are. Only the shortcut in This PC goes away.
- Open the Registry Editor. Press Win + R, type
regeditand press Enter. Click Yes if Windows asks for permission. - Go to the key you made. To remove it for yourself only, go back to
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace. To remove it for everyone, use theHKEY_LOCAL_MACHINEpath instead (Admin privileges required for HKEY_LOCAL_MACHINE). If you added the key in both places, repeat these steps for each one. - Delete the Recycle Bin key. In the folder tree on the left, look under NameSpace and find the sub-folder named
{645FF040-5081-101B-9F08-00AA002F954E}. Right-click it and select Delete. Windows asks you to confirm. Click Yes. The key disappears from the tree. - Apply the removal. Close the Registry Editor and restart Windows Explorer from Task Manager. The shortcut should be gone from This PC, leaving only your drives and folders. If it is still there, sign out and back in.
How to automate the process using PowerShell scripts
PowerShell is a command-line tool for running system tasks. You can use it to add the shortcut with one command instead of clicking through the Registry Editor. The command below adds the key for all users, so PowerShell must run as administrator.
- Open PowerShell as an administrator (Requires Admin Privileges). Click the Start button and type
powershell. Right-click Windows PowerShell in the results and choose Run as administrator. Click Yes on the prompt. A blue window opens, and its title bar should say Administrator. - Add the Recycle Bin. To add the icon to This PC for all users on the computer, copy this exact command into the PowerShell window and press Enter:If the command works, PowerShell usually returns to a new prompt, or prints details of the key it created. A red error message means the command did not run, and the most common cause is a window that is not elevated.Code
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}" -Force - Refresh File Explorer. In the same PowerShell window, run this command to restart File Explorer so the change shows up right away:The taskbar and desktop flash for a moment while Explorer reloads. Then open This PC and check for the Recycle Bin.Code
Stop-Process -Name explorer -Force - Remove it later if needed. To take the Recycle Bin back out with PowerShell, run this command in an administrator window and then restart File Explorer again:
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}" -Force
Summary
Adding the Recycle Bin to This PC gives you quick access to deleted files straight from File Explorer. It also lets you remove the desktop icon if you want a cleaner desktop. You can add it for your own account or for every user by editing the registry by hand or by running a single PowerShell command. To undo it, delete the key you created and restart File Explorer.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!