Forum Discussion

Sajith G H's avatar
Sajith G H
Brass Contributor
Jan 02, 2020
Solved

Unlock a file that has been locked for editing

The file is locked by an user for editing. The SharePoint Administrator is unable to unlock the document in SharePoint Online.
Is there any option to unlock using Power Shell ?

6 Replies

  • Pam Parker's avatar
    Pam Parker
    Copper Contributor

    This is an old post, but I just had this happen and wanted it here to maybe help other people.  Make sure the document isn't a .doc.  If that happens it will lock with just one person opening it every single time and will cause this error.

    • louise1575's avatar
      louise1575
      Copper Contributor

      Pam Parker  Does SharePoint have the same problem with .docx files.  I.e. lock them every time they are opened? We don't have check-in/out enabled.  The document is locked by me but I closed everything last night and it's still locked this morning.  This is happening on several files across the document library.

      • Pam Parker's avatar
        Pam Parker
        Copper Contributor

        louise1575  I've found it just to be with .doc files.  If your file is a .docx, you might temporarily turn off autosave (toggle it off in Word.  Upper left hand corner).  Close the file and see if that helps.  We've had autosave be the issue too sometimes.  

    • timothywgray's avatar
      timothywgray
      Copper Contributor

      Norman Young So how do we decrease the timeout period? I have seen cases where locks have persisted for days. 

      • Jose_Nunez's avatar
        Jose_Nunez
        Copper Contributor

        The one thing does stop working as I move from laptop to desktop (& vice versa) is the syncing of files. The quick fix is to pause syncing and resume on one or both devices.

Resources