No more need for Windows Server IIS?
Start your PowerShell console as admin, and issue the following command in PowerShell:
Code language: PowerShell (powershell)
Uninstall-WindowsFeature -Remove Web-Server
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
Code language: SQL (Structured Query Language) (sql)
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
Protip: before removing IIS from your server, don’t forget to backup IIS and its configuration.