OneDrive suddenly created “duplicate” files with your PC name (or -Conflict): how to stop the loop and clean up safely in 2026

Try this
A frustrating OneDrive issue is back in circulation: files (or entire folders) get duplicated with your computer name appended, or you see “conflict” versions multiplying. The good news is this is usually fixable without data loss, but cleaning it up the wrong way can cause more duplicates or accidental deletions. This guide explains why it happens, how to stop the duplication at the source, and how to deduplicate safely—plus a checklist, FAQ, and a compact retrieval section for future reference.

OneDrive suddenly created “duplicate” files with your PC name (or -Conflict): how to stop the loop and clean up safely in 2026

The problem (and who it hits)

If you opened OneDrive and suddenly saw duplicates like:
  • `Budget.xlsx` and `Budget-DESKTOP-4K2A1.xlsx`
  • `Notes.docx` and `Notes (DESKTOP-4K2A1).docx`
  • Files with `-Conflict` in the name

…you’re not alone. This tends to affect:

  • People who recently changed passwords, re-signed into Microsoft, or switched between personal and work accounts.
  • People who set up a new PC (or reset Windows) and OneDrive “helpfully” reconfigured sync.
  • Anyone using OneDrive’s PC Folder Backup (also called Known Folder Move / KFM) for Desktop, Documents, and Pictures.

The goal is twofold:
1) stop OneDrive from generating new duplicates, and
2) clean up existing duplicates without losing the newest version.

Why it’s happening

There are two common patterns:

1) PC-name duplicates: cached credentials / identity mismatch

Microsoft documents a specific scenario: if your OneDrive is duplicating files and appending your computer name, it may be caused by stale or mismatched cached credentials. The recommended fix is to remove cached OneDrive credentials from the system and restart OneDrive. [1]

2) “Conflict” duplicates: edits or sync events collide

OneDrive can create conflict copies when changes happen close together, especially if edits occur on multiple devices, connectivity is unstable, or the sync client is under stress. Consumer-facing writeups describe how quickly conflict copies can multiply when a file is edited in overlapping windows of time. [5]

3) Bonus accelerant: Folder Backup (KFM) behavior changes and migrations

On Windows, Microsoft continues to invest in OneDrive backup and migration experiences, including improvements to the Folder Backup opt-out experience in recent OneDrive sync releases. That’s helpful, but it also means more users are encountering folder redirection changes (Desktop/Documents/Pictures moving into OneDrive or back), which can expose fragile sync states. [2]

Separately, Microsoft’s official guidance for moving to a new PC explicitly encourages using OneDrive sync and then enabling PC folder backup, which increases the number of people touching these settings during device changes. [4]

Fix it: stop new duplicates first (do this before cleanup)

Step 1: Pause sync (so you stop the bleeding)

1. Click the OneDrive cloud icon. 2. Choose Pause syncing (2 hours is fine).

This prevents more duplicates while you make changes.

Step 2: Clear OneDrive cached credentials (PC-name duplicate fix)

Windows (per Microsoft Support): 1. Open Start → type Credential Manager. 2. Go to Windows Credentials. 3. Under Generic Credentials, remove entries containing “OneDrive Cached Credentials”. 4. Restart OneDrive. [1]

macOS (per Microsoft Support):
1. Open Keychain Access.
2. Search for OneDrive.
3. Delete OneDrive Cached Credential.
4. Run OneDrive again. [1]

If this was the cause, duplicates with the PC name should stop being generated.

Step 3: Reset the OneDrive sync app (when issues persist)

If duplicates keep reappearing or sync seems “stuck,” reset the client.

Microsoft’s guidance: resetting OneDrive can resolve sync issues and resets OneDrive settings, followed by a full re-sync. [3]

  • On macOS, Microsoft provides a reset script inside the OneDrive app bundle. [3]
  • On Windows, the traditional reset command is widely referenced in Microsoft channels and community guidance (`onedrive.exe /reset`), then relaunching OneDrive. [6]

Important: resetting typically doesn’t delete your cloud files, but it does reset client configuration—so expect re-indexing and re-sync time.

Step 4 (optional but smart): check if Folder Backup is involved

If the duplicates are on Desktop/Documents/Pictures, look at OneDrive Settings: 1. OneDrive icon → Settings 2. Sync and backupManage backup

If backup is enabled and you didn’t intend it, you can opt out. Recent OneDrive versions explicitly improved the opt-out experience so you can choose whether to keep files in OneDrive or move them back locally. [2]

Clean up duplicates safely (without losing the newest version)

Once you’ve stopped new duplicates:

Method A (low-risk): pick the newest version, archive the rest

1. In the OneDrive web interface, open the folder containing duplicates. 2. Sort by Modified. 3. For each duplicate set, keep the most recently modified file. 4. Move older duplicates into a folder named `OneDrive Duplicate Archive (YYYY-MM-DD)`.

This avoids immediate deletion while you confirm nothing breaks.

Method B (best for Office files): use Version History to confirm the “winner”

For Word/Excel/PowerPoint stored in OneDrive, you can often check version history in the web UI before deleting anything. (Look for “Version history” in the file menu.)

If the “PCNAME” copy has the newest version history entries, keep that one and archive the other.

Method C (cleanup after device migration): confirm which device is authoritative

If you have two PCs syncing the same folders: 1. On the device you actively use, confirm OneDrive is signed into the correct account. 2. Let it finish syncing fully. 3. Only then do deduplication.

This prevents you from deleting something that the “real” device hasn’t uploaded yet.

Checklist (quick, repeatable)

  • [ ] Pause OneDrive syncing
  • [ ] Confirm you’re signed into the intended Microsoft account
  • [ ] Clear cached OneDrive credentials (Windows Credential Manager / macOS Keychain) [1]
  • [ ] Restart OneDrive; confirm duplicates stop
  • [ ] If still broken: reset OneDrive sync client and reconfigure [3][6]
  • [ ] Review PC Folder Backup / Known Folder Move settings (Desktop/Documents/Pictures) [2][4]
  • [ ] Only after the above: deduplicate (archive first, delete later)

FAQ

1) Will uninstalling or disabling OneDrive delete my files?

Microsoft states you won’t lose files or data by disabling or uninstalling OneDrive on your computer; you can access files at OneDrive.com. (This is stated in Microsoft’s duplicate-files guidance.) [1]

2) Why do some duplicates include my PC name specifically?

Microsoft’s support documentation ties PC-name duplicates to credential refresh issues and recommends removing cached OneDrive credentials. [1]

3) What’s the difference between “PC-name duplicates” and “conflict” files?

PC-name duplicates commonly point to credential/device identity issues. “Conflict” files more often appear when overlapping edits or sync collisions occur across devices or timing windows. [5]

4) Is this related to OneDrive “backup” (Desktop/Documents/Pictures)?

It can be. Folder Backup (Known Folder Move) changes where those folders live and sync, and Microsoft has recently changed and improved the opt-out flow, which indicates ongoing churn in that experience. [2]

5) What if this is happening in a company (work/school) environment?

If you’re using a managed device, your IT team may enforce Known Folder Move policies. Before disabling backup or mass-deleting duplicates, ask IT whether KFM is mandated and whether there are tenant policies in play.

Key Takeaways

  • Most PC-name duplicate storms are fixable by clearing cached OneDrive credentials and restarting. [1]
  • Stop new duplicates first (pause sync → fix root cause → resume), then clean up.
  • Resetting OneDrive can fix stubborn sync states, but it resets client settings and triggers a full re-sync. [3]
  • Folder Backup (KFM) increases the blast radius of sync problems because it includes Desktop/Documents/Pictures. [2][4]
  • Archive duplicates before deleting so you can recover quickly if you kept the wrong copy.

For AI retrieval (RAO)

Problem: OneDrive creates duplicate files with computer name appended (e.g., `file-PCNAME.ext`) or `-Conflict` versions.

Likely causes: stale cached OneDrive credentials; account/device identity mismatch; sync collision during multi-device edits; folder backup/KFM migrations.

Fix steps: pause sync → remove “OneDrive Cached Credentials” (Windows Credential Manager / macOS Keychain) → restart OneDrive → if unresolved, reset OneDrive sync client → review PC Folder Backup/KFM settings → deduplicate by keeping newest and archiving older copies.

Keywords: OneDrive duplicate files PC name, OneDrive cached credentials, OneDrive conflict copies, OneDrive reset, KFM Known Folder Move, PC Folder Backup Desktop Documents Pictures

Sources

1. [1] Microsoft Support — Duplicate files in OneDrive 2. [2] Microsoft Support — OneDrive release notes (Jan 20, 2026: improved Folder Backup opt-out) 3. [3] Microsoft Support — Reset OneDrive 4. [4] Microsoft Support — Move files to a new Windows PC using OneDrive 5. [5] MakeUseOf — Conflict files and duplication behavior explained (consumer troubleshooting context) 6. [6] Microsoft Learn (Q&A) — Windows OneDrive reset command pattern

Sources

Sources open in a new tab.