Partager via


Supprimer Windows SharePoint Services d’une application Web

Mise à jour : 2008-01-17

Before you perform these procedures, confirm that:

Removing Windows SharePoint Services from a Web application

Use the following procedures to remove Windows SharePoint Services 3.0 from a Web application.

ImportantImportant :

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

Remove Windows SharePoint Services from a Web application by using Central Administration

  1. On the top link bar of the Central Administration site, click Application Management.

  2. On the Application Management page, in the SharePoint Web Application Management section, click Remove SharePoint from IIS Web Site.

  3. On the Remove SharePoint From IIS Web Site page, verify that the Web application you want is selected. If it is not, on the Web Application menu, click Change Web Application. Next, on the Select Web Application page, click the Web application from which you want to remove Windows SharePoint Services 3.0.

  4. After the correct Web application is selected, in the Deletion Options section, in the Select IIS Web site and zone to remove list, click the name of the Web site and zone to be removed.

  5. Under Delete IIS Web sites, select Yes to delete the Web application and the associated IIS Web site. Otherwise, select No to remove only the association of the IIS Web site with the Web application.

  6. Click OK.

ImportantImportant :

The account that you use to run the Stsadm command-line tool must be a member of the Administrators group on the local computer and must be a member of the following fixed server roles in SQL Server: dbcreator, sysadmin.

Remove Windows SharePoint Services from a Web application by using the Stsadm command-line tool

  1. On the drive where SharePoint Products and Technologies is installed, open a command-line window and type the following command:

    cd %CommonProgramFiles%\Microsoft Shared\web server extensions\12\bin

  2. Type the following command:

    stsadm.exe -o unextendvs -url <URL> [-deletecontent] [-deleteiissites]

    where URL is the URL of the Web application.

    • To also delete the content database associated with the Web application, use deletecontent.

    • To delete all IIS Web sites associated with the Web application, use deleteiissites.

    For more information, see Unextendvs.