How to disable Windows IIS in Windows 10/11

Problem:

I like to disable Windows IIS but can’t find a way.

Resolution:

Open PowerShell as Administrator and type the following command:

Get-WindowsOptionalFeature -online | ? featurename -like “IIS” | Disable-WindowsOptionalFeature -Online –Remove

Exit.

Reboot.

Leave a comment