Two people editing the same AutoCAD drawing? The Synology NAS fix.
AutoCAD or Civil 3D drawings on a Synology NAS opening for two people at once, with no warning and lost work? One SMB setting, changed from its default, fixed it for our client. Here is how to check it and test it.
If your team keeps AutoCAD or Civil 3D drawings on a Synology NAS, and two people can open the same drawing at the same time without any warning, one setting on the NAS is very likely the fix. This guide explains why it happens, the exact setting that fixed it for one of our clients, how to test it, and what else to check if it still isn’t working.
The problem we ran into
One of our clients is an engineering company. Their drawings live on a Synology NAS, shared over the office network, and their team works in AutoCAD and Civil 3D every day. They started losing work, and the pattern was always the same:
- Two or more people could open the same drawing at the same time.
- Nobody got the usual message saying the drawing was already in use and should be opened read-only.
- When someone went to save, AutoCAD sometimes saved to a new file instead, or one person’s changes quietly replaced another’s.
- Hours of drafting work disappeared, and nobody knew until later.
If that sounds familiar, you’re not alone. The Autodesk forums are full of the same complaint from firms using NAS devices from Synology and other makers.
Why it happens
Most people assume AutoCAD itself stops two people from editing the same drawing. It doesn’t. Autodesk’s own experts repeat it again and again: the “file in use” lock comes from the computer or storage device where the files are kept, not from AutoCAD.
You may have noticed small .dwl and .dwl2 files appearing next to open drawings. Those only record who has a drawing open, for AutoCAD’s WHOHAS command. They don’t actually lock anything. The real lock has to come from the file server, in this case the Synology NAS.
A Windows file server handles that locking out of the box. A NAS shares files to Windows computers using a different system that has to imitate Windows behavior, and some of that behavior is controlled by settings. If the right setting is off, the NAS never tells the second computer that the drawing is busy, so AutoCAD happily opens it as if no one else were using it.
The fix: apply leasing to all shared folders
After a lot of testing, and working through it with an Autodesk technician, the fix for this client was one setting on the Synology. Under Enable Opportunistic Locking, the option Enable SMB3 directory leasing was set to the DSM default, “Apply to user home folders only.” That means the improved locking only covered each person’s private home folder, not the shared project folders where the drawings live. Once we changed it to “Apply to all shared folders,” the “drawing is in use” warning came back and the lost-work problem stopped.
Where to find it: in your Synology’s DSM, go to Control Panel → File Services → SMB → Advanced Settings → General. You’ll see Enable Opportunistic Locking, with the two leasing options underneath it.
Here’s how to check it on your own Synology. You need an administrator account on the NAS, and it takes about two minutes. Do it at the end of the day, when nobody has drawings open.
- An administrator login for your Synology (DSM)
- Two people with AutoCAD or Civil 3D for the test
- A quiet time when nobody has drawings open
This is the screen you’re looking for, with the correct settings. The key change is “Apply to all shared folders” near the bottom:

Still not working? Check these
- Everyone must open drawings through the network share. That means a mapped drive or an address like \\NAS\Projects. Sync tools such as the Synology Drive app, OneDrive or Dropbox make a separate local copy on each computer, and locking can’t work across copies.
- Don’t share the same folder several different ways. If some people reach the folder by Windows sharing (SMB) and others by Mac sharing, NFS or WebDAV, the NAS can’t always lock across those methods. Keep project folders on Windows sharing only.
- Keep SMB1 off. The minimum protocol should be SMB2 or higher, as in the screenshot. SMB1 is old and unsafe.
- Look at antivirus and backup software that scans or copies files on the network drive while people are working. It can grab files at the wrong moment and interfere with saves.
- Update the NAS. Install the latest DSM updates under Control Panel, then Update & Restore.
Make lost drawings recoverable with snapshots
Even with locking fixed, people make mistakes: a drawing saved over, a folder deleted. If your Synology volume uses the Btrfs file system, the free Snapshot Replication package can take automatic snapshots of your project folders, for example every hour during the workday. If a drawing is overwritten, you can restore the version from an hour ago in minutes. For a design firm, this is one of the most valuable settings on the whole NAS.
The bottom line
If two people can open the same AutoCAD or Civil 3D drawing on your Synology without a warning, don’t blame AutoCAD and don’t wait for it to fix itself. In the Synology SMB settings, make sure Opportunistic Locking and both leasing options are on, and set SMB3 directory leasing to “Apply to all shared folders,” then test with two people, and make sure everyone opens drawings straight from the network share. Then turn on snapshots so a mistake never costs you a day’s work again.
Have a question about your own setup? Send it in through Ask Himala.
Sources
- Autodesk Community forums, “File Locking not working,” “Multiple Users opening the same File” and related threads on DWG locking with NAS storage.
- Autodesk Community forums, on .dwl and .dwl2 files and the WHOHAS command.
- RaiDrive community, on Synology not supporting locking between WebDAV and SMB.
- Our own troubleshooting with a client and an Autodesk technician (Synology DSM, AutoCAD and Civil 3D).
