How to Fix OneDrive Creating Duplicate Files and Folders on Windows 11

If you use OneDrive to back up or sync your files across devices, you might have run into a frustrating issue where it starts creating duplicate files or folders — often with names like “filename (1)”, “filename – Copy”, or “filename-PCName”.

This happens when OneDrive can’t properly sync your data between devices or detect which version of a file is the latest. While this behavior helps prevent data loss, it can quickly clutter your folders and make organization a mess.

In this guide, we’ll explain why OneDrive creates duplicate files and folders and walk you through several proven methods to fix the problem on Windows 11.

Common Reasons Why OneDrive Creates Duplicates

Before fixing the issue, it helps to understand what’s causing it. The most common reasons include:

  • Sync conflicts when the same file is edited on multiple devices.
  • Unstable internet connection during syncing.
  • File version mismatch between local and cloud copies.
  • OneDrive running under different user accounts on the same PC.
  • Special characters or long file names that cause sync errors.
  • Cached sync data becoming corrupted.

Now, let’s look at how to stop OneDrive from duplicating your files and clean up the existing duplicates.

1. Pause and Resume OneDrive Sync

If OneDrive is actively syncing when the duplication starts, pausing and resuming can help it reinitialize and prevent more duplicates.

  1. Click the OneDrive cloud icon in the system tray (bottom-right corner of the taskbar).
  2. Click the gear icon → Pause syncing → 2 hours.
  3. Wait a few moments, then click the gear icon again and select Resume syncing.

This simple refresh often fixes minor sync glitches without having to reset OneDrive completely.

2. Check for Sync Conflicts

When OneDrive detects that a file has been modified in two places at once (e.g., on your PC and in the cloud), it creates a duplicate copy to avoid overwriting data.

To check and resolve this:

  1. Open File Explorer and go to your OneDrive folder.
  2. Search for duplicates using terms like (1) or – Copy.
  3. Compare file contents and modification dates.
  4. Keep the most recent version and delete the older duplicate manually.

If you’re working across multiple devices, make sure the same version of OneDrive is installed and synced everywhere before editing shared files.

3. Ensure Stable Internet Connection

Unstable or interrupted network connections can cause partial uploads or desynchronization, leading to file duplication.

  • Make sure your PC has a stable Wi-Fi or Ethernet connection.
  • Avoid disconnecting from the internet while OneDrive is syncing.
  • If possible, pause large file uploads during poor network conditions.

Once your connection is stable, resume syncing and allow OneDrive to complete its tasks.

4. Check OneDrive Account and Sync Folder Setup

If you’re using multiple Microsoft accounts or syncing OneDrive to different directories, files might get duplicated across accounts or paths.

To verify:

  1. Click the OneDrive icon → Settings → Account tab.
  2. Confirm that only one account is connected (unless you intentionally use multiple).
  3. Under Sync and backup, check which folders are being synced.

If you have two OneDrive folders (for example, one under Documents and another under This PC), merge them into a single main folder.

5. Shorten or Simplify File Names

OneDrive doesn’t handle long file paths or special characters (like / \ : * ? “ < > |) well, which can cause it to duplicate files during sync.

To fix this:

  1. Locate the duplicated files in File Explorer.
  2. Rename files to simpler names (under 255 characters).
  3. Avoid using special symbols in file or folder names.
  4. Restart OneDrive and allow it to re-sync the cleaned-up folder.

This helps prevent OneDrive from misinterpreting file changes as new uploads.

6. Clear the OneDrive Cache

Corrupted cache data can make OneDrive think certain files haven’t been uploaded properly — resulting in duplicates. Clearing the cache can fix this.

  1. Press Windows + R, type the following, and press Enter: %localappdata%\Microsoft\OneDrive
  2. Open the logs or cache folder (if visible).
  3. Delete all the contents inside.
  4. Restart your PC.

Don’t worry — this doesn’t delete your files, just the temporary sync data. Once restarted, OneDrive will rebuild the cache and recheck all syncs.

7. Reset OneDrive Completely

If none of the above fixes work, performing a full OneDrive reset is your best option. This forces OneDrive to rebuild its sync relationship from scratch without affecting your files in the cloud.

  1. Press Windows + R to open the Run dialog.
  2. Type the following command and press Enter: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  3. Wait a few minutes — OneDrive will close and restart automatically.

If it doesn’t restart, manually open it by pressing Windows + S, typing OneDrive, and selecting the app.

After resetting, allow OneDrive to re-sync your files. You should no longer see duplicates being created.

8. Avoid Syncing the Same Folder Twice

If you’ve linked OneDrive to multiple locations (like Desktop, Documents, and Pictures) and those contain shortcuts or symbolic links, OneDrive may sync the same folder twice under different paths.

To fix this:

  1. Open OneDrive Settings → Sync and backup → Manage backup.
  2. Check which folders are being synced.
  3. Uncheck duplicate or unnecessary locations.
  4. Click Stop backup on folders you don’t want to sync twice.

After stopping duplicate folder backups, check your OneDrive directory for redundant copies and remove them manually.

9. Update or Reinstall OneDrive

Older or buggy versions of OneDrive can sometimes cause sync duplication errors. Keeping it updated ensures smoother operation.

  1. Click the OneDrive icon → Settings → About → Version info.
  2. Visit Microsoft’s official site and download the latest version: Download OneDrive for Windows
  3. Install it over your existing version (your files won’t be deleted).

If the issue persists, uninstall OneDrive completely from Settings → Apps → Installed apps, then reinstall it.

10. Use OneDrive’s Version History (Optional)

If you’re worried about losing changes during cleanup, OneDrive’s Version History feature lets you restore older file versions without keeping duplicates.

  1. Go to OneDrive.com and sign in.
  2. Right-click the file → Version history.
  3. Review previous versions and restore the one you need.

This allows you to safely delete local duplicates without losing your important edits.

Wrapping Up

When OneDrive starts creating duplicate files or folders, it’s usually due to sync conflicts or corrupted cache data — not a major problem, but definitely annoying.

Most of the time, pausing sync, checking for conflicts, or resetting OneDrive resolves the issue. Keeping your internet stable, avoiding multiple OneDrive accounts on the same PC, and maintaining clean file names will also help prevent it from happening again.

Once you’ve cleaned up the duplicates and re-synced your account, OneDrive should run smoothly — syncing files properly without filling your folders with unnecessary copies.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.

X