Hi @Marie Swarts ,
IIS is a Windows built-in feature, so you'll need to remove it through Windows Features:
- Press Win + R, type
optionalfeatures, and hit Enter - Uncheck
Internet Information Servicesfrom the list - Click OK, then restart when prompted
If that doesn't fully remove it, open PowerShell as Administrator and run:
Get-WindowsOptionalFeature -Online | Where-Object { $_.FeatureName -like "IIS*" -and $_.State -eq "Enabled" } | Disable-WindowsOptionalFeature -Online -Remove
For better details, you can check this post out:
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance provide feedback. Thank you.