Enable IIS on Windows Server through Server Manager’s Add Roles wizard — select the Web Server (IIS) role with required components.
IIS (Internet Information Services) is Microsoft’s free, built-in web server for Windows Server. Enabling it takes about ten minutes through the Add Roles and Features wizard. The process is nearly identical across Windows Server 2012 R2 through 2025, with a separate path for Windows 10 and 11 desktops. No extra license or purchase is needed — IIS ships with every Windows Server edition.
Enabling IIS On Windows Server: The Step Sequence That Works
On Windows Server 2016 through 2025, the Server Manager dashboard handles the whole installation. Log in with an administrator account before you start.
- Open Start and launch Server Manager.
- Click Add roles and features to launch the wizard, then hit Next.
- Select Role-based or feature-based installation and click Next.
- Confirm your local server is selected (it is by default) and click Next.
- In the Server Roles list, scroll down and check Web Server (IIS).
- When the prompt appears, click Add Features to include the required management tools, then click Next.
- On the Role Services page, verify the following sub-components are checked — these are the ones most applications need:
The wizard moves on to the Features page and then the Web Server Role (IIS) info page. Click Next through both, then on the Confirmation page review your selections and click Install.
The installation runs for a few minutes. When it finishes, click Close.
Which IIS Components Should You Enable?
The default component set covers basic static hosting, but most real-world applications need a broader selection. The table below shows the components required by common enterprise tools like ArcGIS Enterprise and Keyfactor Command.
| Component Group | Specific Feature | Why It’s Needed |
|---|---|---|
| Common HTTP Features | Static Content, Default Document, Directory Browsing, HTTP Errors | Serves static files and shows proper error pages |
| Health and Diagnostics | HTTP Logging | Records site traffic for troubleshooting and auditing |
| Performance | HTTP Compression | Speeds up page loads by compressing responses |
| Security | Request Filtering, Basic Authentication, Windows Authentication | Controls access and blocks malicious requests |
| Application Development | ASP.NET 4.5, .NET Extensibility 4.5, ISAPI Extensions, ISAPI Filters | Runs modern .NET web applications and APIs |
| Management Tools | IIS Management Console | Lets you configure sites and settings after installation |
| .NET Framework | HTTP Activation | Enables WCF services and .NET activation over HTTP |
If you miss a component your application needs, you can add it later by re-running the Add Roles and Features wizard and selecting the missing item under Role Services.
Enabling IIS On Windows 10 Or 11
Desktop versions of Windows support IIS too, though with a lighter feature set. The Windows Features dialog handles it.
- Open Control Panel and go to Programs and Features.
- Click Turn Windows features on or off in the left sidebar.
- Check Internet Information Services in the list.
- Expand the IIS entry and verify the sub-components you need — ASP.NET, Static Content, and IIS Management Console are the most common.
- Click OK and wait for the installation to finish.
This method works on Windows 10 and Windows 11 Pro, Enterprise, and Education editions. Windows 11 Home does not include the IIS feature.
How To Verify IIS Is Running
Open a browser on the server and go to http://localhost. If you see the default IIS welcome page — a blue Windows Server banner with an IIS logo — the installation succeeded.
For remote access, check that World Wide Web App Services (HTTP) is allowed in Windows Defender Firewall for both Public and Private profiles. Without this rule, the default IIS welcome page won’t load from another machine on the network.
Common IIS Setup Problems And Solutions
| Problem | Likely Cause | The Fix |
|---|---|---|
| Installation fails mid-way | Missing HTTP Activation or ASP.NET dependency | Confirm HTTP Activation is selected under .NET Framework 4.x Features in the Features page of the wizard |
| “Component store corrupted” error | System files or component store damage | Run DISM /Online /Cleanup-Image /RestoreHealth from an admin command prompt, then retry the installation |
| Group policy blocks installation | “Do not allow installation of features on demand” policy is enabled | Check Local Group Policy Editor under Computer Configuration > Administrative Templates > System and disable the restrictive policy |
| Antivirus blocks the operation | Endpoint protection flags the feature installation | Temporarily disable real-time protection, install IIS, then re-enable it |
| IIS installs but localhost shows nothing | Required sub-components missing or W3SVC not started | Re-run the wizard and ensure Static Content, Default Document, and HTTP Errors are enabled; restart the World Wide Web Publishing Service in Services.msc |
If Server Manager itself becomes unresponsive, clear its component cache by running Remove-Item -Path C:\Windows\System32\ServerManager\ComponentConfiguration\* -Force in PowerShell and restarting the server.
Checklist — What A Working IIS Setup Looks Like
- The Web Server (IIS) role shows as installed in Server Manager under the local server’s Roles and Features tile.
- Browsing
http://localhostdisplays the default IIS welcome page, not an error or blank screen. - IIS Manager opens from Tools in Server Manager and shows a connection to the local server.
- Required sub-components (ASP.NET, Static Content, HTTP Logging, Request Filtering, and your chosen authentication method) are enabled under Web Server (IIS) > Role Services.
- Windows Firewall allows inbound HTTP traffic on port 80 for the World Wide Web App Services rule.
- A test HTML file placed in
C:\inetpub\wwwrootloads when accessed by IP address from another device on the same network.
Each of these checks confirms that IIS is not just installed, but actually ready to serve traffic — no second search needed.
References & Sources
- Microsoft. IIS.net Official home of IIS; lists versions, downloads, and documentation.
- ArcGIS Enterprise. “Enable IIS components on Windows Server 2016/2019.” Documents required IIS role services for enterprise deployment.
- Esri. “Enable IIS components on Windows Server 2022/2025.” Lists required IIS features for ArcGIS Web Adaptor.
- Microsoft Learn. “Install IIS and ASP.NET Modules.” Official step-by-step guide for enabling ASP.NET on IIS.
- Microsoft Q&A. “IIS feature can’t install on Server 2022.” Covers common installation failures and DISM repair steps.
- Microsoft Tech Community. “How to enable IIS and key features on Windows Server.” Step-by-step guide from the IIS support team.
- Keyfactor. “Windows Server 2019 Installation.” Lists required IIS components for Keyfactor Command deployment.
- WinSides. “How to install IIS on Windows Server 2022.” Community guide with verified installation steps and screenshots.
