In a previous article, I mentioned How to Check .Net Version on Windows but now in this article, I have mentioned how to install IIS in Windows 11, when IIS is not found in Windows

Microsoft IIS is an acronym for Internet Information Services or Internet Information Server, and it is a flexible, general-purpose web server from Microsoft. It offers various server functions on windows like web-hosting, running internet applications, streaming audio and video content, and so on.

ISS is also known as Microsoft Windows Server on some windows versions. It is one of the tools recommendable for web developers using ASP.NET. You can install it if you cannot find it on your Windows 11 PC. This post will show you how to install it in Windows 11.

How to Install IIS in Windows 11

There are several methods for installing IIS in Windows 11, but you will learn about three here. The three methods of installation you will learn here include using the control panel, PowerShell, and the Command Prompt. 

Install IIS in Windows 11 with the Control Panel.

You can install IIS on your Windows 11 PC via the control panel with the following steps.

Step 1: Open Run

a1.png

Press Window button + R on your keyboard to open the System Run dialog box.

Step 2: Enter the Program and Features Command

a2.png

In the Run window, enter appwiz.cpl in the text field and press the Enter button on the keyboard to continue.

Step 3: Turn Windows Features On or Off

a3.png

The Run dialog box will open the Program and Features window in the Control panel. Click on “Turn Windows features on or off” from the left-hand side of the window.

Step 4: Internet and Information Services

a4.png

The Windows Features window will open next. It lets you turn on a feature by selecting its checkbox or turn the same off by clearing the checkbox selection.

Select the Internet and Information Services checkbox, and you can also expand it to install its sub-components depending on your needs, but it is advisable for web developers.

a5.png

Click on the + sign next to the checkbox to select the expanded components, and then click OK to continue.

Step 5: Finish

When you click OK, the system will apply the changes, and the installation will begin. Hold on till the IIS installation is complete, then restart your computer.

Install IIS in Windows 11 with the PowerShell App

You can install Windows IIS with the PowerShell app as follows:

Step 1: Run PowerShell as an Administrator

b1.png

Search for PowerShell using the Windows search button on the taskbar, and click on the Run As Administrator option from the search results.

Step 2: Allow User Control Request

A user control request prompt will pop up on the screen. Click yes to allow the app to make changes to your computer.

Step 3: IIS Optional Features

b2.png

When the PowerShell prompt opens, type in the command below and press Enter on the keyboard to list all available IIS optional features.

Get-WindowsOptionalFeature -Online | Where-Object {$_.FeatureName -like "IIS*"} | Format-Table

You can also copy and paste the command if it seems complex to type.

You will see all the features and their state, but you may need to wait a few seconds for the process. Be a little patient during this time.

Step 4: Install the Default IIS Features

b3.png

Proceed to install the default IIS features by entering the command below or you can copy and paste it as well:

Enable -WindowsOptionalFeature -Online - FeatureName "IIS-DefaultDocument" -All

Press Enter on your keyboard and wait a few seconds for the process to begin.

Step 5: Finish Installation

The system will automatically begin installation after entering the command above. Hold on till the IIS installation is complete, and then you can close the PowerShell app and restart your computer.

Install IIS in Windows 11 with the Command Prompt

Another method for installing IIS on Windows 11 is to use the command prompt. You can do this with the steps below:

Step 1: Command Prompt

c1.png

Click on the search button from your computer taskbar and type cmd in the search field. The system will display the command prompt in the search results and click on Run as Administrator to continue.

Step 2: Allow User Control Request

A user control request prompt will pop up on the screen click on yes to allow the app to make changes to your computer.

Step 3: Enter the Command Line

c2.png

Type the command below in the command prompt and press Enter on your keyboard. 

DISM.exe /Online /Get-Features | find "IIS"

You can choose to copy and paste instead of typing out each character.

You may also need to hold on a few seconds before the next step.

Step 4: Enter the Installation Command Line

c4.png

The command prompt will display all the optional features of IIS. Type the following command and press Enter to begin the installation:

Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All

The system will start installing IIS on your computer after pressing the Enter key on your keyboard.

Step 5: Finish the Installation

When the installation is complete, close the command prompt and restart your PC. 

Conclusion

If you cannot find IIS on your PC, the methods in this post are sufficient to install it without stress.

You may also like to read:

How to Find WDDM Version in Windows

How to Check If Windows 10 Is Genuine or Not

Windows Version List

How to Add or Remove "Open PowerShell Here" to context menu