Custom presence states can be configured with the Available, Busy, and Do Not Disturb presence indicators. The availability attribute determines which presence indicator is associated with the status text of the custom state.
Copy the following text and save into a new text file named presence.xml saved somewhere on the local workstation. (e.g. c:\Windows\presence.xml).
Define your custom status in a simple XML file, like:
Save this as “presence.xml” in a folder that is readable by your users; in this example we’ll place it in C:\Windows.
Fire up your Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator and create a new REG_DWORD value named EnableSIPHighSecurityMode, value = 0.
Also create a REG_SZ value called CustomStateURL in the same place, with the value file:///C:\Windows\presence.xml.
For Lync 2013 we need to create the registry values in a different place. In your Registry Editor navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\ and create a key called Office under the Microsoft key, then create a key called 15.0 under Office, and then create a key called Lync under 15.0:
Create the same values as before for EnableSIPHighSecurityMode and CustomStateURL within the Lync key.
Log out and exit from Lync Client and log in again, now you can see the customized presence: