UserLock Frequently Asked Questions
My users are getting the message 'this code is invalid’ when entering the MFA code.
When users authenticate with TOTP using an authentication application on their smartphone, this message can appear even when entering the correct code if the time on the phone is not synchronized with the time on the UserLock server.
Regardless of the application you choose, make sure that the date and time of the end users' smartphone is correct. It is recommended to set the date and time automatically, otherwise the codes generated by the application cannot be validated.
Here is a quick way to correct Windows Server time synchronization:
Type the following commands on PowerShell:
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL