For Keyset errors related to Teams not properly authenticating please try running these commands in a 'Run as Administrator' CMD window.
dsregcmd /debug /leave
dsregcmd /forcerecovery