Duplicate OneDrive folder icons in File Explorer
The following reliable workarounds and fixes might help you get your computer in a way that you intend to: Before you begin, backup your local unsynced OneDrive data to a separate location.
1] Reset OneDrive
In order to Reset OneDrive on Windows 11/10 you can follow this: Open the Run box and type the following and hit Enter: Check if that fixes your issues.
2] Relink the OneDrive account
Right-click on the OneDrive icon in your system tray and select Settings from the context menu that you get. It will open a new mini-window where you need to navigate to a tab called Account.
Select the option that says Unlink this PC. It will open a pop-up window that will confirm if you really want to Unlink your OneDrive account on the computer. Select Unlink account. You can now run OneDrive again and relink your account to check if that makes any difference.
3] Use the Registry Editor
In the Start Menu, search for “Registry Editor.” Select Registry Editor Desktop App and open by selecting “Open as Administrator.” Once Registry Editor opens, navigate to the following key-
Look out for the folders having folders named OneDrive and delete those OneDrive data DWORDs or folders. Alternatively, you can check this modification inside the Registry Editor. Once Registry Editor opens, navigate to the following key- Look out for the folders having folders named OneDrive and copy the names of folders that contain the OneDrive folder. Now navigate to the following location inside of the Registry Editor-
Look for the folder name that you just copied. Inside that folder, there will be a DWORD named System.IsPinnedToNameSpaceTree and set its value data to be 0. Reboot your computer for the changes to take effect.
4] Switch to a local account and switch back
Press the WINKEY + I button combination to open the Windows 10 Settings App. Navigate to the following path: Accounts > Your info. Scroll down to select the option of Sign in with a local account instead.
Follow the on-screen instructions to get a local account and enter the desired username and password. Once that is done, navigate to the same location inside of the Settings app and this time select the option that says- Sign in with a Microsoft Account instead. Follow the onscreen instructions again to get signed in to your Microsoft Account with your Email address and Password. Reboot your computer and check if your issues still exist. So is only one OneDrive icon appearing now?