OneDrive File Issues

Fix Duplicate SharePoint Folders Created by OneDrive Sync

Aamir Naveed AkramAamir Naveed Akram Nov 22, 2026 868 views

Question details

The user needs to stop a SharePoint folder from repeatedly creating duplicate copies during OneDrive synchronization.

Product
Microsoft SharePoint and OneDrive
Device & OS
not provided
Scenario
A deeply nested SharePoint folder is synchronized through OneDrive on multiple computers.
Observed behavior
Duplicate folders appear with computer-name suffixes, such as Costs-BMCL02, and return after deletion.
Before you start

Ask collaborators to stop editing the affected folder while you investigate, and compare the duplicate folders for unique or newer files. Check the SharePoint library in a browser and confirm that you have permission to create and delete folders.

Solution 1Recommended

Rebuild the Affected SharePoint Folder

Use this approach when duplicates keep returning for one folder; rebuilding it resolved the reported case.

A synchronization conflict or a problem with the original folder structure may cause recurring duplicates. Copying content into a new folder creates a separate folder to sync.

Copying files may not preserve version history, sharing links, or unique permissions. Check these requirements before removing the original folder.

1
Create a replacement folder

Open the affected document library in SharePoint, navigate to the parent folder, and select New > Folder. Give the replacement a distinct name.

2
Copy the contents

Open the original folder in SharePoint, select its contents, and use Copy to to place them in the replacement folder. Review the computer-name-suffixed duplicates and copy any distinct or newer content you need.

3
Verify the replacement

Open the replacement folder in SharePoint and check its files and subfolders. On each syncing computer, open the OneDrive folder and confirm the replacement has finished syncing.

4
Remove the old folders

After confirming the replacement is complete and any required permissions and links are handled, select the original folder and unwanted duplicates in SharePoint and choose Delete. Monitor the library and OneDrive for new duplicates.

Rebuild the Affected SharePoint Folder
Deleting affects synced copies: Deleting a folder from the SharePoint library also removes it from connected sync clients. If you delete the wrong item, check the SharePoint site's Recycle bin.
Free Microsoft Office alternative

Edit Office Files With WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Office format compatibility make switching straightforward, although it does not repair SharePoint or OneDrive sync conflicts.

Open and edit files copied from the affected SharePoint folderCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface for an easier transition from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SharePoint folder have a computer name added to it?

A computer-name suffix can indicate a synchronization conflict. Select the OneDrive cloud icon on the named computer and check its activity or error details for more information.

Why do the duplicate folders return after I delete them?

Deleting a duplicate may not resolve the underlying sync conflict or folder problem. Check OneDrive errors on each client; if only one folder is affected, try copying its contents into a new SharePoint folder.

Will copying files to a new folder preserve their version history and sharing links?

Do not assume it will. Check the copied files' version history, permissions, and sharing links in SharePoint before deleting the original folder.

Can a deeply nested folder cause OneDrive sync problems?

A long folder and file path can cause sync errors. Check the OneDrive activity or error details for a path-length message, then shorten folder or file names or reduce nesting if needed.