How Do I Fix the Error 'user account has been locked because there were too many logon attempts' on Windows 2025?
Table Of Contents:
Overview of the error:
You may receive the following error message when you try to log on to your Windows 2025 server:
As mentioned in the error message, this is due to too many failed logon attempts or password change attempts.
If you can't regain access to your account, you will need to reinstall Windows 2025 on your server and then disable or edit your server's lockout policy to prevent this from happening again.
Follow these steps to regain access to your server:
- Re-install your server via the Customer Control Panel. If you're not sure how to do this, you can follow our guide here.
Please note that this process will erase all data on the server, so be sure to back up the server before performing the installation. If you don't have a backup of your data, you can use a rescue system to access your server and create a backup. For information on how to run a rescue system, follow our guide here. - Once you have re-installed your server and regained access to it, you can disable or edit your server's lockout policy. To do this, access your server's "Control Center" and locate "Edit Group Policy".
- Open "Edit group policy" and the following window should open:
- Open "Computer Configuration" and you should see the following:
- Open "Windows Settings" and you should see the following:
- Click "Security Settings" and you should see the following:
- Click "Account Policies" and you should see the following:
- Click "Account Lookout Policy" and you should see the following:
- Click "Account lockout threshold" and you should see the following:
- If you want to turn off the lockout function completely you can set the number above to 0, or you can just raise the number of invalid login attempts to trigger a lockout to be higher.
- Once you're done click the "Apply" button and then the "OK" button.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article