If you're unable to login to Remote Desktop due to this error, it's because the default lockout policy for your OS installation is configured to temporarily lock the account after multiple failed login attempts. You can either disable the lockout policy completely or modify it to a different threshold.
Error Message:
"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."
Solution: Follow the steps below to access the Group Policy setting on your Windows server.
Step-by-Step Instructions
Step 1:
Navigate to Group Policy Editor under Settings
Access the Control Panel or Settings menu to locate the Group Policy Editor.
Path: Start → Run → gpedit.msc
Step 2:
Locate Computer Configuration
Dive into Computer Configuration to customize fundamental settings at the heart of your system.
Path: Computer Configuration
Step 3:
Navigate to Windows Settings
Explore the Windows Settings section to fine-tune configurations specific to the operating system.
Path: Computer Configuration → Windows Settings
Step 4:
Access Security Settings
Enhance your system's security posture by navigating to and configuring Security Settings.
Path: Windows Settings → Security Settings
Step 5:
Find Account Policies
Locate and customize Account Policies to dictate the rules governing user accounts on your system.
Path: Security Settings → Account Policies
Step 6:
Explore the Account Lockout Policy
Delve into Account Lockout Policy to establish protocols for handling account lockouts.
Path: Account Policies → Account Lockout Policy
Step 7:
Adjust Account Lockout Threshold
Fine-tune the Account Lockout Threshold to strike a balance between security and user accessibility.
Action: Double-click on Account lockout threshold and modify the value.
Additional Configuration Options
Disable Lockout Policy: Set the threshold to 0 to completely disable account lockouts
Increase Threshold: Set a higher number (e.g., 10-15 attempts) for more flexibility
Reduce Lockout Duration: Decrease the time before accounts are automatically unlocked
Reset Account Lockout Counter: Configure how long before the failed attempt counter resets
Configuration Complete!
Note: These changes may require a system restart or group policy refresh (gpupdate /force) to take effect immediately.