This guide provides a solution for the "The referenced account is currently locked out" error on Windows Server 2022. This usually happens when the system's account lockout policy is triggered by multiple failed login attempts.
Solution Steps:
- Open the Local Group Policy Editor (gpedit.msc).
- Navigate to: Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Account Lockout Policy.
- Adjust the "Account lockout threshold" to a higher value or set it to 0 (to disable lockout).
- Save and restart the server for the changes to take effect.