Fix 1: Remove OneDrive Cached Credentials
A common reason why OneDrive may keep creating duplicate files with the computer name added to the filename is due to its cached credentials. You need to remove the OneDrive’s cached credentials from the Credential Manager. Here’s how to do it.
Step 1: Click the search icon on the taskbar, type in credential manager, and press Enter.
Step 2: Select Windows Credentials at the top. Under Generic Credentials, locate and select the OneDrive Cached Credentials entry. Then, click the Remove option.
Restart the OneDrive app after this and check if it still duplicates files and folders on your PC.
Fix 2: Check and Resolve OneDrive Sync Conflicts
At times, Microsoft OneDrive may identify a conflict while syncing office files on your Windows computer. As a result, you may see multiple entries for the same Word, Excel, or PowerPoint files. When this happens, you will typically see a red X icon on the OneDrive icon on the taskbar.
Here’s how you can resolve such sync conflicts and get rid of duplicate files OneDrive created.
Step 1: Click the Show hidden icons arrow on the taskbar and click the OneDrive icon.
Step 2: Click the There is a sync issue in OneDrive alert at the top.
Step 3: Click the Resolve button.
Step 4: Select Open in Office to merge changes.
Step 5: Follow the on-screen prompts to merge the problematic office files.
Fix 3: Pause and Resume OneDrive Sync
Another thing you can do to stop OneDrive from creating duplicate files and folders on Windows is to pause the sync operation and resume it. Here’s how:
Step 1: Click the OneDrive icon on the taskbar.
Step 2: Click the gear-shaped icon in the top right corner, select Pause syncing, and select any duration.
Step 3: Click the gear icon again and Resume syncing.
Fix 4: Unlink and Relink Your OneDrive Account
If pausing and resuming sync proves ineffective, you can try unlinking the OneDrive account from your PC and relinking it. This should re-establish your account’s connection to the server and fix any issues caused by authentication issues.
Step 1: Click the OneDrive icon on the taskbar.
Step 2: Click the gear-shaped icon in the top-right corner and select Settings.
Step 3: Switch to the Account tab and click the Unlink this PC option.
Step 4: Select Unlink account to confirm.
Sign back in with your account and check if the issue is still there.
Fix 5: Reinstall OneDrive
If nothing else works, you can consider uninstalling OneDrive from your PC and installing it again. Here are the steps for the same.
Step 1: Press the Windows key + R to open the Run dialog box. Type in appwiz.cpl and press Enter.
Step 2: Select Microsoft OneDrive on the list and select Uninstall.
Follow the on-screen prompts to finish removing OneDrive from your PC. Download and install the OneDrive app on your PC after this and check if the issue is still there.
Was this helpful?
Last updated on 12 August, 2024
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.