# Install the Web Server

A domain service account is required to allow the Web WakeUp IIS application to connect to the SQL server hosting the ConfigMgr database. This service account should have limited rights.

## IIS and ASP.NET Roles and Features

The following roles and features must be installed on the server hosting the Web WakeUp site. See below for specific commands which can be executed to automatically install the required roles and features:

**Role: Web Server (IIS)**

| Role Services           | Features                                                                                                                                            |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Common HTTP Features    | <p>Default Document<br>Directory Browsing<br>HTTP Errors<br>Static Content</p>                                                                      |
| Health and Diagnostics  | <p>HTTP Logging<br>Request Monitoring</p>                                                                                                           |
| Performance             | Static Content Compression                                                                                                                          |
| Security                | <p>Request Filtering<br>Windows Authentication</p>                                                                                                  |
| Application Development | <p>.NET Extensibility 3.5<br>.NET Extensibility 4.8<br>ASP.NET (3.5) and ASP.NET (4.8)<br>ISAPI Extensions<br>ISAPI Filters</p>                     |
| Management Tools        | <p>IIS Management Console<br>IIS 6 Management Compatibility<br>IIS 6 Metabase Compatibility<br>IIS 6 Scripting Tools<br>IIS 6 WMI Compatibility</p> |

**Features:**

* .NET Framework 3.5(.1) Features
* NET Framework 3.5(.1)

## IIS Installation Commands for Windows Server

From an administrative command prompt, enter:

```shell
DISM.exe /Online /Enable-Feature /FeatureName:NetFx3ServerFeatures /FeatureName:NetFx3 /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-RequestMonitor /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ISAPIExtensions /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASPNET /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-LegacyScripts /FeatureName:IIS-Metabase /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-WMICompatibility
```

{% hint style="info" %}
If .NET Framework 3 isn't already installed, you may need to have the Windows source media.

To install .Net Framework 3, Add the following to the command line:

`/source:<Server2012MediaLocation>\Sources\SxS`

Ex: `/source:E:\Sources\SxS`
{% endhint %}

Once complete, restart the server if needed. Prior to proceeding verify that the World Wide Web Publishing Service is Running. If the service is not running, start it.

## Add the Service Account to the IIS\_IUSRS Group

The Web WakeUp domain service account needs to be added to the local IIS\_IUSRS group on the Web WakeUp server so that it has access to .NET and the web page files.
