Uninstalling IIS

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

This topic describes how to uninstall IIS using either of the following 2 methods:

  • Using the Configure Your Server Wizard.

  • Using Add or Remove a Windows Component in Control Panel.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc systemroot\system32\inetsrv\iis.msc".

Procedures

To uninstall IIS using the Configure Your Server Wizard

  1. From the Start menu, click Manage Your Server.

  2. Under Managing Your Server Roles, click Add or remove a role.

  3. Read the preliminary steps in the Configure Your Server Wizard and click Next.

  4. Under Server Role, click Application server (IIS, ASP.NET) and then click Next.

  5. In the Role Removal Configuration dialog, check the Remove the application server role check box.

  6. Complete the wizard, and then click Finish.

To uninstall IIS using Add or Remove a Windows Component in Control Panel

  1. From the Start menu, click Control Panel.

  2. Double-click Add or Remove Programs.

  3. Click Add/Remove Windows Components.

  4. In the Components list click the Application Server check box.

  5. Click Next.

  6. Click Close when uninstallation of IIS is complete.

For more information about the Configure Your Server Wizard, see "Configuring Your Server Wizard" in Windows Help.