
Using this clean registry key I could now combine what I needed to make this happen. This I could use as a clean reference point for the registry and make editing a lot simpler and without the need for complex scripting. To make editing the registry a little easier, I decided I would export the entire Lync key from HKCU\Software\Microsoft\Office\15.0\ in its clean state with no user accounts created and store this as a. Therefore simply deleting this file is not sufficient to prevent automatic sign in and you must remove / edit the registry entries too. The workload suggests that the Skype for Business client first interrogates this file for the default user sign in information before looking at the registry. Looking closer at the problem, I discovered that in addition to the registry, the default sign in address is picked up from a file called AccountProfiles.dat, which is located in %APPDATA%\Microsoft\Office\15.0\Lync\. Interestingly, although when delete my sign in info was executed the default sign in address was still the previous user. Comparing the registry between before and after displayed 94 entries that had been deleted or modified in some way. Looking into the workload for the client I decided to take a registry snapshot before and after the “Delete my sign-in info” link was clicked. For computers that are used in public or common areas, users who use the Skype for Business client application for conferences etc would have to manually sign out of the client and delete their sign in information in order for the next user to use the device using their own credentials.Īn interesting “feature” of the Skype for Business application is that even if you click “Delete my Sign-In Info” link it doesn’t actually prevent Skype for Business attempting to sign back in on next logon with the previous credentials, especially if the previous user has ticked the “Remember Password” option.


I came across an interesting scenario today where there was a requirement to prevent the Skype for Business client from automatically signing back in using the previous credentials entered.
