> For the complete documentation index, see [llms.txt](https://docs.easy2patch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy2patch.com/deployment/installing-iis-component-for-easy2patch-4.0.md).

# Installing IIS Component for Easy2Patch 4.0

Scope: Easy2Patch 4.0

Easy2Patch Server role needs IIS service to run. The site should be secured with a valid HTTPS certificate.&#x20;

The necessary IIS components and the [PowerShell script](#powershell-komutu) required for the installation of these components are given below.&#x20;

## Powershell Command

You should open Powershell screen with RunAs Administrators right. Paste powershell command in this screen.

{% code title="InstallIIS.ps1" overflow="wrap" lineNumbers="true" %}

```powershell
Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Static-Content,Web-Http-Redirect,Web-Health,Web-Http-Logging,Web-Custom-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Performance,Web-Stat-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext,Web-Net-Ext45,Web-ASP,Web-Asp-Net,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-WebSockets,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Web-WMI,Web-Scripting-Tools,Web-Mgmt-Service
```

{% endcode %}
