Windows 11 OneDrive Icon Removed

How to Remove OneDrive Icon from File Explorer in Windows 11

Here's how to remove the OneDrive icon from Windows 11 File Explorer navigation pane. By default, it displays the OneDrive - Personal item with no option to get rid of it. Luckily, it is easy to change this.

OneDrive is a software client for Microsoft's own cloud service. It allows syncing your documents and files between your computers. Similar to Windows 10, Windows 11 has OneDrive preinstalled.

OneDrive storage capacity depends on your plan. For consumers, Microsoft offers 5GB of space for free. If you have a  Microsoft 365 subscription, you will get 1TB on OneDrive. Finally, you can pay a little for extra space, say  2TB.

OneDrive is available on all popular platforms. It also works as a Web app. In Windows 11, the OneDrive icon appears in the Navigation Pane.

If you are not happy with defaults, here's how to remove it.

Remove OneDrive Icon from File Explorer in Windows 11

  1. Open the Registry editor; press Win + R and type regedit into the Run box.
  2. In the left pane, go to the key HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}. You can copy-paste it to the address bar of the Registry editor.
  3. On the right, double-click the System.IsPinnedToNameSpaceTree DWORD value.
  4. Change its value data from 0 to 1 and click OK.
  5. Now, navigate to the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace.
  6. Right-click the {018D5C66-4533-4307-9B53-224DE2ED1FE6} entry on the left and select Delete. You need to remove it.
  7. Close all Explorer windows to apply the change.

You are done!

Now, if you open File Explorer, it will no longer show the OneDrive icon in the navigation pane on the left.

You can undo the change at any moment later. All you need to do is to change the System.IsPinnedToNameSpaceTree value from 0 back to 1. After that, create the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{018D5C66-4533-4307-9B53-224DE2ED1FE6} key. Finally, re-open File Explorer.

To save your time, I have prepared a couple of REG files.

Download ready-to-use REG files

First of all, download the following ZIP archive and open it. Now, extract the two registry files to any folder of your choice.

To remove the OneDrive icon from File Explorer, double-click the file Remove_OneDrive_from_navigation_pane.reg. Now, re-open File Explorer, and OneDrive will disappear from the left.

To restore OneDrive in the navigation pane, use the file Add_OneDrive_to_navigation_pane.reg.

That's it!

Support us

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!

8 thoughts on “How to Remove OneDrive Icon from File Explorer in Windows 11

      1. Chris

        Apologies to Sergey, he is absolutely correct. The issue I missed was, I am in an environment that is locked down. You cant enter anything in our out of the registry. I was using a RUNAS to bring up the registry, the problem is, you are bringing up registry settings for THAT USERID and NOT the locally logged in use sooo….the hard way is to find the the SID of the user that you want to change, go to that users registry settings and use the SAME corresponding keys and it WILL work. Thanks again Sergey!

        Reply
      1. Chris

        The problem with that is, many users are One Drive for Business users, if you uninstall you have no One drive for consumer OR One drive for Business. Use Sergey’s way it works! If you are just someone who only has the one drive for consumer then yes, just uninstall it.

        Reply
    1. Fabien

      Hi, Downloading his REG file, extracting it and running it worked perfectly for me… took me 1 minute, thanks a lot!

      Reply
  1. John C

    I found a post on MS’s support (joke) forum which suggested the same registry edit. The OP replied that it did not work as the listed registry key is not in his registry at the correct location. Using the find function turns up a REFERENCE TO the suggested CSLID at another location, but not the actual CSLID. The only response to him was to tell him he’s wrong.

    Nope. I find the same thing. That CSLID is not in my registry, and uninstalling OneDrive does not help. This makes me very reluctant to experiment with importing the registry keys above.

    The only difference between his problem and mine is that I’m not trying to remove the “OneCloud” icon, I’m trying to remove the “Document” folder which points to the “C:\Users\\OneDrive\Documents\” folder, instead of the “C:\Users\\Documents\” folder.

    Any suggestions?

    Reply

Leave a Reply

Your email address will not be published.