Unextendvs: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: November 29, 2007

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

Removes Windows SharePoint Services 3.0 from a particular Web application. Use the deletecontent parameter to delete the content databases for the Web application.

The account that you use to run the Stsadm command-line tool must be a member of the Administrators group on the local computer. Because this operation affects a content or configuration database, you must also be a member of the following fixed server roles in SQL Server: dbcreator.

stsadm -o unextendvs

   -url <URL name>




Parameter name Value Required? Description


A valid URL name, such as http://server_name


The name of the Web application.




Deletes the content database from a specified Web application.




Deletes IIS Web sites that are associated with a Web application.