How to Install IIS in Windows 10 (3 Methods)

Introduction

This guide demos 3 methods to install IIS in Windows 10. IIS (Internet Information Services) is a Windows 10 optional feature that can be enabled or disabled as you wish.

Options to Install IIS in Windows 10

The 3 methods to install IIS in Windows 10 discussed in this guide are:

  1. From Control Panel
  2. Install with DISM
  3. Enable IIS with PowerShell

How to Install IIS in Windows 10 from Control Panel

How to Install IIS in Windows 10 from Control Panel

The first method covered in this guide is how to enable IIS optional feature from Control Panel.

Here are the steps:

  • Type control panel in Windows 10 search bar. Then click it from the search results.
How to Install IIS in Windows 10 from Control Panel
  • When Control Panel opens confirm that View by is set to Category. If not click the drop-down and select Category.
How to Install IIS in Windows 10 from Control Panel
  • Then click Programs.
How to Install IIS in Windows 10 from Control Panel
  • At Programs and Features, click Turn Windows features on or off. A new pop up window will open. If the Windows Features window is too small, you can expand it (see the second image below).
How to Install IIS in Windows 10 from Control Panel
  • Then at the Windows Features pop up screen, locate Internet Information Services and click the check box beside it. This will check the default sub-features.
  • If you wish to customize the features, click the + sign beside Internet Information Services. You can then expand each of the 3 sub-features and check any additional feature(s) you wish to install. When you finish making your selection, click OK.
  • The feature installation will commence by searching for required files.
How to Install IIS in Windows 10 from Control Panel
  • Then the features will be applied…
  • When the installation is completed click Close.
  • To confirm that the installation is successful, type IIS in the search bar..

How to Install IIS in Windows 10 with Command Line

How to Install IIS in Windows 10 with Command Line

As you would expect, you can also install IIS in Windows 10 from command prompt.

Here are the steps to enable IIS with DISM command:

  • Type cmd in search bar. Then beneath Command Prompt, click Run as Administrator.
 How to Install IIS in Windows 10 with DISM Command
  • At command prompt, type the command below. Then press enter.
DISM.exe /Online /Get-Features | find "IIS"

The result of the command will display all available IIS features…

How to Install IIS in Windows 10 with DISM Command
You can enable features one by one. You could also install the default IIS features.
  • To install default features of IIS, type the command below. Then press enter.
Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All

The command initiates the install…

  • Wait for the Enabling feature(s) bar to reach 100%.

How to Install IIS in Windows 10 with PowerShell

How to Install IIS in Windows 10 with PowerShell

The final method covered in this guide demos how to install IIS with Windows PowerShell.

Here are the detailed steps:

  • Type powershell in search bar. Then beneath Windows PowerShell, click Run as Administrator.
How to Install IIS in Windows 10 with PowerShell
  • To list all IIS optional features, type this command in PowerShell. Then press enter.
Get-WindowsOptionalFeature -Online | Where-Object {$_.FeatureName -like "IIS*"} | Format-Table

Here are the results in PowerShell (Some of the displayed results are hidden in this image)

The results are displayed in table format because of the Format-Table command. If you do not include the Format-Table command, the results will be listed.
  • Then to install default IIS features, type the command below and press enter.
Enable-WindowsOptionalFeature -Online -FeatureName "IIS-DefaultDocument" -All
  • PowerShell will begin IIS installation.
  • Then when it is completed, it will return a result similar to the one below.

Conclusion

The methods in this guide offers you 3 options to install IIS in Windows 10. The methods demonstrated how to perform the default installation.

Have a question, comment or feedback? Use the “Leave a Reply” form found at the end f the page.

For more Windows guides visit our Windows How To page.

You may also check for technician jobs here.

Victor Ashiedu

Victor Ashiedu is the Managing Editor of Itechguides.com. Before he started Itechguides.com, he worked in IT for close to 20 years. Having done all things tech all his career, he now focuses on making tech easier for others. Victor writes "How to" guides, "Fix it" guides, reviews and buying guides.

We will be happy to hear your thoughts

Leave a reply

Itechguides.com
Logo
Enable registration in settings - general
Compare items
  • Laptops (0)
  • PCs & Macs (0)
  • Smartphones (0)
  • Processors (0)
  • Televisions (0)
  • Tablets (0)
Compare
0
Shopping cart