Opening an essential financial spreadsheet or project tracker in Microsoft Excel only to see the dialogue box “File in Use: [Workbook.xlsx] is locked for editing by ‘another user’. Open ‘Read-Only’ or click ‘Notify’ to open read-only and receive notification when the file is no longer in use” delays business operations. This common locking error occurs when Excel terminates unexpectedly leaving an invisible lock file on disk, the Windows File Explorer preview pane maintains an active handle, or multi-user co-authoring synchronization lags on network file shares. Here is how to unlock your Excel workbooks safely.
Disable the File Explorer Preview and Details Panes
When the Windows File Explorer Preview Pane is toggled on, clicking an Excel workbook instructs Windows shell extensions to load an internal read-only instance of Excel to generate the sidebar preview. Excel treats this background instance as an active user lock.
- Open File Explorer and navigate to the directory where the Excel workbook is stored.
- Click the View tab on the top command ribbon.
- Click Show and check whether Preview pane has a checkmark next to it.
- If active, click Preview pane (or press
Alt + P) to turn it OFF. - Ensure the Details pane is also turned off.
- Close all File Explorer windows, wait 10 seconds, and reopen the spreadsheet in Excel.
Delete Hidden Excel Owner Lock Files (~$workbook.xlsx)
Whenever an Excel workbook is opened, Excel automatically creates a temporary hidden lock file in the exact same folder prefixed with a tilde and dollar sign (for example, ~$SalesData.xlsx). If Excel crashes or the PC reboots unexpectedly, this file remains on disk, broadcasting a permanent lock.
- Close all Microsoft Excel windows on your PC.
- Open File Explorer and browse to the folder containing the locked workbook.
- Click View > Show > ensure Hidden items is checked.
- Look for a ghosted file beginning with
~$matching your workbook name. - Select the hidden
~$lock file and pressShift + Deleteto remove it permanently. - If Windows warns that the file cannot be deleted because it is open in Microsoft Excel, launch Task Manager (
Ctrl + Shift + Esc), terminate all runningEXCEL.EXEprocesses, and delete the lock file. - Reopen your spreadsheet. Excel will now grant complete read/write editing permissions.
Terminate Orphaned Excel Background Processes in Task Manager
Add-ins, macros, or automated scripts can keep invisible Excel worker threads running in the background after you close the application.
- Press
Ctrl + Shift + Escto launch Task Manager. - In the Processes tab, look under Background processes for any instances of Microsoft Excel.
- Right-click each Excel entry and select End task.
- Switch to the Details tab, check for any orphaned
EXCEL.EXEbinaries, and terminate them. - Launch Excel and open your workbook directly from the File > Open menu.
Release Lingering Network File Server Handles
If the file is hosted on an office network share (SMB/NAS), client disconnections can leave open file handles registered on the server operating system.
- On the file server hosting the network share, log in as an administrator.
- Press
Windows Key + R, typecompmgmt.msc, and press Enter to launch Computer Management. - Expand System Tools > Shared Folders > Open Files.
- Locate the locked spreadsheet in the open files list.
- Right-click the entry and select Close Open File.
- The lock handle will be released immediately, allowing team members to resume editing simultaneously.