Configuring Custom Presence States

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

To define custom presence states in Office Communicator, you create an XML custom presence configuration file, and then specify its location with the CustomStateURL registry key.


Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

Configuration files have the following properties:

  • Custom states can be configured with Available, Busy, and Do Not Disturb.

  • The availability attribute determines which Presence button is associated with the status text of the custom state. In the example below, the status text, Working from Home, is displayed to the right of the Presence button.

  • The maximum length of the status text is 64 characters.

  • A maximum of four custom presence states can be added.

  • Valid address types for the CustomStateURL registry key are FILE:, HTTP:, and HTTPS:

Examples of valid addresses are as follows:



To localize custom presence states using Locale ID schemas

  • Localize your custom presence state by specifying one or more Local ID (LCID) schemas in the XML configuration file. The example in the next section, To add custom presence states to Office Communicator 2007, shows localization into English - United States (1033), Norwegian - Bokmål (1044), French - France (1036), and Turkish (1055). For a list of LCIDs, see List of Locale ID (LCID) Values as Assigned by Microsoft.

To add custom presence states to Office Communicator 2007

  1. Create an XML configuration file, following the format of the example below and modifying the attribute values shown in bold.

    <?xml version="1.0"?>
    <customStates xmlns=
      <customState ID="1" availability="online">
        <activity LCID="1033">Working from Home</activity>
        <activity LCID="1044">activity 2 for 1044</activity>
        <activity LCID="1055">activity 3 for 1055</activity>
      <customState ID="2" availability="busy">
        <activity LCID="1033">In a Live Meeting</activity>
        <activity LCID="1036">Equivalent French String for - In a Live Meeting </activity>
      <customState ID="3" availability="busy">
        <activity LCID="1033">Meeting with Customer</activity>
        <activity LCID="1055">meeting with client</activity>
        <activity LCID="1036">Equivalent French String for - Meeting with Customer</activity>
      <customState ID="4" availability="do-not-disturb">
        <activity LCID="1033">Interviewing</activity>
  2. Save the XML configuration file to a location on a trusted network site or on the local computer. In this example, the file is named Presence.xml, and is placed on the network share \\server\comshare.

  3. Exit Communicator.

  4. In a text editor, prepare a Registry Editor (.REG) file similar to the following:

    Windows Registry Editor Version 5.00
  5. Save the file with a .REG extension, and then double-click it to add the CustomStateURL value to the computer's registry. Note that you can also add this registry key to the HKEY_CURRENT_USER section of the registry, but entries in HKEY_LOCAL_MACHINE take precedence.

  6. Restart Communicator as usual.

    The Office Communicator Status menu now contains the custom presence states you defined.

    Figure 3.   Presence menu with custom presence states