OneDrive Synchronise Conflicts With NAS
Summary
This guide helps you troubleshoot and resolve: OneDrive Synchronise Conflicts With NAS. Follow the steps below to fix the issue.
Common Causes
OneDrive Synchronisation Conflicts with Synology NAS in Manufacturing Environments
Machine operators and engineers in manufacturing and workshop environments often save production files and CAD drawings from Windows workstations to a shared Synology NAS via SMB shares, such as \\NAS-Name\Production\Drawings. At the same time, remote admin laptops may use OneDrive to synchronise files from local OneDrive folders to the cloud. Because OneDrive does not natively sync directly to arbitrary NAS SMB shares, conflicts occur when changes made on the NAS are not reflected in OneDrive, or when OneDrive uploads an older version from a local folder that overwrites newer production data on the workshop network.
This guide explains how to identify OneDrive conflict copies, manage file locks on a Synology NAS, pause and resume OneDrive sync for specific folders, and safely copy the latest valid CAD revision to the NAS without losing recent production data.
\\NAS-Name\Production\Drawings. The typical workflow is that users save files to a local OneDrive folder, which syncs to OneDrive cloud storage, while other machines access production files via the Synology NAS SMB share.Quick Fix Steps
- Identify which workstation holds the most recent valid copy of the CAD or production file.
- Close the file on all other machines to release application and SMB file locks.
- Pause OneDrive synchronising on the workstation that is uploading the conflicting version.
- Copy the latest version from the valid workstation to the NAS share.
- Resume OneDrive synchronising and verify the file status shows as up to date.
Detailed Instructions
Identify the Latest Valid Copy
- Open File Explorer on the workshop workstation where the file was last saved.
- Navigate to the local OneDrive folder or the NAS share path, for example
\\NAS-Name\Production\Drawings. - Look for OneDrive conflict copies. These files include the computer name in the filename, such as Drawing-Workstation01.dwg or Production-AdminLaptop.dxf.
- Right-click the candidate file and select Properties.
- Check the Date modified timestamp and compare it against copies on other workshop machines and the NAS.
- Open the file in the originating application, such as CAD software, to confirm it contains the latest valid revision.
Release File Locks
- Close the file on every workstation that has it open.
- If a shop floor PC shows a 'file in use' error, ask the operator to save their work and close the CAD application.
- On the Synology NAS, log in to DSM and open Storage Manager.
- Navigate to SMB settings and check File Lock or Open Files for active locks on the production share.
- Terminate the lock only if you are certain no user is actively editing the file.
Pause OneDrive Synchronising
- Select the OneDrive blue cloud icon in the Windows taskbar notification area.
- Select Help & Settings, then choose Pause syncing.
- Select a pause duration, such as 2 hours, to prevent overwrites while you reconcile files.
- To pause syncing for specific folders only, select Help & Settings > Settings > Account > Choose folders, then clear the checkbox for the production folder you do not want to sync.
Copy the Latest Version to the NAS
- Open File Explorer and navigate to the local copy on the workstation with the valid file.
- Right-click the file and select Copy.
- Navigate to the NAS share path, for example
\\NAS-Name\Production\Drawings. - Right-click in the folder and select Paste.
- When prompted to replace the existing file, select Replace the file in the destination only if you have confirmed the source is newer and valid.
Resume Synchronising and Verify
- Select the OneDrive cloud icon in the taskbar.
- Select Help & Settings, then choose Resume syncing.
- Wait for the sync status to show Up to date.
- Open the file from a remote admin laptop to confirm the latest production data has synced correctly.
Troubleshooting
'File in Use' Errors Persist
- Restart the CAD application on the workstation reporting the error.
- Restart the workstation if the file lock remains after closing the application.
- Check the Synology NAS Storage Manager for active SMB sessions and disconnect any stale connections.
OneDrive Overwrites Newer NAS Files
- Pause OneDrive before copying production revisions to the NAS.
- Use Version history in OneDrive web to restore a previous version if an incorrect upload occurs.
- Consider excluding active production folders from OneDrive sync and using scheduled NAS backups instead.
Identify OneDrive Conflict Copies
- Search the local OneDrive folder for filenames containing the computer name suffix, such as -Workstation01 or -AdminLaptop.
- Compare the Date modified timestamp of the conflict copy against the original file on the NAS.
- Open the conflict copy in CAD software to verify whether it contains more recent production data than the NAS version.
Missing CAD Revisions
- Check the OneDrive recycle bin at onedrive.live.com for deleted or replaced files.
- Use Synology Snapshot Replication or File Versioning to restore an earlier NAS version.
- Avoid saving directly to a syncing OneDrive folder from shop floor machines; save to the NAS first, then let sync occur in the background.
If you need assistance reconciling sync conflicts or restoring production files, Open a Ticket.
You may also find our guide on OneDrive conflict resolution for manufacturing workflows useful for managing production file synchronisation.
Still Having Issues?
💻 Open a Ticket