Topic Last Modified: 2013-02-22

You can use the following procedure to disable a previously enabled user account in Lync Server 2013 without losing the Lync Server settings that you configured for the user account. Because you do not lose the Lync Server user account settings, you can re-enable a previously enabled user account again without having to reconfigure the user account.

To disable or re-enable a previously enabled user account for Lync Server

  1. From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  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 Users.

  4. In the Search users box, type all or the first portion of the display name, first name, last name, Security Accounts Manager (SAM) account name, SIP address, or line Uniform Resource Identifier (URI) of the user account that you want to disable or re-enable, and then click Find.

  5. In the table, click the user account that you want to disable or re-enable.

  6. On the Action menu, do one of the following:

    • To temporarily disable the user account for Lync Server 2013, click Temporarily disable for Lync Server.

    • To enable the user account for Lync Server 2013, click Re-enable for Lync Server.

Using Windows PowerShell to Disable or Re-enable User Accounts

User accounts can be temporarily disabled, and then later re-enabled, by using the Set-CsUser cmdlet. You can run this cmdlet either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at http://go.microsoft.com/fwlink/p/?linkId=255876.

To disable a user account

  • To temporarily disable a user account, set the value of the Enabled property to False ($False). For example:

    Copy Code
    Set-CsUser -Identity "Ken Myer" -Enabled $False
    

To re-enable a user account

  • To re-enable a disabled user account, set the value of the Enabled property to True ($True). For example:

    Copy Code
    Set-CsUser -Identity "Ken Myer" -Enabled $True
    

For more information, see the help topic for the Set-CsUser cmdlet.

See Also