Home › Knowledgebase › KB-1677

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.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

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.

OneDrive synchronises local OneDrive folders to the cloud. It does not sync directly to NAS SMB shares. Do not configure OneDrive to point directly at \\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

  1. Identify which workstation holds the most recent valid copy of the CAD or production file.
  2. Close the file on all other machines to release application and SMB file locks.
  3. Pause OneDrive synchronising on the workstation that is uploading the conflicting version.
  4. Copy the latest version from the valid workstation to the NAS share.
  5. Resume OneDrive synchronising and verify the file status shows as up to date.

Detailed Instructions

Identify the Latest Valid Copy

  1. Open File Explorer on the workshop workstation where the file was last saved.
  2. Navigate to the local OneDrive folder or the NAS share path, for example \\NAS-Name\Production\Drawings.
  3. Look for OneDrive conflict copies. These files include the computer name in the filename, such as Drawing-Workstation01.dwg or Production-AdminLaptop.dxf.
  4. Right-click the candidate file and select Properties.
  5. Check the Date modified timestamp and compare it against copies on other workshop machines and the NAS.
  6. Open the file in the originating application, such as CAD software, to confirm it contains the latest valid revision.

Release File Locks

  1. Close the file on every workstation that has it open.
  2. If a shop floor PC shows a 'file in use' error, ask the operator to save their work and close the CAD application.
  3. On the Synology NAS, log in to DSM and open Storage Manager.
  4. Navigate to SMB settings and check File Lock or Open Files for active locks on the production share.
  5. Terminate the lock only if you are certain no user is actively editing the file.
CAD files such as DWG and DXF can become corrupted if multiple users open and edit them simultaneously. Always confirm that the file is closed on all workstations before copying or replacing it on the NAS.

Pause OneDrive Synchronising

  1. Select the OneDrive blue cloud icon in the Windows taskbar notification area.
  2. Select Help & Settings, then choose Pause syncing.
  3. Select a pause duration, such as 2 hours, to prevent overwrites while you reconcile files.
  4. 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

  1. Open File Explorer and navigate to the local copy on the workstation with the valid file.
  2. Right-click the file and select Copy.
  3. Navigate to the NAS share path, for example \\NAS-Name\Production\Drawings.
  4. Right-click in the folder and select Paste.
  5. 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

  1. Select the OneDrive cloud icon in the taskbar.
  2. Select Help & Settings, then choose Resume syncing.
  3. Wait for the sync status to show Up to date.
  4. Open the file from a remote admin laptop to confirm the latest production data has synced correctly.

Troubleshooting

'File in Use' Errors Persist

OneDrive Overwrites Newer NAS Files

Identify OneDrive Conflict Copies

Missing CAD Revisions

Enable per-folder versioning on the Synology NAS so you can roll back individual production folders without affecting the entire share.
Do not delete conflict copies until you have confirmed which machine holds the latest valid production data. Deleting the wrong copy can result in permanent loss of recent CAD revisions.

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?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket