2

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)

2 Answers 2

3

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-in-sharepoint

or MSDN

Site Collection Locks

Hope it helped ;)

4
  • 1
    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
    Commented Aug 28, 2012 at 15:39
  • 1
    you said 4, but your list has 6! :D
    – shufler
    Commented Aug 28, 2012 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
    Commented Aug 28, 2012 at 21:44
  • @shufler thanks for letting me know :D, you know sometimes yu think some and something else comes up Lol
    – tereško
    Commented Aug 29, 2012 at 7:29
1

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.

1
  • Hi Dave, Thanks for your reply. I checked the site quota and its very near. This worked.
    – sivakumar
    Commented Aug 29, 2012 at 7:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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