Some time ago I published an article to reset the Communicator/Lync 2010 Sign-In Address because in some scenario’s you want to change the SIP Address and you don’t want to bother the users to change the Sign-In Address manually in the client, you may want to automate this, then you have to do the following
Reset Sign-In address in Communicator (automatic vs manual configuration)
Unfortunately this method no longer works with Lync 2013 & Skype for Business, we have to use another way
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Lync Registry key
Remove the data in the ServerSipUri field.
Lets restart the Skype for Business client and what happens, the client just logs into the existing address
The Registry entry ServerSipUri is still empty but the Sign-In Address is picked up somewhere else.
Navigate to C:\Users\UserName\AppData\Roaming\Microsoft\Office\16.0\Lync and locate the file AccountProfiles.dat and open up this file
This file contains the cached Sign-In Address
Lets delete this file
Startup the Skype for Business client again and you will see the behavior you see when running the client for the first time. In my case it asks for email@example.com but if you are connected to Active Directory then Skype for Business will automatically search for the users SIP Address and Sign-In automatically
Now Sign-IN with the new SIP Address or configure the value of ServerSipUri in the registry with the right SIP Address or when connected to Active Directory you don’t have to do anything.
Now restart the Skype for Business Client and the New Sign-In Address is picked up
Also the cache file is generated again with the new address
Conclusion : To Reset the Sign-In Address in Skype for Business do the following (manually or scripted)
- Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Lync Registry key and remove the value in ServerSipUri
- Navigate to C:\Users\UserName\AppData\Roaming\Microsoft\Office\16.0\Lync and delete the file AccountProfiles.dat