19

I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine.

The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder.

How can I remove the duplicated onedrive entry from the sidebar?

Duplicated OneDrive entry

30

According to Microsoft Forum Moderator Ruizell Rey:

To resolve your concern regarding duplicated OneDrive entry, follow the steps below:

  1. Search for regedit, and then press Enter.
  2. Open HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\​Explorer\Desktop\NameSpace
  3. Check if you have several folders under NameSpace.
  4. If there are several folders, highlight each folder, and then check the name of the Data on the right hand side.

    OneDrive in Registry Editor

  5. If you see multiple folders with OneDrive as the Data, right click on it, and then select Delete.

    Deleting registry key

Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, refer to the following Microsoft Knowledge Base article.

How to back up and restore registry and Creating a system restore point.

| improve this answer | |
  • 1
    Why does this happen? It just happened to me, so I completely uninstalled OneDrive. After doing so, the "duplicate" entry was still visible in Explorer even though OD was not installed. – Devil's Advocate May 14 '18 at 14:03
  • For me, it was OneDrive and then OneDrive (my work). Sounds like OneDrive is detected in multiple locations or has a distinct name which makes it show twice. – Sun Sep 16 '19 at 18:52
  • Obvious bug that no one seems to have noticed at Microsoft. Not even sure where to report it. – Quarkly Nov 1 '19 at 18:20
  • In case taking a backup of the registry is forgotten, Windows stores a backup copy of the System's registry stores in %WinDir%\System32\config\RegBack (it does not maintain a backup of the user's registry stores located in %UserProfile%) – JW0914 Jan 3 at 13:04
  • To report bugs is here onedrive.uservoice.com – Jose Ortega Mar 27 at 20:57
2

I have another solution, since i didn't find the folder ...\Desktop\NameSpace in my registry.

I searched the registry, using the following settings: Search only by Data, text "OneDrive", comparing the whole string. The fourth entry i found was something like this:

HKEY_USERS\[User-ID]\Software\Classes\CLSID\[XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX]

The only thing i had to change was setting System.IsPinnedToNameSpaceTree to 0, then the wrong entry disappeared.

If you try this, make sure you copy the key and store it before you make any changes. You can set the key value to 1 again, if you picked the wrong entry.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.