How to uninstall IIS 10 on Windows Server 2016?
Solution 1:
Open PowerShell as Administrator, run commands
Remove-WindowsFeature Web-Default-Doc
Remove-WindowsFeature Web-Dir-Browsing
Remove-WindowsFeature Web-Http-Errors
Remove-WindowsFeature Web-Static-Content
Remove-WindowsFeature Web-Http-Logging
Remove-WindowsFeature Web-Request-Monitor
Remove-WindowsFeature Web-Stat-Compression
Remove-WindowsFeature Web-Filtering
Remove-WindowsFeature Web-Windows-Auth
Remove-WindowsFeature Web-Net-Ext45
Remove-WindowsFeature Web-Asp-Net45
Remove-WindowsFeature Web-ISAPI-Ext
Remove-WindowsFeature Web-ISAPI-Filter
Remove-WindowsFeature Web-Mgmt-Console
Remove-WindowsFeature Web-Metabase
Then Server Manager: Manage \ Remove Roles and Features