How Do You Add Recycle Bin to This PC in Windows 11?
Adding the Recycle Bin to the “This PC” screen in Windows 11 puts your deleted files right next to your hard drives and folders so you do not have to hunt for them on a messy desktop. This quick shortcut places the trash folder inside the main file directory view alongside the standard C:\ drive.
You can make this change in about five minutes by editing the Windows Registry, a built-in database that stores core system settings. Follow the steps carefully and back up your files first to keep your PC safe.
Open the Windows Registry Editor using the Run command, go to 🗝️HKEY_CURRENT_USER\
How to add the Recycle Bin to “This PC” for your personal user account
Adding the Recycle Bin to This PC for your personal user account only requires editing your own Registry files without affecting other people who share your computer. You can do this by opening the Run box, launching the Registry Editor, and creating a new key inside 🗝️HKEY_CURRENT_USER so the shortcut appears only under your specific Windows 11 user profile.
- Open the Run command box. Press the Win and the letter
Ron your keyboard at the same time. A small box will pop up in the bottom left corner of your screen. - Launch the Registry Editor. Type
regeditinto the search box and hit Enter on your keyboard. Your screen might flash or ask for permission from Windows Security—go ahead and click Yes to let the app make changes. - Navigate to the correct folder path. Look at the top address bar in the Registry Editor window. Delete whatever is currently sitting in that bar, paste this exact path into it, and press Enter:Registry
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
MyComputer or NameSpace folders at the end of that path, you will need to create them. Right-click on the Explorer folder, select New, click Key, and name it MyComputer. Then right-click your new MyComputer folder, create another new Key, and name it NameSpace.- Create the special Recycle Bin key. Right-click any empty blank space on the right-hand side of your screen. Hover over New, select Key, and paste this exact text as the name of the new folder:Code
{645FF040-5081-101B-9F08-00AA002F954E}
This long string of letters and numbers is a special system code (known as a Class ID or CLSID) that Windows uses specifically to recognize the Recycle Bin .
- Restart your file browser to see the magic. Close out of the Registry Editor window. To make your changes show up right away, press Ctrl+Shift+Esc to open the Task Manager , find Windows Explorer in the list, right-click it, and select Restart. Open “This PC” in your file browser, and your Recycle Bin will be sitting right there waiting for you.
How to add the Recycle Bin to “This PC” for every user on the computer
Adding the Recycle Bin to This PC for every user on the computer requires making a system-wide change so the shortcut appears for all profiles. You can accomplish this by opening the Registry Editor with administrator rights and adding the correct folder GUID key to the 🗝️HKEY_LOCAL_MACHINE path, which updates the File Explorer layout for everyone who logs in.
- Open the Registry Editor with administrative rights (Requires Admin Privileges). Press Win + R on your keyboard, type
regeditinto the box, and press Enter. Click Yes on the security prompt. - Navigate to the system-wide folder path. Clear out the address bar at the top of the window, paste this path into it, and press Enter:Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
- Add the Recycle Bin code key. Right-click on any empty area in the right-pane window. Choose New, click Key, and name the new key using the special Recycle Bin code:Code
{645FF040-5081-101B-9F08-00AA002F954E} - Refresh your computer interface. Close your Registry window and restart your PC, or restart Windows Explorer using Task Manager. Anyone who logs onto this machine will now see the Recycle Bin neatly organized inside "This PC".
How to remove the Recycle Bin from "This PC" if you change your mind
Removing the Recycle Bin from This PC is a simple process you can do at any time if you change your mind about the layout. You just need to open the Registry Editor, locate the custom folder key you created earlier inside HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace or the HKEY_LOCAL_MACHINE equivalent, and delete it to restore the default view.
- Open the Registry Editor. Press Win + R, type
regedit, and hit Enter. - Locate your custom key. If you want to remove it just for yourself, head back to
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace. If you want to remove it for everyone, use theHKEY_LOCAL_MACHINEpath instead (Admin privileges required for HKEY_LOCAL_MACHINE). - Delete the Recycle Bin key. Look at the folder tree on the left side under NameSpace. Find the sub-folder named
{645FF040-5081-101B-9F08-00AA002F954E}, right-click it, and select Delete. Confirm that you want to permanently delete the key. - Apply the removal. Close the editor window and restart Windows Explorer. The shortcut will instantly vanish from your "This PC" window, leaving your drives flying solo once again.
How to automate the process using PowerShell scripts
Automating the process of adding the Recycle Bin to This PC using PowerShell scripts lets you apply the Registry tweaks instantly without clicking through menus. You can run an administrative PowerShell window and execute a short command to create the necessary registry keys automatically, which is especially helpful if you need to set up multiple Windows 11 computers.
- Open PowerShell as an administrator (Requires Admin Privileges). Click your Windows Start button, type
powershell, right-click Windows PowerShell in the search results, and choose "Run as administrator". - Run the command to add the Recycle Bin. To instantly add the Recycle Bin icon to "This PC" for all users across the workstation, copy and paste this exact command into the PowerShell window and press Enter:Code
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}" -Force - Refresh your desktop environment. Run this quick command in the same PowerShell window to restart your file explorer and lock in the changes right away:Code
Stop-Process -Name explorer -Force - Run the command to remove it later if needed. If you ever want to strip the Recycle Bin back out using PowerShell, run this command instead:
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 in Windows 11 cleans up your desktop and gives you quick access to deleted files from inside File Explorer. You can easily set this up for just your own user account or for every user on a shared computer by editing the Windows Registry manually or running a quick command in PowerShell.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!