When working the helpdesk, I get many calls from users who say they cannot edit a Microsoft Excel file because it is locked and in use by other user.
The message that appears will say “File in Use – {filename] is locked for editing by {username}. Open ‘Read-Only” or click “Notify to receive notification when the document is no longer in use.”
If the user is away at lunch or gone for the day, and the file needs to be edited now, it makes it quite the conundrum. Fortunately, there is a way to kick the user out of the file remotely.
Note: These steps are for System Administrators or personnel with Administrator access to the server where the Excel file resides. If you cannot perform these steps, talk to your IT folks for them to perform these steps for you.
To boot the user from the file and allow another user to access it, follow these steps:
- Note the path to the file, and the file name.
- Hold the Windows Key and press “R” to bring up the Run dialog box.
- Type “mmc“, then press “Enter” to bring up the “Microsoft Management Console“.
- Select “File” > “Add/Remove Snap-in“.
- In the list of “Available snap-ins“, select “Shared Folders“, then select “Add” to add it to the “Selected snap-ins” list.
- A box will appear that asks you to “Select the computer you want the snap-in to manage“. If you are logged in on the server where the locked Excel file resides, choose “Local computer“. If you are logged in at a different computer, select “Another computer“, then type or Browse to the server where the Excel file resides.
- In the view section, select “Open Files“.
- Select “OK“
- Expand the list of “Open Files“.
- Sort the list as desired. I personally like to sort by username. Find the file in the list, then right-click the file and choose “Close Open File“.
That’s it! You have disconnected the user who had the file open and unlocked it. The new user who wants to edit the file now will be able to exit Excel, then re-open the file to edit it.
John says
Thank you Mitch. I was working from home accessing our work server via a vpn when the internet went down.
Using your advice I was able to get this sorted.
So grateful …..saved me a bunch of time!
John
AlexBuslovich says
Great solution. Works for me. Thank you.
Alex
Alberto Catalano says
Thanks so much. After an hour of searching this was the only solution that worked for me.
Beth Bretton says
This is my own computer and I created the file. It isn’t out there shared with anyone and it clearly says that i created the file within the properties of the file. but i can’t open it. and when i follow this process, there are no open files. So, that’s not going to work. sigh….
J.J. says
Only problem is, it is my own file, on my machine, nobody else has access to it, no other copies are open either.
Aris says
only good if you have admin rights on your network which most people don’t have . Would love a user level solution.
Kenneth says
It’s really work for me. It is the best solution for this case.
Ryan says
Thanks! Quick and to the point.
Lois says
I’m the only one who has access and I’m still getting this error message.
Dan says
Worked for us too. Literally went through every other solution possible.
Thank you very much!
Richard Taylor says
Yes, it did work, thankyou, after a lot of suggestions that didn’t. We are using Excel 2013