Home AZDIGI GuideVPS Fixing the error “the user account has been locked”

Fixing the error “the user account has been locked”

by Lê Quyền
Published: Last Updated on
A+A-
Reset

In this article, AZDIGI will guide you on how to fix the error “the user account has been locked.”

Cause

If you are unable to log in through Remote Desktop due to this error, 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.

Untitled

How to fix

Step 1: Log in to the management page

Since remote access to the VPS is not possible, use the VNC function in the “Server Information” section to log in to the VPS.

image

Then, click on the “Launch HTML 5 VNC Client” section as shown below

image 1

tep 2: Connect to the VPS

Enter the password to log in to the VPS; here, you can only enter manually, and copying/pasting is not possible. Therefore, enter carefully to ensure accuracy.

image 2

Step 3: How to fix it

After logging in, navigate and perform the following steps:

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

image 3

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.

Conclusion

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

Note for VPS using Windows 10: If you do not activate the Windows license, you will RECEIVE a minimum of 2 vCPUs.

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign