In previous releases of Office Communication Server, like 2007 and 2007 R2, you could use Group Policies, to add and change the value of a registry DWORD value called “EnableAppearOffline” to 1, but now in Lync this is not necessary anymore since Lync enables you to create Client Policies!
Client Policies in Lync:
* replace group policy settings used in previous versions of the product
* enable you to tweak client settings, which will be enforced every time a user logs into Lync
For more information about Client Policies, head over to the following TechNet Articles:
With a client policy, you can control any of the following settings:
In this example, I will create a new CsClientPolicy, called “Users in Brussels”, which will:
<?xml version="1.0"?> <customStates xmlns="http://schemas.microsoft.com/09/2009/communicator/customStates">
<customState ID="1" availability="online"> <activity LCID="1033">Working from Home</activity> </customState> <customState ID="2" availability="busy"> <activity LCID="1033">Attending Online Training</activity> <activity LCID="1036">Suivre un Training Online</activity> </customState> <customState ID="3" availability="busy"> <activity LCID="1033">Meeting with Customer</activity> </customState> <customState ID="4" availability="do-not-disturb"> <activity LCID="1033">Demo Time</activity> </customState></customStates>
and then I will grant the policy to all users that have Brussels as their office.
Using the Lync Shell cmdlet New-CsClientPolicy
Check who has got their office set to Brussels…
Grant and check the Client Policy….
After logging in as Annelies Bulkens, it is clear the settings have been applied!
(By default, Lync will update client policies and settings every three hours…signing out and in, will force them immediately )
Custom Presence States, and Appear Offline is available, same for logging…
And when starting and joining an IM conversation, the IM warning will pop up: