Skip to main content

Best practice to upgrade Lync Server 2013 Enterprise edition.

Best practice to upgrade Lync Server 2013 Enterprise edition.
Best practice to install cumulative update on Lync Server 2013. 

You can follow below steps to upgrade Lync Server 2013. 


1.    Login to Lync Front End server using member of RTCUniversalServerAdmin, CsAdministrator account.  Additionally you must have SQL DB sys admin permission in order to upgrade the back end (SQL) database.

2.    Download LyncServerUpdateInstaller.exe (e.g. On Lync Server.

3.    Run the Get-CsPoolUpgradeReadinessState cmdlet to get the state of Lync Server 2013.

State must be ready.

4.    If server is not in ‘Ready’ state then wait for sometime and then check server again.

5.    If server is Ready state then check ReadyforUpgrade status using same above cmdlet.

ReadyforUpgrade status is True then start upgrade process.  See the screenshot.


6.    Get the connection status using Get-CsWindowsService to know the active connections?

7.    Run the Get-CsPoolFabricState -PoolFqdn to know the specified server does not holding any connection.

8.    Stop new connections to the front-end servers by using the

Stop-CsWindowsService -Graceful cmdlet.

9.    Run the Cumulative Server Update Installer LyncServerUpdateInstaller.exe by double clicking on it or command prompt to upgrade the front-end servers that are associated with an upgrade domain.

10.Restart the server, and make sure that Server is accepting new connections after restart.

11.Move on to next server.

Note: Make sure to upgrade all Front End, Edge Servers and P-chat server.

12.After updating All FE server now time to update backend Server that is your SQL database.

13.If you have  SQL mirroring then Run cmdlet: Invoke-CsDatabaseFailover -NewPrincipal Primary

Make user the primary server is principal for all databases.

14.Run: Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn -Verbose

Cmdlet to update back end database.

NOTE: No need to update CMS database if CMS is on Lync Server 2010 front end pool.

To update the CMS database, run below command let:

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn -SqlInstanceName -Verbose


15.Rum cmdlet:  Enable-CsTopology to enable the Mobility service.

16.Run the Bootstrapper.exe to Enable the Unified Communications Web API on each Lync 2013 front end server.

Path: %ProgramFiles%\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe 

Cumulative updates need to apply for: Frond End server, Back end, Edge Server and Director Server.

Additional steps for Lync Server 2013 Monitoring/Archiving/Persistent Chat Databases

*If Lync Server 2013 Monitoring/Archiving/Persistent Chat databases are deployed on stand-alone SQL databases, run the following command:

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn -Verbose

Thank you.


  1. Looking for the Best Dating Site? Create an account to find your perfect date.


Post a Comment

Popular posts from this blog

Outlook Add-in for Skype meeting getting disable after restarting Outlook.

Issue: Outlook Add-in for Lync meeting getting disable after restarting Outlook.
Problem Statement: Outlook Add-ins gets install automatically when Office 2013 installs (Lync and Skype for Business clients are part of Office package). Add-ins name is Lync Meeting Scheduling Outlook Addin or Skype meeting Add-in for Microsoft Office 2013. Sometime if other add-ins conflict with Outlook add-ins then outlook add-in keep getting disabled. And user has to enable it manually after Outlook restarts. 
Resolution: By default Lync Meeting Scheduling Outlook Addin or Skype Meeting Add-in for Microsoft Office 2013 installs wit load behavior "Load at Startup". However due to some conflict users Lync or Skype add-ins load behavior get changed to loaded instead of "Load at Startup" had to re-enable Lync Meeting Add-In in each time Outlook 2013 was started as it was not set to "Load at Startup". Look at the below screenshot. Now question is how we can change load behavior …

Unable to share desktop in Skype for Business?

Unable to share desktop in Skype for Business?
You can show your entire desktop or just a program to everyone in a Skype for Business Meeting, call, or instant messaging (IM) conversation. However sometime this feature does not work and give different errors.  Error message: ·Cannot start Desktop/Application Sharing due to network issues. ·An error occurred during the screen presentation. Resolution: There are multiple thing which may affect application/desktop sharing. 1.Make sure application / desktop sharing enabled on Skype for Business / Lync Server. SfB /Lync Control Panel > Conferencing > Conferencing policy > select Global or create new policy and set enable ‘Enable application and desktop sharing’. Refer below image. 2.Make sure your Skype for Business (Lync) client is updated with latest cumulative updates. Download latest update Skype (Lync) client. 3.Update your Video and Display drivers. a.Go to Start > Control panel. b.Search for Device Manager, and then open it. c.Find V…

Unable to login to Skype for Business client?

Unable to login to Skype for Business client? In order to sign-in on Skype (Lync) you must have login credential provided to you from your organization. ·Sign-in address: ·User name: orgname\bilag ·Password: ************
Note: is my SIP domain name. Here are the most common mistake people make while sign-in on Skype for Business (Lync).
1.If you have login credential however still unable to sign-in then make sure you are putting proper login credential. Below error shows when you are wrong entering your sign-in address:
2.If you are writing correct Sign-in address however getting DNS error then contact administrator/ Support team there may be a DNS resolution or configuration issue. Administrator need to verify the SfB (Lync) AutoDiscover DNS records. 3.Sometime users password may expired/ lockout: Make sure that you password is not expire and lockout. If yes then call to helpdesk and reset your password / unlock. 4.Make user to have updated Skype for Business cli…