We are in the process of decommissioning our SharePoint 2003 farm. Before migrating the sites to a new farm, we would like to have a transition period where all the sites will be locked in a read-only / no additions mode (similar to SharePoint 2007 "Noadditions – Permits changes that reduce the size of data" mode).

What is the easiest & best way to achieve this? Is it possible to use a powershell script or SharePoint's object model in order to loop through all the sites and lock each one of them (as opposed to manually set that parameter through the central admin)? Or can this parameter be set at a web application or database level?

So far I have mostly worked with SP2007, and my SP2003 knowledge is a bit limited. Any help is appreciated.


I used this tool a few years back: http://spsitemanager.codeplex.com/

One of the many functions it supports is locking a site.

EDIT: just had another idea...drop the site quotas to some ridiculously low number. That would prevent additions but not stop deletions. You'd have to put up with the daily alerts that are generated, but it would do what you need it to do.

| improve this answer | |

While I've not tried this in SharePoint 2003, in SharePoint 2007 and 2010, one of the easiest ways to do this was to merely set the content database to be read only. Users will not see any difference at all, except they will not be able to make any changes or updates to the system.

| improve this answer | |
  • Thanks! Unfortunately this will also prevent the users from removing information, right? What I am really looking for is a way to make sure sites do not get bigger and at the same time let the users delete documents or other data if they want to. – reg Aug 11 '11 at 12:56
  • But if you're going to let folks delete data then it's not read only. I'm not sure there is any method that will let you delete data but prevent folks from adding new data. – Rob D'Oria Aug 11 '11 at 13:11
  • I should not have used the term read-only, it is misleading. If I understand this page correctly, this method exists and is called Adding content prevented. What I am looking for is a way to apply this on all sites at once. – reg Aug 11 '11 at 13:30
  • Yep...I had updated my answer with that idea shortly after saying I wasn't sure there was a method to do it. :) – Rob D'Oria Aug 11 '11 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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