Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked
  • How to upgrade to SQL Server 2025
    SQL Server 2025 Upgrade Requirements and Compatibility Oracle/MSSQL/MySQL
  • HyperV
    Unable to PXE boot a HyperV VM: F12 key does not work anymore Virtualization
  • drivelock 1280x720 1
    The server could not be reached or validated: Timeout expired. The Time out expired prior to obtaining a connection from the pool Security | Vulnerability Scans and Assessment
  • sql server installation
    How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL
  • firewall windows 1
    How to create a Windows firewall rule on Windows Windows Server
  • screenshot 2020 03 29 at 18.19.50
    Shortcut for Windows update: How to create a shortcut for Windows scheduled task Windows Server
  • SysInternals
    How to use the Process Explorer from SysInternals Tools Windows Server
  • image 75
    Useful Tutorial on CBackup Software Network | Monitoring

Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked

Posted on 29/11/202210/10/2024 Temitope Odemo By Temitope Odemo No Comments on Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked
Lockout7

The Account lockout threshold policy setting is one way you can prevent unauthorized access to your computer system. In this article, you will learn how to Change Account Lockout Threshold for Local Accounts in Windows 10 and Windows 11: The reference account is currently locked. An attack like a brute-force attack can be prevented when an automated login system is set up to try several combinations of login credentials. Please see How to manage costs with AWS Budgets, and Microsoft Account Password Reset via Web and Windows

But we also have some bad vectors out there who would like to cause a denial of service on a domain that has an account lockout threshold setup hitting the domain with several combinations of login credentials and making logging into the domain impossible for users.

When the number of attempts set on the policy is exhausted the account will be locked and it’s only an Administrator that can unlock it or you will wait for the specified number of minutes to expire and you can try to log in again.  The amount of value you can set for the sign-in attempts is between 1-999. Kindly take a look at the YouTube video demonstrating these steps.

If you want to read more on Account read these Local Administrators Account lockout is now available, How to Change User Account Type in Windows 10, How to set an account expiration date in Active Directory, Windows sign-in options, and account protection on Windows 11.

Change Account Lockout Threshold for Local Accounts in Windows

Follow the steps below on how to change the account lockout threshold  

1. Run this command secpol.msc to open the Local Security Policy.
2. Navigate to Account Policies > Account Lockout Policy in the left pane of Local Security Policy.

lockout2

Please see How to disable automatic screen lock in Ubuntu Linux. How to deploy MBAM for Bitlocker Administration, and How to create a Windows Server reference image using WDS. See how to fix “An Attempt Was Made to Reference a Token That Does Not Exist” in Windows 10.

Enter the Value for Invalid Logon Attempts

3. In the right pane of Account Lockout Policy, double-click on the Account Lockout threshold policy and type in a number between 0 and 999.

The number entered will be the number of sign-in attempts allowed before the account will be locked out. Click Ok.
lockout3

4. Once you click Ok. You can decide to change the Account lockout duration, Reset the account lockout counter after and Allow Administrator account lockout.

lockout4

5. Now go ahead to try with wrong password three times

lockout5

6. Once the Sign-in attempts are exhausted.

The system will be locked and you will see the below message.
lockout6

7. Using the command to change the Account lockout Threshold open the command prompt as Administrator and run this command.

This will display your current Account Policy settings

net accounts
image-61

Enter the below command and input the Number.

image-62
image-63

I hope you found this blog post on how to Change Account Lockout Threshold for Local Accounts in Windows 10 and Windows 11: The reference account is currently locked interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Microsoft Windows, Service Logon Account, User Account Control, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: Set Special File Permissions with SUID or GUID and Sticky Bit
Next Post: CVE-2021-31693: VMware Tools for Windows update addresses a denial-of-service vulnerability

Related Posts

  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • vcx
    Fix Error code 0x4 Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator Windows
  • slide office 365 79
    Configure WSUS Email Notification for Office365 Windows Server
  • Ubuntu on Windows
    Install Ubuntu 20.04 LTS on Windows via WSL Linux
  • install python 3 and pip
    How to upgrade and downgrade PIP on Windows Windows
  • diagnose
    How to Diagnose a Windows Hardware Issue Windows

More Related Articles

How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​ Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
vcx Fix Error code 0x4 Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator Windows
slide office 365 79 Configure WSUS Email Notification for Office365 Windows Server
Ubuntu on Windows Install Ubuntu 20.04 LTS on Windows via WSL Linux
install python 3 and pip How to upgrade and downgrade PIP on Windows Windows
diagnose How to Diagnose a Windows Hardware Issue Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • How to upgrade to SQL Server 2025
    SQL Server 2025 Upgrade Requirements and Compatibility Oracle/MSSQL/MySQL
  • HyperV
    Unable to PXE boot a HyperV VM: F12 key does not work anymore Virtualization
  • drivelock 1280x720 1
    The server could not be reached or validated: Timeout expired. The Time out expired prior to obtaining a connection from the pool Security | Vulnerability Scans and Assessment
  • sql server installation
    How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL
  • firewall windows 1
    How to create a Windows firewall rule on Windows Windows Server
  • screenshot 2020 03 29 at 18.19.50
    Shortcut for Windows update: How to create a shortcut for Windows scheduled task Windows Server
  • SysInternals
    How to use the Process Explorer from SysInternals Tools Windows Server
  • image 75
    Useful Tutorial on CBackup Software Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.