I'm running a fresh installation of Windows 11, most IIS features are enabled, and IIS Manager doesn't show any site or the web server. Internet Information Services is not on the services list.
Status for Windows Process Activation Service ( WAS ) : Running
Status for World Wide Web Publishing Service ( W3SVC ) : Running
What I've tried:
Disable and reenable features
Check for corrupted files following https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e There were none.
Did the above three times
In the Event Viewer, there are no errors in Windows, but there is something in Custom Views / Server roles / Web Server:
Log Name: System Source: Microsoft-Windows-IIS-APPHOSTSVC
Date: 22/02/2023 14:44:53 Event ID: 9000
Task Category: None Level: Error Keywords:
Classic User: N/A Computer: Desktop
Description: The Application Host Helper Service encountered an error while reading the data for SID mapping. Please ensure that the application pool name data is correct in the configuration file. To resolve this issue, please recommit the changes or restart this service. The data field contains the error number. Event Xml: http://schemas.microsoft.com/win/2004/08/events/event"> 9000 0 2 0 0 0x80000000000000 8182 System
Desktop 02000780
I restarted the service Application Host Helper with no effect
The solution was given in https://learn.microsoft.com/en-us/answers/questions/1183349/iis-manager-windows-11-not-showing-any-site
Malwarebytes prevents IIS from installing. To solve the issue: disable Malwarebytes, disable all IIS features, reboot, ensure Malwarebytes is still disabled, enable IIS features.