Skip to content

Enable Windows Features (Windows Server 2016)

Enable Windows Features

  1. Start "Server Manager".

  2. Open the "Management (M)" menu and click "Add Roles and Features".
    The "Management (M)" menu of Server Manager, showing "Add Roles and Features"

  3. The "Before you begin" screen will be displayed, so click the "Next (N)" button.
    The "Before you begin" screen of the Add Roles and Features Wizard

  4. The "Select Installation Type" screen will be displayed, so click the "Next (N)" button.
    The "Select Installation Type" screen of the Add Roles and Features Wizard

  5. The "Select Server" screen will be displayed, so select the target server and click the "Next (N)" button.
    The "Select Server" screen listing the available servers

  6. The "Select Server Role" screen will be displayed, so check "Web Server (IIS)".
    The "Select Server Role" screen with the "Web Server (IIS)" checkbox

  7. The "Do you want to add required features to the Web Server (IIS)?" screen will be displayed, so check "Include management tools (if present)" and click the "Add Features" button.
    The "Add required features to Web Server (IIS)?" screen, with the "Add Features" button

  8. Confirm that "Web Server (IIS)" is checked and click the "Next (N)" button.
    The "Select Server Role" screen with "Web Server (IIS)" checked

  9. The "Select Features" screen will be displayed, so check ".NET Framework 3.5 Features" and click the "Next (N)" button.
    Suppose the error "The request to add or remove features on the specified server failed" occurs. In that case, you may continue the installation normally by leaving ".NET Framework 3.5 Features" unchecked (unchecked).
    The "Select Features" screen with the ".NET Framework 3.5 Features" checkbox

  10. The "Web Server Role (IIS)" screen will be displayed, so click the "Next (N)" button.
    The "Web Server Role (IIS)" screen of the Add Roles and Features Wizard

  11. The "Select Role Service" screen will be displayed, so check "ASP.NET 4.6" under "Application Development".
    The "Select Role Service" screen, with "ASP.NET 4.6" under "Application Development"

  12. The "Do you want to add required features to ASP.NET 4.6?" screen will be displayed, so click the "Add Features" button.
    The "Add required features to ASP.NET 4.6?" screen, with the "Add Features" button

  13. Confirm that "ASP.NET 4.6" is checked and click the "Next (N)" button.
    The "Select Role Service" screen with "ASP.NET 4.6" checked

  14. The "Confirm Installation Options" screen will be displayed, so click the "Install (I)" button.
    The "Confirm Installation Options" screen, with the "Install (I)" button

  15. Wait for the installation to complete.
    Progress screen while the installation is running

  16. After the installation is complete, click the "Close" button.
    The installation completion screen, with the "Close" button

Change IIS Settings

  1. Start "Internet Services (IIS) Manager" from "Server Manager".
  2. Select "DefaultAppPool" under "Application Pool" and click "Set Application Pool Defaults".
    The "Application Pools" view of IIS Manager, with "Set Application Pool Defaults"
  3. Change "Idle Timeout Operation" under "Process Model" from "Terminate" to "Suspend" and click "OK".
    The Application Pool Defaults dialog, changing the idle time-out action to "Suspend"