Why I have 2 Onedrives in File Explorer?

Anonymous
2024-07-25T14:50:54+00:00

i just noticed that i have 2 onedrives on my device. Both are exactly the same and contain the same files. They don't cause any errors but I wonder if there is any way to delete one of them.

There is also another onedrive folder in C:\Users\Hao\OneDrive which is similar to the two above. Sorry if I didn't explain clearly, I'm not a native speaker

Microsoft 365 and Office | OneDrive | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

67 answers

Sort by: Oldest
  1. Anonymous
    2025-01-06T09:45:43+00:00

    Hi,

    same problem for me (Windows 11 Pro) with 2 "link" to OneDrive directly in 1st level in Explorer.exe after Home/Computer (in French Bureau).

    They appear like "<My name> : personal"

    I've found in CLSID 2 keys related to OneDrive, one with "OneDrive : personal", and the other only "OneDrive".

    But this tip didn't worked for me.

    Even after rebooting for one of the 2 IDs, the value "1" reappear for the name "System.IsPinnedToNameSpaceTree"

    Instead, I've found an other solution, still in Registry.

    Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

    I'd 2 "folders" (or keys) related to OneDrive (the same IDs I've found in official MS tip).

    I've renamed the key related to the ID of "OneDrive : personal".

    In my case :

    \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\REMOVED_TO_AVOID_DUPLICATE_{018D5C66-4533-4307-9B53-224DE2ED1FE6}

    No need to reboot (or killing explorer.exe), only closing all Explorer windows and launching a new one with WIN+E

    EDIT (some hours later) : it's not fully OK, because I've seen that some times after renaming this entry, it's appear again in the registry (and I've twice again the OneDrive link)

    EDIT 2 (next day) : after a disconnect/reconnect, and applying again the same tips as upper, no more (for the moment) twice times the link to my OneDrive personnal (I cross my fingers 🤞)

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-01-10T23:53:56+00:00

    No, It didn't worked for me.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-01-11T18:16:52+00:00

    How do I tell which one to delete?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-11T18:22:13+00:00

    I'm thinking that the one that should be deleted is the one that was inserted into the registry earliest in time since the problem occurred for me after I uninstalled and then reinstalled OneDrive. I assume the second installation installed a second entry in the registry. So, I need to delete the earliest entry in time. Then the question, how do tell which entry occurred earliest in time. Can I tell by the sorting of the CLSIDs?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-01-11T18:44:33+00:00

    I found that you can find the appropriate setting faster by searching for "OneDrive - Personal" (without the quotes). However, I did not find two of the same entries. All the "OneDrive - Personal" entries in my registry have the same CLSID and are at different paths in the registry. As far as I can tell, there are no duplicate entries. Also, when I tried the recommended change from 1 to 0 as Zenobia described, that change was reverted as soon as I restarted the computer (as I verified by checking the registry again).

    Was this answer helpful?

    0 comments No comments