Hier is de opgeschoonde, schone HTML waarin alle overbodige container-divs, ChatGPT/UI-klassen, `data-*` attributen en inline spatiëringstekens (` ` / `\u00a0`) zijn verwijderd.
Je kunt onderstaande code direct kopiëren en plakken:
“`html
Introduction
Some users may encounter issues when connecting to a Windows server through Remote Desktop (RDP), receiving an error similar to:
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.
This message indicates that the Windows user account has been temporarily locked due to multiple unsuccessful login or password attempts.

The account can be unlocked by accessing the server through the server console.
Cause
This issue occurs when Windows detects multiple unsuccessful authentication attempts for the user account.
Common causes include:
- Multiple incorrect RDP login attempts.
- An incorrect or outdated password being used.
- Saved RDP credentials containing an old password.
- A service or scheduled task using an outdated password.
- Another device or application repeatedly attempting to authenticate with the affected account.
Windows locks the account as a security precaution to help protect it against repeated unauthorized login attempts.
Solution
Access the Server Console
If RDP access is unavailable, you can access the server directly through the console.
- Log in to the Snel Client Area.
- Open the relevant server.
- Click Console to access the server.
- Log in using an administrator account.
Unlock the User Account
Once logged in through the console:
- Press Windows + R.
Enter:
compmgmt.msc- Click OK.
Navigate to:
Computer Management → Local Users and Groups → Users
- Locate the affected user account.
- Right-click the account and select Properties.
- If the account is locked, clear the Account is locked out option.
- Click Apply and then OK.
After unlocking the account, try connecting to the server again using RDP.
Reset the Password if Required
If the user is unsure whether the correct password is being used, the administrator can reset the password from the user’s Properties menu.
After changing the password, make sure the new password is used when connecting through RDP.
Prevent the Account from Being Locked Again
If the account becomes locked again after being unlocked, we recommend checking the following:
Create an Additional Administrative User
The built-in Administrator account is commonly targeted by automated brute-force attacks. We recommend creating a separate administrative user with a different username and using it for administrative RDP access.
For detailed instructions, see:
How to Create an Additional Administrative User on a Windows Server
Restrict Access to RDP
We recommend restricting access to the RDP service to trusted IP addresses or networks to reduce exposure to automated brute-force attacks.
RDP access can be restricted using Windows Defender Firewall with Advanced Security within the Windows operating system.
- Log in to the Windows server using an administrator account.
- Open Windows Defender Firewall with Advanced Security:
- Press
Windows + R. - Enter
wf.msc. - Click OK.
- Press
- In the left panel, select Inbound Rules.
- Locate the rules named Remote Desktop – User Mode (TCP-In).
- Right-click the applicable rule and select Properties.
- Open the Scope tab.
- Under Remote IP address, select These IP addresses.
- Add the trusted public IP address(es) or network(s) that should be allowed to connect to RDP.
- Click Apply and OK.
- Repeat the configuration for the relevant Remote Desktop – User Mode (UDP-In) rule if UDP access is required.
Important: Make sure your current public IP address is included in the allowed IP addresses before applying the restriction. Otherwise, you may lose RDP access to the server.
For VPS servers, you can also configure firewall rules through the Snel Client Area using the Cloud VPS Firewall.
For more information, see:
Check for Repeated Failed Login Attempts
If the account continues to become locked, check for:
- Saved or outdated RDP credentials.
- Services or scheduled tasks using an old password.
- Other devices or applications attempting to log in with incorrect credentials.
- Failed login attempts in Event Viewer → Windows Logs → Security.
These checks can help identify the source of the repeated account lockouts.
Conclusion
The RDP error occurs because Windows has locked the user account after multiple unsuccessful authentication attempts.
When RDP access is unavailable, the server console can be used to access the Windows server and unlock the affected account. If the account becomes locked again, investigate other devices, services, scheduled tasks, or saved credentials that may be using an incorrect password.
“`
Spot a mistake in this article? Email us at support@snel.com
This article was last checked on 20 October 2026. · 49 views

