Unlock the sharepoint site while powershell command interupted.

1.Execute the below command in content db of a site.

UPDATE AllSites SET LifeCycleFlags = 1 WHERE ID = '(your site collection GUID)'
 
2.In central admin-->management application-->Configure site quotas and lock
 
Now you can change the option to not locked.
 
 

Comments

Popular posts from this blog

Bulk update and delete using SPservice in SharePoint

Javascript function to populate from query string