logo
search
OneDrive File Issues

How to Merge OneDrive Files and Prevent Duplicate Copies

WPS EditorWPS Editor Oct 10, 2026 869 views

Question details

The user needs to prevent OneDrive from creating thousands of duplicate files appended with '-copy' after unlinking and relinking their computer.

How to Merge OneDrive Files and Prevent Duplicate Copies
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Re-establishing a cloud connection by relinking a computer to OneDrive.
Observed behavior
OneDrive reports a synchronization conflict and threatens to duplicate thousands of files by adding '-copy' or the computer's name to the original file names.
Before you start

Before proceeding, ensure all your Office applications are closed and verify that your computer has a stable internet connection to allow OneDrive settings to update properly.

Solution 1Recommended

Enable the Office File Merge Feature in OneDrive

Configure OneDrive's settings to let you choose to merge changes rather than automatically creating duplicate copies when sync conflicts occur.

1
Open OneDrive Settings

Click on the OneDrive cloud icon located in the Windows system tray (taskbar), click the Help & Settings gear icon, and select 'Settings'.

2
Navigate to the Office Tab

In the Settings dialog box, click on the 'Office' tab at the top of the window.

3
Enable Merge Changes

Locate the 'Sync conflicts' section, check the required box, and select the option that says 'Let me choose to merge changes or keep both copies'.

4
Save Settings

Click 'OK' to apply your new settings. OneDrive will now prompt you to merge files during a conflict instead of automatically creating '-copy' duplicates.

Enable the Office File Merge Feature in OneDrive
Sync Conflict Prompt Enabled: The next time a file conflict arises, Office will actively ask if you want to merge the changes, keeping your folders free of unwanted duplicates.
Free Microsoft Office alternative

Avoid Complex Sync Issues with WPS Office

If you frequently encounter frustrating synchronization conflicts and duplicate files with Microsoft Office and OneDrive, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with seamless file management and built-in cloud support.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Application: Run the installer and follow the straightforward on-screen prompts to set up WPS Office on your computer.
  3. 3. Open and Edit Seamlessly: Launch WPS Office to immediately open, edit, and sync your existing Word, Excel, and PowerPoint files.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Built-in WPS Cloud integration for seamless, conflict-free syncing without duplicate copies.Lightweight architecture that minimizes system resource usage.Familiar, tabbed user interface for an effortless transition from Microsoft Office.
QA img-9

Frequently Asked Questions

Why does OneDrive add '-copy' to my files?

When OneDrive detects that a file has been changed on both your local computer and the cloud simultaneously, it prevents accidental data loss by creating a second file. It appends '-copy' or your computer's name to the filename to preserve both versions during a synchronization conflict.

Will reinstalling OneDrive delete my locally saved files?

No. Uninstalling and reinstalling the OneDrive desktop app only removes the synchronization client itself. Your local files in the OneDrive folder, as well as the files stored securely in the cloud, will remain intact and unharmed.

How do I fix duplicate files that have my computer's name in them?

If the duplicate files feature your computer's name in the title, it usually indicates a local authentication mismatch. You can fix this by opening the Windows Credential Manager, deleting the 'OneDrive Cached Credential' entries, and restarting the OneDrive application.