Basic troubleshooting always begins with making sure that the Lync Server services are all running. When services are in a stopped state, users will see many issues such as being unable to sign in or connect to the server. Verify that the following services are configured to start automatically and are running. Verification of the services can be done either through the traditional Services MMC or through the Lync Server Management Shell.
To verify that the services are running, open the Lync Server Management Shell and run the Get-CsWindowsService
cmdlet. As shown here, this cmdlet returns both the service status and how many active connections exist, which can be valuable information when a server is being drained for maintenance.
PS C:> Get-CsWindowsService
Status Name Activity Level
Running W3SVC
Running REPLICA
Running RTCCLSAGT
Running RTCSRV Incoming requests per second=0
Running RTCCAA Concurrent Calls=0
Running RTCCAS Concurrent Conferences=0
Running RTCRGS Current Active Calls=0
Running RTCCPS Total Parked Calls=0
Running RTCATS Current Active Calls=0
Running RTCIMMCU Active Conferences=0
Running RTCDATAMCU Active Conferences=0
Running RTCAVMCU Number of Conferences=0
Running RTCASMCU Active Conferences=0
Running RTCMEDSRV Current Outbound Calls=0
The following command quickly identifies nonrunning services by skipping the activity check:
Get-CsWindowsService -ExcludeActivityLevel | Where-Object {$_.Status -ne "Running"}