SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have one SharePoint2010 site. Suddenly i saw today that site has been put into READ mode. How to audit, who has done this.

I want to know who put the site into READ only mode(through CA->Site quotas and locks).

Is there any way to find? (through powershell command, SPD, Database or through any other things)

share|improve this question

Locks can be Set/Reset in 6 ways:

  • Using Web User Interface - Through Central Administration
  • Using STSADM
  • Using PowerShell
  • Using Object Model
  • By .Net code
  • By PowerShell

Look at this link it will tell you everything with explanation and expamples



Site Collection Locks

Hope it helped ;)

share|improve this answer
Hi, Thanks for your reply. That is explaining how to put in READ only. Thats fine. But i would like to know who put the site in READ only. It might have done through CA UI or stsadm or powershell also. Anyway their Active directory account ID would have logged in Database right(using which account, it has done). We want to know that only. – sivakumar Aug 28 '12 at 15:39
you said 4, but your list has 6! :D – shufler Aug 28 '12 at 21:42
Another to add to your list: a site collection will be locked when a site collection backup runs. There used to be an issue in MOSS where sometimes it would not get unlocked after the backup (say for example the backup failed). It was common to force an unlock after running a site collection backup. – shufler Aug 28 '12 at 21:44
@shufler thanks for letting me know :D, you know sometimes yu think some and something else comes up Lol – tereško Aug 29 '12 at 7:29

I have seen that happen occasionally when a site exceeds its quota so it is possible that SharePoint itself locked it. If the site in question was at or near the quota, this could be what happened.

share|improve this answer
Hi Dave, Thanks for your reply. I checked the site quota and its very near. This worked. – sivakumar Aug 29 '12 at 7:20

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.