How to Remove OneDrive Shortcut From File Explorer in 2024

Key Takeaways: Remove OneDrive From File Explorer – Step-by-step Guide
  1. Press the Windows key and “R” key to open the “run” box to edit the registry.
  2. Type “regedit” into the run box and press “OK”.
  3. Go to the entry “{018D5C66-4533-4307-9B53-224DE2ED1FE6}”.
  4. Double-click on the file “System.IsPinnedToNameSpaceTree”.
  5. Change the “value data” to the number zero and click “OK”.
  6. Close the registry window.
  7. Open File Explorer to make sure these steps have worked.

Facts and Expert Analysis: Using the Windows Registry to Remove OneDrive from File Explorer

  • If you wish to simply remove OneDrive from your File Explorer on Windows 10 and Windows 11 without disabling it completely, the best way to do this is to edit the Windows Registry.
  • Editing the Windows registry can sometimes be complicated, so you should always back up your registry. Having a backup of the registry will enable you to restore it and prevent any damage to your Windows installation.
  • Make sure you follow the steps from our step-by-step guide to ensure you successfully remove OneDrive from your File Explorer.

When you first use a Windows 10 or Windows 11 device, you’ll find OneDrive is already installed and has added itself to your system’s File Explorer, which makes the service incredibly easy to use. However, if you find that having the program in File Explorer is unnecessary — then you might want to remove Microsoft OneDrive from File Explorer.

Aside from losing the quick access to your OneDrive folder, there is no major downside to removing it from the File Explorer. You will still retain all of the benefits that OneDrive normally provides, including backing up your local storage or the quick menu available by clicking the OneDrive icon in the system tray. 

However, if you want to completely disable OneDrive because you are having problems using it or you just don’t want to use this service anymore, make sure to check out our guide on how to disable OneDrive to get rid of the entire app from your Windows-powered device. Although the constant syncs may be annoying, we do find that OneDrive has a plethora of neat features that, if harnessed properly, can give you the best cloud storage experience. So, if you’re still on the fence about OneDrive, make sure to read our OneDrive review as well as our articles about what OneDrive is and how you can fix OneDrive sync issues before you continue with this guide.

This post provides a step-by-step guide with images to help you remove the OneDrive app from File Explorer, so let’s dig in.

Meet the experts

Learn more about our editorial team and our research process.

How to Remove OneDrive Shortcut From File Explorer – Edit the Windows Registry

To remove the OneDrive shortcut from the File Explorer without disabling OneDrive completely, you’ll have to edit the Windows registry. Because this can damage your Windows 10 or Windows 11 installation, you should follow Microsoft’s guide to backing up the registry so you can restore it if there’s an issue. Below, we will show you the steps for removing OneDrive from File Explorer on Windows 10, but the same steps can be used on Windows 11.

  1. Open the Registry Editor

    To start, you’ll need to open the registry editor. The easiest way to do this in Windows 10 is to open the “run” command box by pressing the Windows key and “R” key, then type ”regedit” and click “OK.”

  2. Find a Folder titled “CLSID”

    Within “HKEY_CLASSES_ROOT,” you will find a folder titled “CLSID.” Click that too.

  3. Find the Necessary Registry Entry

    Find the registry entry titled “{018D5C66-4533-4307-9B53-224DE2ED1FE6}.” If you’re struggling to find it, press the “Ctrl” and “F” keys to open the “find” function, then paste in the string.

  4. Double Check You’re in the Right Place

    When you’re in the correct entry, check that the full folder path reads “ComputerHKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6}” to make sure you’re in the right place.

  5. Find the File Called “System.IsPinnedToNameSpaceTree”

    Inside the “{018D5C66-4533-4307-9B53-224DE2ED1FE6}” entry, find the file called “System.IsPinnedToNameSpaceTree” and double-click it to bring up the “edit DWORD” window.

  6. Change the Entry Under “value data” From the Number One to a Zero

    In this window, change the entry under “value data” from the number one to a zero and click “OK.”

  7. Close the Window and Reopen File Explorer

    Now close the window and reopen File Explorer. If you followed the steps correctly, OneDrive will no longer be in the sidebar.


Final Thoughts

When it comes to ease of use, OneDrive is one of the best cloud storage services, so it isn’t surprising that there is a way to hide the program. Despite the limited choices, removing OneDrive from the File Explorer is straightforward and won’t cause any damage when done correctly.

However, if you want a cloud storage option that doesn’t clutter the File Explorer and you aren’t willing to edit the Windows 10/11 registry because you’re worried you’ll mess it up, there are other online storage options. For example, you can simply disable OneDrive and get a cloud storage service like and pCloud which run within separate apps, so they don’t interfere with File Explorer.

Have you tried to remove OneDrive from the Windows File Explorer? How did it go? Let us know your thoughts in the comments section below. Thanks for reading.

  • No. If you remove OneDrive from the File Explorer on your Windows device, all the files backed up on OneDrive will still be there. You will still be able to access your files via the OneDrive website or app.

  • Removing OneDrive from File Explorer will not get rid of the app from your device. It will only remove the shortcut from your File Explorer. That means that OneDrive will still remain functional on your device and you can access it whenever you wish. If you want to get OneDrive back on File Explorer, all you have to do is reverse the steps you took to remove it.

  • Yes, you can. Some of the best alternatives to OneDrive are, pCloud, Icedrive, and MEGA. You can also use Google Drive or Dropbox.

The post How to Remove OneDrive From File Explorer in 2024 appeared first on Cloudwards.