How To Uninstall IIS 8.5 Using The Server Manager and PowerShell From Windows Server 2012 R2-1

How To Uninstall IIS 8.5 Using The Server Manager and PowerShell From Windows Server 2012 R2-1

It is not possible to delete features that have already been installed in the Add Roles and Features wizard of Server Manager. If you want to delete roles and features, you will have to use the Remove Roles and Features wizard of Server Manager. By just unchecking the IIS Web Server Role, you can uninstall the entire IIS at once. Alternatively, you can remove a single role, role service, or feature by simply unchecking it in the wizard.This is a tutorial that demonstrates on a step by step basis how to uninstall Internet Information Service (IIS) 8.5 using the Server Manager and PowerShell from Windows Server 2012 R2.

How to Uninstall IIS 8.5 Using Server Manager

Step 1: Open The ServerManager

Click on the Server Manager icon on your desktop in order to open Server Manager.

Step 2: Remove Roles and Features

At the top of the Server Manager, click on Manage and then click on Remove Roles and Features.

Step 3: Click Next

Click on Next on the Before you begin page.

Step 4: Select the server

Choose the server from the server pool on the Server Selection page and then click on Next.

Step 5: Clear Server Roles Check Box

If there is any server role or role service you want to remove, go to the Remove Server Roles page and clear its checkbox.

Step 6: Remove Features

The Remove Features dialogue box will appear showing the dependencies of any role service that has feature dependencies if you clear its checkbox. Remove them by click on Remove Features. As an option, you can remove the entire IIS by unchecking Web Server (IIS).

Step 7: Choose Other Roles You Want to Remove

Choose any other role or role service which you want to remove on the Remove Server Roles page, and then click on Next.

Step 8: Uncheck Features You Want to Remove From The Features Page

If there are any features you would like to remove, uncheck them on the Features page. A dialogue box will appear with dependencies if you uncheck a feature that has feature dependencies. To remove them, click on Remove Features. After this, click Next on the Features page.

Step 9: Verify That The Features You Want To Remove Are Correct

Verify on the Confirmation page, that the features, roles and role services which you want to remove are correct, and then click on Remove.

If you are prompted to restart your computer, it is recommended that you do so, except there are other activities that you want to carry out before the restart takes place. When you remove features, roles and role services, a restart is really important.

Step 10: Check The Progress

Next is the Removal Progress page that is displayed. Closing the wizard will not interrupt tasks that are running. By clicking on Notifications inthe notification area and then clicking on Task Details, you can view task progress or open the page again.

Step 11: Close The Result Page

Click on Close on the Results page.

To finish removing the features, restart the destination server.

B. How To Uninstall IIS 8.5 Using PowerShell

The PowerShell cmdlet UnInstall-WindowsFeature can also be used to uninstall IIS 8.5. To see the syntax of the cmdlet, you have to run the get-help Install-WindowsFeature at a PowerShell command line. You need to take note of the following while running the cmdlet:

  • An elevation is needed by cmdlet. You have to be running a Windows PowerShell session as the administrator before you can run the cmdlet.
  • Again, the cmdlet cannot uninstall management tools for features, roles, and role services automatically. You will have to add the IncludeManagementTools parameter to the cmdlet in order to do so.

Conclusion

In this tutorial, you have learned how to uninstall the Internet Information Service (IIS) 8.5 using either the Server Manager or PowerShell from Windows Server 2012 R2. The peculiarities and limitations of each method have also been spelled out. You should be able to easily perform the operation with this guide. However, if you need any further help, do not hesitate to leave us a note.

Check out these top 3 Windows hosting services:

Ultahost
$2.90 /mo
Starting price
Visit Ultahost
Rating based on expert review
  • User Friendly
    4.3
  • Support
    4.8
  • Features
    4.5
  • Reliability
    4.0
  • Pricing
    4.8
Kamatera
$4.00 /mo
Starting price
Visit Kamatera
Rating based on expert review
  • User Friendly
    3.5
  • Support
    3.0
  • Features
    3.9
  • Reliability
    4.0
  • Pricing
    4.3
InterServer
$2.50 /mo
Starting price
Visit InterServer
Rating based on expert review
  • User Friendly
    4.3
  • Support
    4.5
  • Features
    4.8
  • Reliability
    4.9
  • Pricing
    4.3

How to install the Django Web Framework on Windows

For the windows enthusiast, you can install Django on windows.
2 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester

How To Set Up And Use Fastcgi Environment In (IIS) 7, IIS 7

This article tells you steps on how to set up and use FastCGI environment In (II
5 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top