Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can a site administrator remove a short term lock on a SPListItem.SPFile object? This happens when a user opens a Office document for editing from a list without doing a checkout. If the user does not close the document an administrator cannot remove the shortterm lock.

At the moment, i want unlock that SPFile. Please help me!

share|improve this question

migrated from Jul 3 '12 at 13:45

This question came from our site for professional and enthusiast programmers.

1 Answer 1

MS recommends waiting 10 mins or rebooting the server.

Sometimes (mostly) that won't work so try out this code.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.