Posts

Showing posts from June, 2024

Cant login VM on hosted cloud "user account has been locked because there were too many login attempts"

Image
  We recently encountered a recurring issue and wanted to share our resolution steps with the community.   Issue:   Despite restarting the environment from both the Azure portal and LCS and resetting the password for the  builtin\Admin  user, we faced a persistent issue. Whenever we logged in using the  builtin\Admin  account, the problem remained. Solution: Here’s how we resolved it: Log in with an Alternate Account : Open RDP using the  builtin\User  account. Run Command Prompt as Admin : Open the Command Prompt with administrative privileges using the same credentials provided in LCS. Modify Local Computer Policy : Run the following command to open the Local Group Policy Editor:   gpedit.msc Navigate to:  Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Account Lockout Policy . Change the value of  Account lockout threshold  to  0 . Click  Apply  and  OK . In the Command Prompt, run:   gpupdate /force ·   Update Group Policy and Unlo