To repair the Windows registries, you can go to the Windows Settings -> Update & Security -> Recovery -> Advanced Startup -> Restart Now. Then, select Troubleshoot on the screen in the screen of Choose an Option. Select the Automated Repair using Advanced Options. Now, you can log in to your account after selecting the account.