How To Install Iis In Windows 10 : Web Server Setup Windows

Activating IIS in Windows 10 starts with opening the Windows Features dialog and selecting Internet Information Services. If you’ve ever wondered how to install IIS in Windows 10, the process is simpler than you might think. This guide walks you through every step, from enabling the feature to testing your first website. You don’t need to be a server expert—just follow along and you’ll have IIS running in minutes.

IIS, or Internet Information Services, is Microsoft’s web server for Windows. It lets you host websites, run ASP.NET apps, and test code locally. Many developers and IT pros use it for development or small-scale deployments. The best part? It’s built into Windows 10, so you don’t need to download anything extra.

Before we start, make sure you’re using Windows 10 Pro, Enterprise, or Education. The Home edition doesn’t include IIS by default, but you can still enable it with a workaround. We’ll cover that later. For now, let’s get into the main steps.

Prerequisites For Installing IIS On Windows 10

You need a few things before enabling IIS. First, your system should be up to date. Run Windows Update to install any pending patches. Second, have administrator access—you’ll need it to turn on Windows Features. Third, ensure you have at least 500 MB of free disk space for the IIS files.

If you’re on a company machine, check with your IT department. Some organizations disable Windows Features for security reasons. In that case, you might need approval or a different setup method.

Also, think about what you’ll use IIS for. Basic web serving needs only the core components. But if you plan to run PHP, ASP.NET, or FTP, you’ll need additional features. We’ll show you how to select those during installation.

How To Install Iis In Windows 10

Now let’s dive into the actual steps. This section covers the primary method using the Windows Features dialog. It’s the most reliable way to enable IIS without third-party tools.

Step 1: Open Windows Features

Press the Windows key on your keyboard or click the Start button. Type “Turn Windows features on or off” and select the result. A dialog box will appear with a list of optional components. This is where you enable IIS.

Alternatively, you can open Control Panel, go to Programs, and click “Turn Windows features on or off.” Both methods lead to the same screen. The dialog might take a few seconds to load if your system is slow.

Step 2: Locate Internet Information Services

Scroll down the list until you see “Internet Information Services.” It’s usually near the bottom. Click the checkbox next to it. A plus sign will appear, meaning you can expand the node to see sub-features.

Don’t just check the top-level box if you need specific components. For a basic install, checking the main box is enough. But for development, you’ll want to expand and select options like “World Wide Web Services” and “Web Management Tools.”

Step 3: Select Required Features

Expand the IIS node by clicking the plus sign. You’ll see sub-categories like FTP Server, Web Management Tools, and World Wide Web Services. Under World Wide Web Services, expand Application Development Features. Here, you can enable ASP.NET, CGI, or PHP support.

For most users, the default selections work fine. But if you’re building dynamic sites, check these:

  • ASP.NET 4.8 (or your version)
  • ISAPI Extensions
  • ISAPI Filters
  • Static Content (usually on by default)
  • Default Document
  • Directory Browsing
  • HTTP Errors

Under Web Management Tools, ensure “IIS Management Console” is checked. This gives you the graphical interface to manage sites later.

Step 4: Confirm And Install

Click OK after making your selections. Windows will search for the required files and apply changes. This process takes a few minutes. You might see a progress bar. Don’t close the window or turn off your PC during installation.

Once done, Windows will ask you to restart. Click “Restart now” to complete the installation. If you skip the restart, IIS might not work correctly. Save your work before rebooting.

Step 5: Verify IIS Installation

After restarting, open a web browser. Type http://localhost in the address bar and press Enter. You should see the default IIS welcome page. It’s a blue screen with the IIS logo and a message like “Your IIS web server is now running.”

If you see an error or blank page, check the IIS service status. Press Win + R, type services.msc, and press Enter. Look for “World Wide Web Publishing Service.” Ensure it’s running and set to Automatic startup.

Alternative Methods To Install IIS

The Windows Features dialog is the standard way. But there are other methods for advanced users or automation. Let’s look at two alternatives.

Using PowerShell To Enable IIS

PowerShell gives you more control and is faster for bulk installations. Open PowerShell as Administrator. Run this command to install IIS with default features:

Install-WindowsFeature -Name Web-Server -IncludeManagementTools

This installs IIS and the management console. For additional features, add parameters. For example, to include ASP.NET:

Install-WindowsFeature -Name Web-Server, Web-Asp-Net45 -IncludeManagementTools

Wait for the command to finish. It will show a success message. No restart is needed in most cases, but you can reboot to be safe.

Using DISM Command Line

DISM (Deployment Image Servicing and Management) is another option. Open Command Prompt as Administrator and run:

dism /online /enable-feature /featurename:IIS-WebServer /all

The /all switch enables all related features. This method is useful for scripting or when you can’t use the GUI. After completion, check with localhost in your browser.

Configuring IIS After Installation

Once IIS is installed, you’ll want to set it up for your needs. The default configuration works for testing, but for real projects, you’ll need to adjust settings.

Accessing IIS Manager

Open the Start menu and type “Internet Information Services (IIS) Manager.” Click the app to launch it. The interface shows your server name in the left panel. Under it, you’ll see Sites, Application Pools, and other nodes.

If you can’t find IIS Manager, re-run the Windows Features dialog and ensure “IIS Management Console” is checked under Web Management Tools.

Creating A New Website

To host your own site, right-click “Sites” in IIS Manager and select “Add Website.” Enter a site name, choose a physical path (like C:\MySite), and set the binding. For local testing, use port 8080 or another port to avoid conflict with the default site.

For example, set the binding to http, IP address to All Unassigned, port to 8080, and host name blank. Click OK. Then place your HTML files in the physical path. Browse to http://localhost:8080 to see your site.

Setting Up Application Pools

Application pools isolate websites for security and performance. By default, IIS creates one pool for all sites. For production, create separate pools. In IIS Manager, click Application Pools, then “Add Application Pool.” Give it a name and select .NET CLR version if needed.

Assign a site to a pool by opening the site’s Advanced Settings and changing the Application Pool field.

Common Issues And Fixes

Sometimes IIS doesn’t work as expected. Here are frequent problems and solutions.

IIS Not Showing In Windows Features

If you don’t see Internet Information Services in the list, your Windows edition might be Home. Upgrade to Pro or use the PowerShell method. For Home edition, you can enable IIS manually by editing registry or using third-party tools, but it’s not recommended.

Localhost Not Working

If http://localhost shows a connection error, check these:

  • Ensure the World Wide Web Publishing Service is running.
  • Check if port 80 is blocked by a firewall. Allow inbound traffic on port 80.
  • Another application (like Skype) might be using port 80. Change IIS bindings to another port.
  • Run netstat -ano | findstr :80 in Command Prompt to see what’s using the port.

Permission Denied Errors

When accessing your site, you might get 403 or 401 errors. This usually means the IIS user doesn’t have read permissions to your site folder. Right-click the folder, go to Properties > Security, and add the IIS AppPool\DefaultAppPool user with read access.

Securing Your IIS Installation

Security is crucial even for local development. Follow these best practices.

Remove Unnecessary Features

In IIS Manager, go to your server and click “Add Role Services.” Only enable what you need. Disable directory browsing if not required. Remove sample pages and default documents that you don’t use.

Use HTTPS

For testing, you can use self-signed certificates. In IIS Manager, select your server, double-click “Server Certificates,” and create a self-signed certificate. Then bind it to your site under Bindings.

Regular Updates

Keep Windows updated to patch IIS vulnerabilities. Also, review IIS logs periodically for suspicious activity.

Uninstalling IIS If Needed

If you no longer need IIS, remove it the same way you installed it. Open Windows Features, uncheck Internet Information Services, and click OK. This removes all IIS components. Your websites and configuration files might remain in the inetpub folder—delete them manually if desired.

Using PowerShell: Remove-WindowsFeature -Name Web-Server. Using DISM: dism /online /disable-feature /featurename:IIS-WebServer.

Frequently Asked Questions

Can I install IIS on Windows 10 Home?

Officially, no. But you can enable it via PowerShell or DISM. Some users report success, but Microsoft doesn’t support it. Consider upgrading to Pro.

Do I need to restart after installing IIS?

Usually yes. The Windows Features dialog prompts a restart. PowerShell and DISM sometimes don’t require it, but rebooting ensures all services start correctly.

How do I check if IIS is running?

Open a browser and go to http://localhost. If you see the default page, IIS is running. You can also check Services.msc for the World Wide Web Publishing Service.

Can I run IIS and Apache together?

Yes, but they can’t both use port 80. Change one server’s port. For example, run Apache on port 8080 and IIS on port 80, or vice versa.

What’s the difference between IIS and XAMPP?

IIS is Microsoft’s web server, ideal for ASP.NET. XAMPP is a cross-platform package with Apache, MySQL, and PHP. Choose based on your technology stack.

Final Thoughts

Learning how to install IIS in Windows 10 is a valuable skill for any developer or IT admin. The process is straightforward once you know where to look. Whether you use the GUI, PowerShell, or DISM, you can have a web server running in under ten minutes.

Remember to configure security and test your setup thoroughly. IIS is powerful, but it needs proper care. Start with simple static sites, then move to dynamic applications as you gain confidence. If you hit snags, the IIS community and Microsoft docs are great resources.

Now you’re ready to host your own sites locally. Go ahead and enable IIS today—it’s one of the best tools built into Windows. Happy hosting!