File Sharing Problems

Fix an Excel File You Cannot Edit or Delete on a Network Drive

John WilsonJohn Wilson Nov 25, 2026 868 views

Question details

Restore the ability to edit or delete an Excel workbook stored on a network drive after a computer crash.

Fix an Excel File You Cannot Edit or Delete on a Network Drive
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.
Before you start

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.

Solution 1Recommended

Clear the Stuck Workbook Lock and Reconnect the Drive

Use this approach when a crashed Excel session may have left the network workbook locked.

1
Close workbook sessions

Close the workbook and exit Excel on your computer. Ask anyone else using the shared file to close it as well.

2
Check for a temporary lock file

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.

3
Reconnect the network drive

In your file manager, disconnect the mapped network drive, then reconnect to the Synology shared folder and try editing or deleting the workbook again.

4
Restart and retry

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.

Clear the Stuck Workbook Lock and Reconnect the Drive
A second reboot may help: In the reported case, the file became editable after another reboot, even though the first reboot did not clear the problem.
Free Microsoft Office alternative

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.

Open and edit compatible Excel workbooks in WPS SpreadsheetCompatible with Microsoft Excel formats such as XLSX and XLSFamiliar spreadsheet interface for a smoother transitionFree and lightweight office suite
microsoft office alternative - wps office

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.