Ready to accept that upgrade to Skype for Business, but need to keep the Lync UI around for updating your documentation or supporting users until
they're ready to switch to Skype for Business? Use these PowerShell functions to quickly switch between client versions - it"s just a matter of the UI!
The version of Lync 2013/Skype for Business displayed is determined by either Client Policy or the registry key HKCU:\Software\Microsoft\Office\Lync\EnableSkypeUI. My script provides functions that check the value of this key, set it to 00 00 00 00 (Lync)
or 01 00 00 00 (Skype for Business), then find, stop and restart your client. On my SSD-equipped mid-range laptops, this takes about 5 seconds :)
Works with Lync full client from Office 2013 Professional Plus, as well as Lync basic client.
More details on my blog: http://mandie.net/2015/03/18/skypeui-switch-in-powershell
Works with Windows 7 and 8, as well as Window 10 Technical Preview (up to 10049)
v1.02, 21 April 2015:
- The script now discovers the location of your Lync.exe, so no longer depends on you having Lync/Skype for Business running when you decide to switch UIs
- EnableSkypeUI registry key changed to 01 00 00 00 instead of 00 00 00 01 to better mimic behavior when server-side Client Policy is EnableSkypeUI = $true (http://www.msxfaq.de/lync/skypeforbusiness/skype4b-client.htm).
- You can make a convenient shortcut for always starting in Skype for Business or Lync UI by uncommenting one of the lines at the end
- If your server-side EnableSkypeUI is set to the opposite of what you're wanting to run or your Lync Servers have not been updated to December 2014 CUs or later, you will need to click "Restart Later" to the pop-up that comes up. Because the registry key
is set back right after you log on to Lync/Skype for Business, you will need to start your client with this script every time in order to go against the wishes of your Lync admin :)
- No guarantees on how this will behave with Skype for Business Server (feedback very welcome!)