Lock site collections (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09

Lock site collections

An administrator can use Batch Site Manager to lock one or more site collections. Typically, you would perform a lock operation before you back up your site collections. The lock status setting controls this behavior. The following table shows the available options.

UI value Stsadm value Description

Not Locked


Sets the site collection to an unlock status. This is the default setting.

Adding Content Prevented


Prevents content from being added to a site collection while the lock operation is performed.



Blocks additions, updates, and deletions to the site collection.

No Access


Sets the site collection unavailable to users.

For additional information about the lock status of a site collection, see Getsitelock: Stsadm operation (Office SharePoint Server)and Setsitelock: Stsadm operation (Office SharePoint Server).

Task requirements

The following are required to perform the procedures for this task:

  • You must be a member of the Farm Administrators group within the SharePoint server farm.

For additional information about security roles, see Plan for security roles (Office SharePoint Server).

To lock site collections

  1. On the SharePoint Central Administration Web page in the Batch Site Manager section, click Move, Lock, and Delete Site Collections.

  2. (Optional) On the Move, Lock, and Delete Multiple Site Collections page, a statistics aggregation timer job should be started and completed in order to make sure the status of a site collection is the latest, depending on how recently such a job was run.

  3. On the Move, Lock, and Delete Multiple Site Collections page, select one or more check boxes to indicate which site collection or collections you want to lock.

  4. Click Lock.

  5. On the Lock Multiple Site Collections page, in the Name and Description section, type a name and description (optional). This will be the name of the timer job that will perform the lock operation.

  6. In the Lock section, click the appropriate lock status.

  7. In the Lock Messages section, type an explanation for the lock, for example, “Locking database before backup”.


    This text is only displayed to the administrator. It is not displayed to users.

  8. In the Schedule Job section, click Now to run the timer job immediately, or Specified Time (in the format MM/DD/YYYY HH:MM) to indicate a time in the future. By default, the timer job runs immediately.

  9. In the Success/Failure Notification section, click the Send e-mail when site collection job succeeds or Send e-mail if site collection job fails check boxes if you want to receive notifications. To receive notifications, provide an e-mail address in the E-mail Address box.


    You can select both check boxes.

  10. Click OK.


Site collections will not be locked until the aggregate timer job is run.