Fix an Excel File You Cannot Edit or Delete on a Network Drive
Question details
Restore the ability to edit or delete an Excel workbook stored on a network drive after a computer crash.

- Product
- Microsoft Excel 2016 and Synology DiskStation
- Device & OS
- not provided
- Scenario
- An Excel workbook is stored on a Synology DiskStation network share and needs to be edited or deleted after an unexpected crash.
- Observed behavior
- The workbook is reported as being used by another process. An initial reboot and check for lock files do not resolve the issue, but the file becomes editable after another reboot.
Ask other users to close the workbook and save any changes before checking the network share. Make sure you have access to the shared folder and, if needed, an administrator who can inspect NAS connections.
Clear the Stuck Workbook Lock and Reconnect the Drive
Use this approach when a crashed Excel session may have left the network workbook locked.
Close the workbook and exit Excel on your computer. Ask anyone else using the shared file to close it as well.
Open the workbook's folder on the network share and show hidden files. Look for a temporary file whose name begins with ~$ and corresponds to the workbook; delete it only after confirming no one has the workbook open.
In your file manager, disconnect the mapped network drive, then reconnect to the Synology shared folder and try editing or deleting the workbook again.
If the file remains locked, restart the workstation and try again. If necessary, arrange for an administrator to restart the Synology NAS after other users have closed their files.

Check Synology Connections and Folder Permissions
Use this if the workbook remains inaccessible after reconnecting and restarting.
Work With Excel Files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and Excel format compatibility for an easier move between office suites. A stale network or NAS lock must still be cleared separately.

Frequently Asked Questions
Why is my Excel file still locked after a crash?
The crashed Excel session or a network connection may have left a stale lock. Close Excel on all devices, reconnect the network drive, and restart the workstation if needed.
Can I delete the file that starts with ~$?
That file may be Excel's temporary lock file. Delete it from the workbook's folder only after confirming that no user or process still has the workbook open.
What if restarting my computer does not unlock the workbook?
Reconnect the mapped drive and try again. If the lock persists, ask a Synology administrator to check for a stale connection or arrange a NAS restart after users have closed their files.
Can WPS Office remove a Synology network lock?
No. WPS Spreadsheet can open compatible Excel files, but a lock held by the network share or NAS must be cleared through the affected session, connection, or server.




