Administer Lync Server services from a remote Windows computer

Article ID: 2747217 - View products that this article applies to.
Expand all | Collapse all

Summary

Using the Windows PowerShell commands Get-Service, Set-service, Start-Service, Stop-Service, and Get-WmiObject provides administrators with a way to update, stop, start and view a list of all running and stopped services on a Windows server based computer. This also provides a convenient way to administer Lync Server  services located on a Windows server based computer, when access to the local Lync Server Management Shell is not possible. Here's a step by step on how to remotely administer the Lync Server services using Windows PowerShell commands.

More information

Requirements to perform remote administration of Lync Server services:

A Windows computer that is configured to support the Lync Server  Administrative Tools
  • The Windows computer that is used to remotely administer the Lync Server  service must meet the following hardware and software system requirements that are discussed in the following Microsoft TechNet articles:
Server and Tools Operating System Support
Administrative Tools Software Requirements

The Lync Server  Role Based Access Control (RBAC) permissions that are needed to administer the Lync Server Management shell and Lync Server  services
  • A user account that is a member of the Lync Server  (RBAC) Windows Active Directory security group CsAdministrator

    Note The CsAdministrator role has permissions to run all cmdlets

    For more details on on Lync Server RBAC permissions review the following Microsoft TechNet article:

    Role-Based Access Control
Administering Lync Server services from a remote computer

Use the following steps to launch the Lync Server Management Shell from the Windows Server console:

Using Windows Server 2012

  1. Press the Windows function key to access the Windows Start page
  2. Click on the Lync Server Management Shell tile
Using Windows Server 2008 or Windows Server 2008 R2

  1. Click on Start, All Programs, Microsoft Lync Server and then choose Lync Server Management Shell
Use the following steps to use the Windows PowerShell cmdlets to manage the Lync Server services:
  1. To list all Lync Server running and stopped services use the following Windows PowerShell command:

    PS C:\Users\Administrator.CONTOSO>Get-Service -displayname *lync*

  2. To stop or start a specific Lync Server service use either of these two Windows PowerShell commands:

    PS C:\Users\Administrator.CONTOSO>Stop-Service -name RTCDATAMCU
    PS C:\Users\Administrator.CONTOSO>Start-Service -name RTCDATAMCU

  3. To stop or start all Lync Server services use either of these two Windows PowerShell commands:

    PS C:\Users\Administrator.CONTOSO>Stop-Service -displayname *lync*
    PS C:\Users\Administrator.CONTOSO>Start-Service -displayname *lync*

  4. To troubleshoot the status of a specific Lync Server service use the following PowerShell command:

    PS C:\Users\Administrator.LAB277056> get-wmiobject win32_service | where-object {$_.Name -eq "RTCDATAMCU"}

    Note The following information will be returned to the Lync Server Management Shell console

    ExitCode  : 0
    Name      : RTCDATAMCU
    ProcessId : 7292
    StartMode : Disabled
    State     : Stopped
    Status : OK

  5. To change the StartMode of a specific Lync Server service type in the following PowerShell command:

    PS C:\Users\Administrator.LAB277056>set-service -name RTCDATAMCU -startuptype Automatic

    For detailed information on using the Windows PowerShell commands for Windows Server service management review the following Microsoft TechNet article:

    Windows PowerShell Management Cmdlets


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2747217 - Last Review: July 7, 2013 - Revision: 1.1
Applies to
  • Microsoft Lync Server 2010 Enterprise Edition
  • Microsoft Lync Server 2010 Standard Edition
  • Microsoft Lync Server 2013
Keywords: 
kbsurveynew KB2747217

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com