Installing IIS Role Services for Lync Server 2010


Update 2/13/12 – Added Dynamic Content Compression for Lync Mobility.

The following IIS role services must be installed before attempting to install this product:

  • Web Server
    • Common HTTP Features
      • Static Content
      • Default Document
      • HTTP Errors
    • Application Development
      • ASP.NET
      • .NET Extensibility
      • Internet Server API (ISAPI) Extensions
      • ISAPI Filters
    • Health and Diagnostics
      • HTTP Logging
      • Logging Tools
      • Tracing
    • Security
      • Windows Authentication
      • Client Certificate Mapping Authentication
      • Request Filtering
    • Performance
      • Static Content Compression
      • Dynamic Content Compression
    • Management Tools
      • IIS Management Console
      • IIS Management Scripts and Tools 

To make installing the role services easier, here is the ServerManagerCmd.exe command for Windows 2008:

ServerManagerCmd -i Web-Static-Content Web-Default-Doc Web-Http-Errors Web-Asp-Net Web-Http-Logging Web-Log-Libraries Web-Http-Tracing Web-Windows-Auth Web-Client-Auth Web-Filtering Web-Stat-Compression Web-Dyn-Compression Web-Mgmt-Console Web-Scripting-Tools

For Windows 2008 R2, open a PowerShell command window as Administrator and run the following commands:

Import-Module ServerManager
Add-WindowsFeature Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Asp-Net,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools

Comments (7)

  1. I wish these commands were on the RTM install image of Lync. Maybe they can land in SP1.

  2. Joachim Farla [MVP] says:

    Thank you!

  3. fred says:

    Thanks, I was looking for this error during Lync install.

  4. JC says:

    Great post thank you!

  5. gagan says:

    thanks a lot

  6. Dear i want to install Lync server 2013 just for educational purpose can you please give me lync server 2013 ISO Download link. i did not found on internet after long struggle and 2 days Search on google.

    1. dodeitte says:

      I don’t believe the trial for Lync Server 2013 is available anymore, but you can try Skype for Business Server 2015 here:

      https://www.microsoft.com/en-us/evalcenter/