No more need for Windows Server IIS?
Start your PowerShell console as admin, and issue the following command in PowerShell:
Uninstall-WindowsFeature -Remove Web-Server
Code language: PowerShell (powershell)
This will completely remove Internet Information Services (IIS) and its configuration! If you want to remove IIS web server, and be able to reinstall it later on, don’t use the -Remove
parameter:
Uninstall-WindowsFeature Web-Server
Uninstalls specified Windows Server roles, role services, and features from a computer that is running Windows Server 2012 R2. By adding the Remove parameter, also deletes feature files, or payload, from a computer. This cmdlet replaces Remove-WindowsFeature, the cmdlet that was used to uninstall roles, role services, and features in Windows Server 2008 R2.
Uninstall-WindowsFeature
before removing IIS from your server, don’t forget to backup IIS and its configuration.

Hi, my name is Jan. I am not a hacker, coder, developer or guru. I am merely a systems administrator, doing my daily thing at Vevida (part of Yourhosting) / CLDIN.
If you want a more ad- and tracking-free website experience, please BackMe with a small donation (backme.org) or Paypal.
This removes the install files also so be careful if you’re just trying to remove the tools but want to be able to install again without having to point at alternative media
Thank you El Fle for your comment, I’ve updated the post a bit.
+1 worked for me also
Great to hear, thank you!
The One-And-Only solution for my problem. Thanks!
Thank you for your comment, and you’re welcome :)