Usually, we set user login password on Windows 10 to prevent others from getting into the computer. However, even if a user login password is set, your computer might still be hacked through password-guessing attack. To prevent or reduce the risk of someone hacking into your computer, in addition to setting up a strong password, you can limit the number of failed logon attempts in Windows 10, so that your account will be locked out after several failed logon attempts. Now, this post will show you how to limit the number of failed logon attempts in Windows 10 by configuring the account lockout policy. There are two ways are as below.
- Way 1: through Local Security Policy
- Way 2: with Command Prompt
Way 1: Limit the number of failed logon attempts through Local Security Policy
Step 1: Open the Local Security Policy through typing local security policy in the Start menu.
Step 2: Expand the Account Policies under Security Settings, and then click on Account Lockout Policy.
Step 3: Double-click on the "Account lockout threshold" to configure the policy.
Step 4: Select the "Local Security Settings" tab, change the number of invalid logon attempts between 0 and 999, and click Apply. The value of the Account lockout threshold is 0 by default, which means the account will not lock out no matter how many logon attempts are failed.
Step 5: You will get a prompt saying that the settings for the "Account lockout duration" item and "Reset account lockout counter after" item will be changed to the suggested values (30 minutes), click OK, and click OK again. You can change the suggested value to your desired value if you want to.
Way 2: Limit the number of failed logon attempts with Command Prompt
Step 1: Run a Command Prompt as administrator.
Step 2: Type net accounts /lockoutthreshold: (0-999) and press Enter key. For example, I want my account to be locked out after five failed logon attempts, so I type this command shown below and press Enter.
Step 3: If you want to change the account lockout duration, type net accounts /lockoutduration: (0-99999) and press Enter. For example, I set the lockoutduration to the suggested value (30 minutes) as shown in the figure below. If you set the account lockout duration to 0, the account will be locked out until the administrator unlocks it.
Conclusion: The above two methods of limiting the number of failed logon attempts take effect immediately without requiring you to restart Windows 10.
The above is the detailed content of Limit the Number of Failed Logon Attempts in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

PowerToys: Supercharge Your Windows Work-From-Home Experience Working from home presents unique productivity challenges. Distractions abound, demanding a focused workspace. PowerToys helps optimize your home office, whether it's a dedicated space or

Retrieve lost Windows 10 product key: Two ways Have you lost your product key after installing genuine Windows 10? Don't worry, this article will introduce two ways to retrieve your keys so that you can reinstall the system in the future. Case 1: Windows 10 is installed but the key is lost Even if you get Windows 10 through a free upgrade or genuine installation, you can easily find the product key using the iSumsoft Product Key Finder as long as your computer works properly. Method 1: Use iSumsoft Product Key Finder Download and install: Download and install iSumsoft Product Key Finder to your computer. Find the product key: Start

In the second half of 2023, Microsoft released the Windows 11 23H2 system. Many users can't wait to upgrade their computer to the latest version, but some users encountered the error message "This computer does not meet the minimum requirements..." when trying to install Windows 11 23H2 on an unsupported computer. don’t worry! This article will provide a step-by-step guide to how to install Windows 11 23H2 on an unsupported computer. Let's get started! Note: Microsoft said, "Installing Windows 11 on unsupported computers is not recommended. If you choose to install Windows 11 on hardware that does not qualify, you should risk compatibility issues." allow

Recommended Best Ergonomic Keyboards in 2025 Ergonomic keyboards function the same as regular keyboards, but add support to reduce stress on wrists, hands and fingers. These keyboards are designed to keep your hands and wrists in a more natural position, helping to minimize muscle strain and prevent potential damage from prolonged typing. There are a wide variety of ergonomic keyboards available on the market, so be sure to consider which features are most important to you before purchasing. From layout to design, each type offers unique benefits based on your preferences and needs. Most ergonomic keyboards fall into two categories. The first category is the split keyboard, which, as the name suggests, divides the key layout into two parts for a more natural wrist posture. There are two types of split keyboards:

The Acer PD163Q Dual Portable Monitor: A Connectivity Nightmare I had high hopes for the Acer PD163Q. The concept of dual portable displays, conveniently connecting via a single cable, was incredibly appealing. Unfortunately, this alluring idea quic

Enhance your Windows 10 PowerShell experience with these simple customization steps! This guide shows you how to adjust PowerShell fonts and enable automatic text wrapping for improved readability and optimal window fitting. Let's get started: Step 1

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

Access File Explorer Options in Windows 10: Three Easy Ways This guide provides three simple methods to open File Explorer Options in Windows 10, allowing you to customize settings for file and folder views, opening items, and search functionality. M


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
