Understanding Lync in UI Suppression Mode and Set the Registry


Start developing apps that uses Lync SDK in UI Suppression mode, you must understanding the tradeoffs that you’re making is important; i.e. you are responsible for creating custom versions of almost the entire Lync client user interface. Additionally, your application has to programmatically sign the user into the Lync client using a custom login interface that you are also responsible for creating.

All the user interface elements of the Lync client are not visible when it is running in UI Suppression mode except the VideoWindow control that is used to render video. The VideoWindow control is only available when running in UI Suppression mode. Later in this chapter, you learn how to access the VideoWindow when working with conversations that use the AudioVideo modality.

The Lync controls are not available when the Lync client is running in UI Suppression mode; they are automatically grayed out and disabled. You must create your own custom versions of controls.

Automation is also unavailable when running in UI Suppression mode. Automation provides an easy way to start conversations in all modalities; however, it relies on Lync user interface elements such as the conversationwindow.

Configuring Lync UI Suppression

Lync UI Suppression mode is configured in the registry. When the Lync client is put into UI Suppression mode. To put Lync into UI Suppression mode, you must create and set a registry key called UISuppressionMode in the appropriate location in the Windows registry depending on whether you’re running the 32 – bit or 64 – bit version of the Lync client.

After Setting the Registry to run the Lync client in UI Suppression Mode the client is disappeared and doesn’t opened unless you update the registry again to run outside of UI Suppression Mode

Enable UI Suppression mode in the Lync Client 32-bit Version

Create a key in the registry and name it UISuppressionMode and set its value to 1 in the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Communicator

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Communicator]
"UISuppressionMode"=dword:00000001

Enable the UI Suppression mode in the Lync Client 64-bit Version

Create a key in the registry and name it UISuppressionMode and set its value to 1 in the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Communicator

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Communicator]
"UISuppressionMode"=dword:00000001

Disable the UI Suppression mode in the Lync Client 32-bit

Set the UISuppressionMode registry key value back to 0

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Communicator]
"UISuppressionMode"=dword:00000000

Disable the UI Suppression mode in the Lync Client 64-bit

Set the UISuppressionMode registry key value back to 0

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Communicator]
"UISuppressionMode"=dword:00000000

(Source: Professional Unified Communications Development with Microsoft Lync Server 2010 by George Durzi and Michael Greenlee)

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s