Find duplicates

Updated August 12, 2026 · 7 min read

Why OneDrive Adds Your Computer Name to Duplicate Files

Understand the documented sync-conflict pattern and preserve unique edits before resolving it.

A file such as Report-DESKTOP-123.xlsx looks disposable, but its suffix is diagnostic information, not proof. It may be an identical conflict copy, or it may hold edits that never reached the original item.

Microsoft’s support guidance describes duplicate files with a computer name and points to credential reset steps for that scenario. Before following any cleanup plan, preserve both items and confirm what changed.

A practical checklist

  1. 1Pause edits to the affected files.
  2. 2Confirm that the suffix corresponds to a known device name.
  3. 3Check OneDrive sync errors and follow Microsoft’s current credential guidance.
  4. 4Compare file contents or exact fingerprints before choosing a copy.
  5. 5Resume syncing and verify that new suffixed files are no longer appearing.

Read the suffix as a symptom

The device name helps identify where OneDrive could not reconcile a file cleanly. It does not indicate that the suffixed file is older, less complete, or byte-identical. Modification times can also be misleading after a conflict copy is created.

Collect a few examples and note the device, user, folder, and time. That pattern narrows the troubleshooting without risking the files themselves.

Repair sync before comparing

Use Microsoft’s current support steps for the documented credentials issue and check that the account, folder permissions, and available local disk space are healthy. Allow the sync client to settle before changing the file set.

If new conflict copies continue, stop and escalate the sync problem. Deleting symptoms while the client is active can lead to repeated files or lost edits.

Reconcile the file pair

When the files are byte-identical, choose the canonical path and record the other item in a cleanup plan. When they differ, compare the application-level changes, merge what matters, and save a deliberate final version.

A metadata scanner can confirm exact matches when size and quickXorHash agree. It cannot merge two divergent spreadsheets or documents; that remains a content review.

Limits and risks to check

  • The suffixed file may contain the only copy of recent work.
  • Resetting credentials affects sync and should follow official account guidance.
  • Metadata-only exact matching cannot reconcile different edits.
  • Ongoing sync errors can recreate the symptom during cleanup.

Official references

Frequently asked questions

Can I delete every file that contains my PC name?

No. Treat the pattern as a troubleshooting clue. Some files may contain unique edits.

Can ClearCopies merge conflict versions?

No. It can identify byte-identical files from metadata; it does not merge divergent file contents.

What should I do first?

Pause edits, preserve both versions, stabilize OneDrive sync using Microsoft’s guidance, and only then compare the pair.

Scan first. Decide with evidence.

ClearCopies reads supported cloud-drive metadata and groups exact copies by byte size plus a provider-supplied content fingerprint. Original file bodies are not downloaded for the scan. You review the result and export a plan before any separate write step.