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: Most helpful
  1. Anonymous
    2024-07-25T18:49:53+00:00

    Dear Hảo Chung,

    Welcome to Microsoft Community.

    We understand that there are two OneDrive icons in your Explorer and you need to delete one of them.

    According to your description, if you move the file to two other folders, the duplicate file information will be synchronized. This may be because your OneDrive information has been logged in and detected multiple times.

    You can first confirm which OneDrive icon you need to delete.

    If you want to delete one of the OneDrive folders, it is recommended that you try to delete the redundant OneDrive by modifying the registry:

    Win+R open Run, type regedit to open the registry, click File, Export, check all, OK; (to prevent you from operating incorrectly and affecting the operation of other registration information)

    1. Locate the computer \HKEY_CLASSES_ROOT\CLSID, press Win+F to search for OneDrive

     Image Image

    Once you have found the Onedrive entry you don't want to show, select

    System.IsPinnedToNameSpaceTree 
    

    and right-click and select “Modify”.

    Image

    Change its “Value data” to “0”, click OK, and then close the registry.

     Image

    Restart File Explorer to see if the problem is solved

    Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems; however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further 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, clickHow to back up and restore the registry in Windows - Microsoft Support to view the article.

    You can reply to us with updates or other questions.

    Best Regards,

    Zenobia.Z | Microsoft Community Support Specialist

    Was this answer helpful?

    100+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-04T09:34:09+00:00

    I'm using Windows 11. This actually worked when i'm done editing the registry and restart the windows explorer. But once I restart my laptop i see 2 onedrive folders again.

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-08-06T01:59:47+00:00

    Well, it worked for a little while. However, it then kept saying it had to fix c:/ drive. Upon restarting the computer, and allowing it to fix c, the second One Drive folder was back. Maybe another solution would be in order.

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-12-04T13:14:47+00:00

    Hello Zenobia,

    I was having the same issue and this solved it for me. I found two entries with corresponding (Default) values:

    HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} OneDrive - Personal
    HKEY_CLASSES_ROOT\CLSID\{04271989-C4D2-EEAF-95D1-C278CDA8F148} OneDrive
    

    I did as you told me with the second entry and after a quick Explorer restart the double entry disappeared. Is it safe to delete the whole entry or are there safety reasons behind why we shouldn't do that?

    Regards,
    Thibaud Van Wilder

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2024-10-26T23:01:05+00:00

    I have tried this solution several times, but after restarting laptop, the 2 personal OneDrive folders are back. Also have noticed that the OneDrive folder is not showing in the C:Drive\User\Username folder, but if I right click each of the OneDrive folders in Windows explorer, both folders show that the location is C:\User\username! I would appreciate your help with this

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments