Export (0) Print
Expand All

Delete a site collection (Windows SharePoint Services)

SharePoint 2007

Updated: June 11, 2009

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2009-06-11

When you delete a site collection, all content and sites within that collection are deleted. This includes:

  • Documents and document libraries

  • Lists and list data, including surveys, discussions, announcements, and events

  • Site configuration and settings

  • Roles and security information relating to the site

  • Subsites within the site collection, their contents, and user information

The tool that you use to delete a site collection depends on the size and number of the site collections that you are deleting.

  • If you are deleting a small site collection, you can use the user interface in Central Administration.

  • If you are deleting a site collection larger than 1 gigabyte, we recommend that you use the Stsadm deletesite operation with the –gradualdelete parameter. For more information about using deletesite, see Deletesite: Stsadm operation (Windows SharePoint Services).

    NoteNote:
    The –gradualdelete parameter was added in the April Cumulative Update. For more information about the April Cumulative Update, see Deploy software updates for Windows SharePoint Services 3.0.
  • If you are deleting many site collections, we recommend that you use the Batch Site Administration tool, which is available in the SharePoint Administration Toolkit. This article does not describe how to use the Batch Site Administration tool. For more information, see SharePoint Administration Toolkit (Windows SharePoint Services).

At a minimum, you must be a member of the Farm Administrators SharePoint group to complete this procedure.

  1. In SharePoint Central Administration, on the top link bar, click Application Management.

  2. On the Application Management page, in the SharePoint Site Management section, click Delete site collection.

  3. In the Site Collection drop-down list, click the down arrow, and then click Change Site Collection. The Select Site Collection dialog box appears.

  4. On the Select Site Collection page, in the URL list, click the site to delete. You can also search for a site collection by using the URL Search box.

  5. On the Delete Site Collection page, click Delete.

  6. Click OK in the message box confirming that you want to proceed with the deletion.

This procedure uses the Stsadm deletesite operation with the –gradualdelete parameter. When you use the –gradualdelete parameter with the deletesite operation, the site collection is marked as deleted, which immediately prevents any further access to its content. The data in the deleted site collection is then deleted gradually over time by a timer job instead of all at once, which reduces its impact on SharePoint and SQL Server performance. For more information about using deletesite, see Deletesite: Stsadm operation (Windows SharePoint Services).

ImportantImportant:
The –gradualdelete parameter was added in the April Cumulative Update. For more information about the April Cumulative Update, see Deploy software updates for Windows SharePoint Services 3.0.

Membership in the Administrators group on the local computer is the minimum required to complete this procedure.

  1. On the drive on which SharePoint Products and Technologies is installed, at a command prompt, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin.

  2. To delete the site collection, type the following command, and then press ENTER:

    stsadm -o deletesite -url <URL name> -gradualdelete

  3. If the deletion is completed successfully, the Command Prompt window displays the following text:

    Operation completed successfully.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft