Enforce phone locking in Lync Server 2013
Topic Last Modified: 2013-02-23
Lync Phone Edition devices can be locked for security purposes. If you enforce phone lock, the device running Lync Phone Edition locks after a period of time that you configure. When a phone is locked, a user can make calls but cannot access calendar and contact information, voice mail, or call logs or use search. To unlock the phone, the user enters a PIN.
To enforce phone lock, enable and configure it by using Lync Server Control Panel or Lync Server PowerShell cmdlets. You can enforce phone lock globally or only within the site for which it is configured.
To configure and enforce the phone lock
From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.
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 2013 administrative tools.
Click Clients, and then click Device Configuration.
On the Device Configuration tab, in the list of device configurations, double-click the configuration for which you want to change the phone lock settings.
In the Edit Device Configuration dialog box, verify that the Enforce device locking check box is selected.
In Minimum PIN length, accept the default value for the minimum number of digits that the unlock PIN must contain or specify a new value. The range for the PIN length is four to 15 digits, and the default is six.
In Phone lock time-out, accept the default value for the minimum length of time before the phone locks itself or specify a new value. The range for the timeout is 0 to 60 minutes, and the default is 10. Enter the value in the format HH:MM:SS.
Click Commit.
Enforcing Phone Locking by Using Windows PowerShell Cmdlets
Phone locking can be enforced by using the Set-CsUCPhoneConfiguration cmdlet. This cmdlet can be run 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 https://go.microsoft.com/fwlink/p/?linkId=255876.
To enable phone locking
The following command enables phone locking for the Redmond site. To disable phone locking, set the EnforcePhoneLock property to False ($False).
Set-CsUCPhoneConfiguration -Identity" site:Redmond" -EnforcePhoneLock $True
To enable phone locking and modify the phone lock timeout
This command enables phone locking and also sets the phone lock timeout to 30 minutes.
Set-CsUCPhoneConfiguration -Identity" site:Redmond" -EnforcePhoneLock $True -PhoneLockTimeout "00:30:00"
To enable phone locking throughout the organization
In this example, phone locking is enabled on all the UC phone configuration settings in use in the organization.
Get-CsUCPhoneConfiguration | Set-CsUCPhoneConfiguration -EnforcePhoneLock $True
For more information, see the help topic for the Set-CsUCPhoneConfiguration cmdlet.