How to fix the error “As a security precaution, the user account has been locked” on RDP VPS

Estimated reading: 3 minutes 57 views

In this article, Greencloud will guide you on how to fix the error “As a security precaution, the user account has been locked.”

Cause

Suppose you are unable to log in through Remote Desktop due to this error. In that case, it is because the default lockout policy for your operating system is set to temporarily lock the account after multiple incorrect login attempts.

As a security precaution, the user account has been locked out because there were too many logon attempts or password change attempts. Wait a while before trying again, or contact your system administrator or technical support.

How to fix:

Method 1: Complete each step in the user interface.

Step 1: Log in to the management page

Since remote access to the VPS is not possible, you can log in to it using the VNC function in the “Product details” section.

Then, click on the “Open Console” section as shown below

Step 2: Connect to the VPS

Enter the password to log in to the VPS. Please note that manual entry is required, as copying and pasting are not supported. Therefore, enter carefully to ensure accuracy.

Also, please refer to the instructions for connecting via Open console at the following link:

https://green.cloud/docs/how-to-access-the-windows-vps-via-open-console/

Step 3: How to fix it

After logging in, navigate and perform the following steps:

Go to “Settings” => select “Edit Group Policy

Continuing, choose > “Computer Configuration

image 5

In “Computer Configuration”, select “Windows Settings”

CleanShot 2023 12 03 at 20.41.01

Next, choose “Security Settings”

CleanShot 2023 12 03 at 20.42.22

Then, select “Account Policies”

CleanShot 2023 12 03 at 20.46.22

Next, choose “Account Lockout Policy”

CleanShot 2023 12 03 at 20.47.42

Then, select “Account Lockout Threshold”
Here, it is clearly stated that after 10 invalid login attempts, the account will be locked, and the lockout duration will be 10 minutes.

CleanShot 2023 12 03 at 20.48.28

To resolve this, change the value from “10” to “0” After that, select Apply > OK > OK

CleanShot 2023 12 03 at 21.01.20

After completion, you will see the changed values as shown in the image:

CleanShot 2023 12 03 at 21.02.44

Step 4: Update configuration

Open the “CMD” window with administrator privileges and run the following command to enforce the changes:

gpupdate /force
CleanShot 2023 12 03 at 21.32.32

This successfully disables the blocking feature and removes the block when there are multiple incorrect login attempts to the VPS. Now, users should be able to remote into the VPS.

Method 2: Execute commands in the command-line interface.

This way, it will be faster. You open Command Prompt and run as administrator as below.

CleanShot 2024 09 07 at 23.21.16

Then enter the following 2 commands to turn it off.

net accounts /lockoutthreshold:0
gpupdate /force

Now let’s do Remote Desktop again. Good luck with your implementation.

Conclusion

The above is a guide on how to troubleshoot the issue of the admin account being temporarily locked on Windows if you encounter this situation. Hopefully, Greencloud‘s shared guide will be helpful to you. Wishing you success!

Share this Doc

How to fix the error “As a security precaution, the user account has been locked” on RDP VPS

Or copy link

CONTENTS