Enabling Lync/SfB Client to use proxy server for SIP traffic instead of trying direct connection

Update 2017/09/12 – Added SfB2016 MSI (16.0.4588.1001).

We had some reports that when trying to sign in to Skype for Business Online users were experiencing delays during the sign in process.

This behavior was related to environments were the Lync/SfB client is configured to use a Proxy Server to connect to the Skype for Business Online servers.

After researching the delay was occurring because the client was trying establish a direct connection and only after that connection timed out it would try to connect using the configured Proxy Server:

As a workaround we could configure the Firewalls to send RESET Packets and the Lync/SfB client won’t wait for the connection attempt to timeout.

Since the following client updates we can use a registry key to force the client to use proxy for all connections:

December 6, 2016, update for Skype for Business 2015 (Lync 2013) (KB3127976) (15.0.4885.1000)

Description of the security update for Skype for Business 2016: September 12, 2017 (16.0.4588.1001)

Office 365 ProPlus/Office Professional Plus 2016 Click-to-Run

Version 1611 (Build 7571.2072) – December 6, 2016

To configure Lync/SfB client to use a proxy server for SIP Traffic without attempting a direct connection we need to add the following registry key:

reg add HKCU\Software\Microsoft\UCCPlatform\Lync /v EnableDetectProxyForAllConnections /t REG_DWORD /d 1 /f

Note: This registry key is only available on a User Level, we cannot add it under HKEY_Local_Machine.


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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.