Install Lync 2010
Jump to navigation
Jump to search
This page contains code snippets. While they are verified to be safe to run, read through them fully and make sure you understand them before attempting to run them. |

Lync 2010 is Microsoft's real-time instant messaging and telephony platform. It supports both software and hardware based (known as Lync Phone Edition) clients, and uses SIP on the backend.
System requirements for Lync: (to be determined? unlike Exchange, Microsoft has basically wiped themselves clean of Lync and most of it never got archived)
Installation Instructions
To automatically install all built-in Windows prerequisites on 2008 R2 (skipping step 2 and some time later), you can use this PowerShell snippet:
Import-Module ServerManager Add-WindowsFeature NET-Framework,RSAT-ADDS,Telnet-Client,Web-Server,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Http-Redirect,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Mgmt-Console,Web-Scripting-Tools -Restart
- Install AD CS onto your domain controller
- Install .NET Framework 3.5
- For 2008 R2, you can just enable the feature in Server Manager
- For 2008, the offline installer is still available from Microsoft Download or Legacy Update
- Insert the Lync Server 2010 installation media and run the installer
- Click Yes when prompted to install the Visual C++ Redistributables
- Click Install to accept the default installation folder
- Read and accept the license agreement
- On the right side, click
Install Topology Builder - Click
Prepare Active Directory - Click Run under
Prepare Schema - Click Run under
Prepare Current Forest, make sure to select Local domain - Click Run under
Prepare Current Domain - Add the account you want to administer Lync with to the
CSAdministratorandRTCUniversalServerAdminsgroups, then log out and back in - Reopen the installer, and on the right side, click
Prepare first Standard Edition server - Create a share called LyncShare
- Make a folder somewhere on your drive titled
lyncshare(for exampleC:\Program Files\Microsoft Lync Server 2010\LyncShare) - Allow Read & Execute permissions for Everyone, and make sure Administrators have Full Control
- Enable file sharing on the folder, name it
lyncshare, and give the account you're installing Lync on Full Control
- Make a folder somewhere on your drive titled
- Launch the Lync Server Topology Builder
- Select
New Topologyand select a location to save the topology file to - Set the primary SIP domain to whatever your Active Directory domain is
- Skip adding additional domains (the option seems to be grayed out anyways)
- Set your site's name (other site details are optional)
- Finish the topology wizard and open the New Front End Wizard
- Set the Pool FQDN to the server you're installing Lync Server on, then select Standard Edition Server
- Select features as desired, keep Collocated Mediation Server on, leave the server roles off
- Point the file share to the share you made earlier
- Skip adding extra SIP gateways
- On the right, click
Edit Properties, modifyAdministrative access URLto your liking, and choose the Front End server to install Central Management Server to - On the right, click
Publish Topography - Modify your DNS records as the to-do list states
- Go back to the Deployment Wizard and click
Install or Update Lync Server System - Click Run under
Install Local Configuration Storeand keep the default option to retrieve the config automatically - Click Run under
Setup or Remove Lync Server Components. If WMF fails to install, rundism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheckand reboot the server before trying again - Click Run under
Request, Install or Assign Certificates, then request a certificate from AD CS. Give the certificate a name likeLync Certificate, fill out the detail fields, and check your SIP domain to be included. Assign the certificate to the Lync server - Click Run under
Start Servicesand hope it works
Once installed, there will be some things you have to do in order to use Lync fully.

- To get automatic client configuration working, configure an SRV record for
_sipinternaltlsand_tcpon port 5061 for the Lync server - Upon updating the server, conferencing will most likely break.
- Apply the following registry key, then run
iisreset /restart:
- Apply the following registry key, then run
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL] SendTrustedIssuerList=dword:0