Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Excel: Fix “File is locked for editing/in use” Errors

Mitch BartlettFebruary 27, 2023 Comments (11)
Excel Header

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:

  1. Note the path to the file, and the file name.
  2. Hold the Windows Key and press “R” to bring up the Run dialog box.
  3. Type “mmc“, then press “Enter” to bring up the “Microsoft Management Console“.
  4. Select “File” > “Add/Remove Snap-in“.
  5. In the list of “Available snap-ins“, select “Shared Folders“, then select “Add” to add it to the “Selected snap-ins” list.
  6. 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.
  7. In the view section, select “Open Files“.
  8. Select “OK“
  9. Expand the list of “Open Files“.
  10. 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.

Categories: Office | Windows

Author Mitch Bartlett

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • fix to sync this notebook sign in to onenote

    OneNote: To Sync This Notebook, Sign in Message

    Madalina DinitaOffice
  • How to Schedule an Email in Outlook on Windows, Mac, iOS, and Android

    How to Schedule an Email in Outlook on Windows, Mac, iOS, and Android

    Susan SheffieldAndroid
  • Outlook won't open in safe mode

    Outlook Won’t Open in Safe Mode: Top 5 Fixes

    Susan SheffieldmacOS
  • How to Make a Copy of an Excel Sheet 5 Best Methods in 2023

    How to Make a Copy of an Excel Sheet: 5 Best Methods

    Susan SheffieldOffice

Comments

  1. John says:
    October 6, 2022 at 6:15 am

    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

  2. AlexBuslovich says:
    February 7, 2020 at 12:44 pm

    Great solution. Works for me. Thank you.
    Alex

  3. Alberto Catalano says:
    November 10, 2019 at 4:09 pm

    Thanks so much. After an hour of searching this was the only solution that worked for me.

  4. Beth Bretton says:
    September 20, 2019 at 3:24 pm

    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….

  5. J.J. says:
    July 30, 2019 at 7:51 am

    Only problem is, it is my own file, on my machine, nobody else has access to it, no other copies are open either.

  6. Aris says:
    July 28, 2019 at 8:31 pm

    only good if you have admin rights on your network which most people don’t have . Would love a user level solution.

  7. Kenneth says:
    July 12, 2019 at 4:44 am

    It’s really work for me. It is the best solution for this case.

  8. Ryan says:
    May 2, 2019 at 11:40 am

    Thanks! Quick and to the point.

  9. Lois says:
    April 6, 2019 at 5:50 pm

    I’m the only one who has access and I’m still getting this error message.

  10. Dan says:
    February 11, 2019 at 10:06 am

    Worked for us too. Literally went through every other solution possible.
    Thank you very much!

  11. Richard Taylor says:
    October 10, 2018 at 3:00 am

    Yes, it did work, thankyou, after a lot of suggestions that didn’t. We are using Excel 2013

Leave a Reply

Your email address will not be published. Required fields are marked *

  • system32 folder opens on startup

    System32 Folder Opens on Startup – How to Fix

  • browser keeps opening hp support

    Browser Keeps Opening HP Support Assistant Tabs 

  • camera not working in vmware

    Camera Not Working in VMware – How to Fix

  • browser screen goes black

    Browser Screen Goes Black Intermittently 

  • computer heating up in hyper v

    Computer Heating Up When Using Hyper-V – How to Fix 

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on February 27, 2023 by Mitch Bartlett