Set SharePoint site to read-only

In some situations you may have a need to set a SharePoint site to read-only.  In my case because we were moving the customer from WSS 3 to SharePoint 2013 and needed to reference the old data, while testing to confirm there were no issues with the new site.  This can be done using the following command from the SharePoint bin folder:

stsadm -o setsitelock -url http://sharepointsite -lock readonly

sharepointreadonly

About AJ McKean

Based in sunny Tauranga, New Zealand, AJ McKean is a Senior Systems Engineer in Mt Maunganui. With over 15 years of professional IT experience working in both New Zealand and the United States, he holds several certifications including MCSE(2000-2003), MCITP:Enterprise(2008), MCSA(2012), VMware VCP-DCV5.5, CompTIA A+ & is an HP Storage Architect. He is passionate about all things IT, especially virtualization, automation & cloud technologies.

Leave a Reply

Your email address will not be published. Required fields are marked *