Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have one sharepoint2010 site. Suddenly i saw today that site has been put into READ only 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 anyother things)

Thanks Sivakumar. P

share|improve this question
add comment

2 Answers

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 ;)

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
1  
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
add comment

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
add comment

Your Answer

 
discard

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.