Help Center/ Huawei Cloud Flexus_Huawei Cloud Flexus L Instance/ FAQs/ Remote Login/ What Do I Do If an Error Message Is Displayed Indicating That My Account Has Been Locked Out Due to Too Many Login Attempts or Password Change Attempts?
Updated on 2024-09-27 GMT+08:00

What Do I Do If an Error Message Is Displayed Indicating That My Account Has Been Locked Out Due to Too Many Login Attempts or Password Change Attempts?

Symptom

When you attempt to remotely log in to a Windows FlexusL instance server, an error message is displayed indicating that your account has been locked out due to too many login attempts or password change attempts.

Possible Causes

  • You have configured the account lockout policy in the Windows system. As a result, if the number of incorrect password attempts exceeds the upper limit, the account will be locked, resulting in failed remote logins.
  • You have selected the Windows Server 2022 public image when you purchase a FlexusL instance. In this image, the account lockout policy is enabled by default.

Solutions

To resolve this problem, you can use VNC to log in to a FlexusL instance server and set the account lockout threshold in the system group policy to 0.

  1. Log in to a FlexusL instance using VNC.

    For details, see Logging In to a FlexusL Instance Using VNC.

  2. In the lower left corner of the Windows OS, right-click Start and click Run.
  3. Enter gpedit.msc in the displayed dialog box and click OK. The Local Group Policy Editor page is displayed.

  4. On the Local Group Policy Editor page, choose Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy and disable the policy.
    Operations to disable this policy vary depending on Windows operating system versions. The following example is just for your reference. After the following configuration is complete, try to remotely log in to the FlexusL instance server again.
    • Double-click Allow Administrator account lockout, select Disabled, and click OK.

    • Double-click Account lockout threshold, set the value of Account will not lock out to 0, and click OK.