The file is currently checked out or locked. I need to delete this file and I cant. please help!

%3CLINGO-SUB%20id%3D%22lingo-sub-988603%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-988603%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F447877%22%20target%3D%22_blank%22%3E%40Ollie_Mille%3C%2FA%3E%26nbsp%3BHave%20you%20tried%20to%20ope%20the%20Files%20location%20in%20the%20SharePoint%20view%20and%20checked%20the%20file%20check%20in%20option%20there%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-988652%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-988652%22%20slang%3D%22en-US%22%3EHello!%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20this%20happening%20in%20Teams%3F%20Does%20this%20sound%20familiar%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-keeping-files-locked-after-closing%2Fm-p%2F186836%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-keeping-files-locked-after-closing%2Fm-p%2F186836%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-988869%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-988869%22%20slang%3D%22en-US%22%3E%3CP%3ESometimes%20it's%20just%20a%20matter%20of%20waiting.%20I've%20experienced%20Teams%20locking%20a%20file%20if%20it's%20created%20inside%20Teams%2C%20if%20created%20directly%20in%20SharePoint%20no%20such%20issue%20exists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20it%20a%20an%20hour%20or%20so%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-990151%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-990151%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F447877%22%20target%3D%22_blank%22%3E%40Ollie_Mille%3C%2FA%3EThis%20error%20is%20the%20bane%20of%20my%20existence.%26nbsp%3B%20I%20have%20searched%20and%20searched%20and%20while%20some%20people%20claim%20to%20have%20solutions%2C%20none%20of%20them%20have%20ever%20worked%20for%20me.%26nbsp%3B%20From%20what%20I%20have%20read%20this%20error%20has%20been%20around%20for%20a%20long%20time%20and%20there%20is%20not%20straightforward%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-990153%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-990153%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130001%22%20target%3D%22_blank%22%3E%40Chris%20Macaluso%3C%2FA%3EI%20have%20tried%20that%20it%20didn't%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-988396%22%20slang%3D%22en-US%22%3EThe%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20help!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-988396%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20the%20administrator%20of%20the%20Group%2FFolder%2F%26amp%3B%20file%20that%20I'm%20referring%20to%20here.%26nbsp%3B%20I'm%20organizing%20some%20documents%20and%20moving%20them%20to%20subfolders.%26nbsp%3B%20There%20is%20one%20document%20that%20I%20cannot%20move%20or%20delete.%26nbsp%3B%20I%20get%20this%20error%20message%3A%26nbsp%3B%26nbsp%3BThe%20file%20is%20currently%20checked%20out%20or%20locked%20for%20editing%20by%20another%20user.%26nbsp%3B%20The%20other%20user%20shows%20as%20me%20but%20I%20am%20not%20editing%20this%20document.%26nbsp%3B%20How%20do%20I%20release%20the%20lock%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-988396%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1323332%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1323332%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130001%22%20target%3D%22_blank%22%3E%40Chris%20Macaluso%3C%2FA%3E%26nbsp%3BWill%20these%20troubleshooting%20steps%20work%20with%20the%20file%20in%20Teams%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F313472%2Fthe-document-is-locked-for-editing-by-another-user-error-message-when%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F313472%2Fthe-document-is-locked-for-editing-by-another-user-error-message-when%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383015%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383015%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F447877%22%20target%3D%22_blank%22%3E%40Ollie_Mille%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20experiencing%20a%20somewhat%20similar%20issue%20from%20within%20SharePoint%20Online.%26nbsp%3B%20I%20found%20a%20way%20of%20deleting%20the%20item%20that%20may%20help.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20access%20to%20the%20SharePoint%20library%20directly%2C%20you%20should%20be%20able%20to%20select%20Version%20History%20from%20the%20options%20menu%20for%20the%20item%20in%20question.%26nbsp%3B%20Here's%20how%20I%20was%20able%20to%20get%20rid%20of%20the%20problem%20child%3A%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Version.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F190965i7D5E7BC5F21D4C98%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Version.png%22%20alt%3D%22Version.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3BNext%2C%20I%20select%20Delete%20All%20Versions%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Version%202.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F190970i8BAA9238CA675781%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Version%202.png%22%20alt%3D%22Version%202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3BOnce%20I%20did%20that%2C%20I%20then%20opened%20the%20%22locked%22%20version%20in%20Word%20and%20saved%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20I%20can%20go%20back%20to%20the%20list%20in%20SharePoint%20and%20delete%20the%20item.%20%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EYour%20mileage%20may%20vary%20on%20this%20but%20it%20worked%20for%20me.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418846%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20is%20currently%20checked%20out%20or%20locked.%20I%20need%20to%20delete%20this%20file%20and%20I%20cant.%20please%20hel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418846%22%20slang%3D%22en-US%22%3E%3CP%3ENope%2C%20didn't%20work%20for%20me.%20I%20was%20still%20getting%20error%20messages%20saying%20that%20it%20was%20still%20locked%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F537633%22%20target%3D%22_blank%22%3E%40jbryant%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I am the administrator of the Group/Folder/& file that I'm referring to here.  I'm organizing some documents and moving them to subfolders.  There is one document that I cannot move or delete.  I get this error message:  The file is currently checked out or locked for editing by another user.  The other user shows as me but I am not editing this document.  How do I release the lock?  

12 Replies

@Ollie_Mille Have you tried to ope the Files location in the SharePoint view and checked the file check in option there?

 

 

Sometimes it's just a matter of waiting. I've experienced Teams locking a file if it's created inside Teams, if created directly in SharePoint no such issue exists.

 

Give it a an hour or so

 

@Ollie_MilleThis error is the bane of my existence.  I have searched and searched and while some people claim to have solutions, none of them have ever worked for me.  From what I have read this error has been around for a long time and there is not straightforward solution.

@Ollie_Mille 

 

I'm experiencing a somewhat similar issue from within SharePoint Online.  I found a way of deleting the item that may help. 

 

If you have access to the SharePoint library directly, you should be able to select Version History from the options menu for the item in question.  Here's how I was able to get rid of the problem child:

 

Version.png

 Next, I select Delete All Versions:
Version 2.png

 Once I did that, I then opened the "locked" version in Word and saved it.

 

Now I can go back to the list in SharePoint and delete the item.  

Your mileage may vary on this but it worked for me.  

Nope, didn't work for me. I was still getting error messages saying that it was still locked@jbryant 

@Ollie_Mille Go to Settings --> Versioning Settings, in the right pane, where it indicates: "Require documents to be checked out before they can be edited?" say: NO.

@Ollie_Mille Select the problematic document-click the "open" tag-select "edit in teams"-click "file" and then select "save as" to save the document. Then you can delete it.

I was having an issue with a file being checked out by another team member...First I tried just unsharing the document with the manage access option...but it was still checked out.  I ended up looking while in TEAMs under the "more" and there was an option to "check-in" this allowed me then to delete it. 

 

@Ollie_Mille I have done it!

Select the file, right click and choose version history.

View the dropdown menu next to the date and click view.   Choose to check in (I am an admin so may not work if you are not)

Once it was checked in I was able to delete.

Good luck