Prevent Sessions for Services

 

Topic Last Modified: 2012-01-05

You can use Microsoft Lync Server 2010 Control Panel to prevent new sessions for all the Lync Server 2010 services running on a specific computer or to prevent new sessions for a specific Lync Server 2010 service.

Note

If you have Edge Servers or Edge Server pools deployed, the Edge Server will be listed, but will always display a status of N/A. This indicates that the Lync Server 2010 Control Panel knows that you have an Edge Server or Edge Server pool, but due to credentials that the Lync Server 2010 Control Panel runs under, the status cannot be retrieved. Additionally, the options to start, stop, or prevent sessions to an Edge Server are not available. For security purposes, this is by design.
Using the Lync Server Management Shell on the Edge Server, you can control the Lync Server services. Refer to the following cmdlets:

  • Stop-CsWindowsService with the Graceful parameter will not accept new requests to the Lync Server service, but will wait until all existing connections have been serviced then stop the service. This behavior is the same as the Prevent new sessions for all services

  • Start-CsWindowsService will start a named Lync Server service.

  • Get-CsWindowsService will return the status of a named Lync Server service

To prevent new sessions for all Lync Server services on a computer

  1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010.

  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.

  3. In the left navigation bar, click Topology and then click Status.

  4. On the Status page, sort or search through the list as needed to find the computer that is running the services for which you want to prevent new sessions, and then click it.

  5. Click Action.

  6. Click Prevent new sessions for all services.

To prevent new sessions for a specific service

  1. From a user account that is a member of the RTCUniversalServerAdmins group (or has equivalent user rights), or assigned to the CsServerAdministrator or CsAdministrator role, log on to any computer that is in the network in which you deployed Lync Server 2010.

  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.

  3. In the left navigation bar, click Topology and then click Status.

  4. On the Status page, sort or search through the list as needed to find the computer that is running the service you want to start or stop, and then click it.

  5. Click Properties.

  6. Sort the list of services, if necessary, and click the service for which you want to prevent new sessions.

  7. Click Action.

  8. Click Prevent new sessions for service.

  9. Click Close.