Articles on: Windows VPS

How to fix the error "Account has been locked" in your Windows RDP

How to Fix the Brute-Force Issue on Your RDP


If you see the following error when connecting to your RDP:





"As a security precaution, the user account has been locked 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."



Don't worry. This message means that malicious bots have been trying to brute-force your RDP access, and your account has been temporarily locked as a safeguard. Infrawire has built a feature to protect you from this.

Securing your RDP access


  • Go to Servers and click on your server. If your VPS is an RDP, it will be detected automatically and an alert will appear.



Click the "Protect my RDP Access" button.


  • A pop-up will ask for your IP address. It is pre-filled with your current IPv4 address, so if you connect to your RDP from the same network you're configuring the protection from, you don't need to change anything.



  • If several IP addresses need access, separate them with commas. For example:

In the allowed addresses field, enter: 192.168.1.1,192.168.1.2


    • Employee 1: 192.168.1.1
    • Employee 2: 192.168.1.2


Click "Apply the protection".



That's it! Your RDP can now only be accessed from the IP addresses you've authorized.


If the error appeared recently


If you've just received the "account locked" message, we recommend shutting down your RDP and starting it again after about 2 hours. The lockout should then be lifted.



Changing or adding IP addresses later


You can update your allowed addresses at any time: go to Firewall and click "Change the allowed addresses".
We hope this guide helps. If you run into any trouble, our team is always happy to assist.


Updated on: 26/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!