Taking Out Trash: OneDrive From Your PC's File Explorer

Taking Out Trash: OneDrive From Your PC's File Explorer

David Lv11

Taking Out Trash: OneDrive From Your PC’s File Explorer

The OneDrive cloud storage client comes pre-installed on your Windows 11 computer. By default, you’ll notice a OneDrive shortcut in the left pane of File Explorer, allowing quick access to your OneDrive files and folders.

However, if you find the shortcut cluttering or ruining your File Explorer experience, you can remove it using a registry hack. Here’s how to remove the OneDrive icon from File Explorer without uninstalling OneDrive.

How to Remove OneDrive Shortcut From File Explorer via the Registry Editor

You can remove the OneDrive icon from File Explorer using a registry hack. This way, you can get rid of the icon in File Explorer without uninstalling the OneDrive client. If you would rather remove the app entirely, follow our guide onremoving OneDrive on Windows 11 .

Note that modifying the Windows registry involves risk. We recommend youcreate a system restore point on Windows before you proceed with the steps below. A restore point will help you restore your computer in case something goes wrong.

Once done, follow these steps to remove the OneDrive shortcut from File Explorer:

  1. PressWin + R to openRun .
  2. Typeregedit and clickOK to open Registry Editor. ClickYes if prompted byUser Account Control (UAC).
  3. Next, in the Registry Editor, navigate to the following location. Copy and paste the registry path in the editor for quicker navigation:
    HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  4. In the right pane, right-click onSystem.IsPinnedToNameSpaceTree DWORD value and selectModify .
    remove onedrive icon windows 11 registry editor modify system is pinned to name space free
  5. In theValue data field, type0 and clickOK .
    remove onedrive icon windows 11 registry editor
  6. Next, navigate to the following location in Registry Editor:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
  7. In the left pane, right-click on**{018D5C66-4533-4307-9B53-224DE2ED1FE6}** and selectDelete to remove the entry.
    remove onedrive icon windows 11 registry editor delete key under name space
  8. Once done, close the Registry Editor.
  9. When you open File Explorer, the OneDrive icon will not be visible anymore.

How to Show the OneDrive Icon Again in File Explorer

show onedrive icon windows 11 registry editor delete key under name space

To show the OneDrive icon in File Explorer, you’ll need to modify a registry entry again. Here’s how to do it.

  1. PressWin + R to openRegistry Editor.
  2. Next, navigate to the following location:
    HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  3. In the right pane, double-click onSystem.IsPinnedToNameSpaceTree DWORD value.
  4. Next, type1 in theValue data f ield and clickOK to save the changes.
  5. Relaunch File Explorer to see the changes.

Remove OneDrive Icon Without Uninstalling OneDrive

This registry hack is a handy way to make the OneDrive icon disappear without deleting the app entirely from your PC. Alternatively, if you don’t use the service, you can completely remove OneDrive on Windows 11 or disable the service using Group Policy Editor.

Also read:

  • Title: Taking Out Trash: OneDrive From Your PC's File Explorer
  • Author: David
  • Created at : 2024-06-25 11:39:17
  • Updated at : 2024-06-26 11:39:17
  • Link: https://win11.techidaily.com/taking-out-trash-onedrive-from-your-pcs-file-explorer/
  • License: This work is licensed under CC BY-NC-SA 4.0.