• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Techbout

Technology Simplified.

  • iOS
  • Windows
  • Mac
  • Internet

How to Unlock Locked Files in Windows 11/10

By: Sam Patwegar | September 18, 2024

The most common reason for Shared Files getting locked is due to the Shared File being left open by one of the users. Hence, the easiest way to unlock locked files in such cases is to locate the computer on which the file has been left open and close the file.

However, even if you locate the computer where the shared file has been left open, you may not find the person that has left the file open has locked the computer and is not available.

In such cases, you should be able to unlock the locked file on any Windows 11/10 computer using steps as provided below in this guide.

1. Unlock File Locked by Another User

If you have Admin access to the network, you should be able to Unlock the Locked File using the following steps.

Advertisement

1. Right-click on the Start button and click on RUN.

2. In the Run Command window, type mmc and click on OK to bring up Microsoft Management Console.

Open Microsoft Management Console Using Run Command

3. On the next screen, click on File > Add/Remove Snap-in.

Add/Remove Snap-in

4. On “Add or Remove Snap-ins” screen, select Shared Folders and click on the Add button.

Add Shared Folders Snap-in

5. On the next screen, select Local Computer if you are logged into the computer or network where the file resides. If not, select Another computer and click on Browse.

Select Computer On Which Shared File Is Located

Once the other computer is located, select Open Files option and click on the Finish button.

6. Back on “Add or Remove Snap-ins” screen, click on OK to Add the selected Snap-in.

Add Snap-in to Manage Another Computer

7. On the next screen, expand the list of Open Files > right-click on the Locked File and click on Close Open File option.

Remotely Close Open Excel File on Another Computer

Once the open file is closed, the blocking user will be removed from the File and the File will become unlocked.

2. Unlock Locked Files on Your Own Computer

As mentioned above, Excel, Word and other Microsoft Office files can get locked, even if they are not being shared with other users.

This happens due to the way Microsoft Office creates a temporary ownership file whenever a Microsoft Office File is opened and automatically deletes the temporary ownership file as soon as the File is closed.

If the file does not close properly, the temporary ownership file remains open in the memory, leading to “File is Locked for Editing by another user” error.

The only way to fix this issue is to locate the temporary ownership file on your computer and delete the ownership file.

1. Right-click on the Start button and click on File Explorer.

2. On File Explorer screen, navigate to the Location of the temporary ownership file ~$<filename> and delete this file.

For example, if the file is example.xls, the temporary ownership file will be named as ~$example.com.

Once the temporary ownership file is deleted, you will be able to open/edit your Excel File, without encountering “File is Locked for editing by another user” message.

Sam Patwegar

10+ years experience in writing fluff-free troubleshooting guides with just the right and required amount of related information. Equally capable of In-depth technical writing.

Related
  • How to Show Hidden Files & Folders in Windows 11/10
  • Stop Laptop Going to Sleep When Lid Is Closed
  • Can’t Login to Computer Using Microsoft Account

Primary Sidebar

Advertisement

Recent Posts

  • Fix: System Tray Icon Missing in Windows 11/10
  • How to Use Internet Explorer in Windows 11
  • Fix: Cast to Device Not Working in Windows 11/10
  • Fix: MacBook Camera Not Working Issue
  • Multiple Ways to Disable Face ID on iPhone

Advertisement

© 2025 Techbout.com · All Rights Reserved
About | Privacy Policy | Terms | Contact
Twitter(X) | Facebook