How to limit the number of wrong login attempts on a Windows computer
As you all know, to ensure information safety and security for personal computers for Windows users, Microsoft has integrated the feature of linking Microsoft accounts with Windows operating systems when you start. touch the computer.
This feature is one of the pretty cool features that MS provides to users, it greatly reduces the unnecessary risks that can be caused to the user.
But for many personal computers that contain a lot of important data, I think that is still not enough. Because the sign in with Microsoft account is not limited to the number of wrong user account password attempts.
This is quite dangerous in the case of bad guys watching us and taking advantage of the loophole to take control of the computer by trying to login many times when they guess the password.
Therefore, today I will show you how to limit the number of wrong login attempts on your computer. And if you exceed the specified number of times, your computer will immediately be locked in the time that you set.
Now let's get started….
1. Use Windows PowerShell
This way applies on Windows 10.
Step 1. You run Windows PowerShell as administrator by pressing Windows + S key combination and search with the keyword PowerShell => right-click and select Run as administrator.
Step 2. Enter the command net accounts and press Enter to check.
If the Lockout threshold line is Never, it means that you have not set up the self-locking feature of the computer when you log in incorrectly more than the specified number of times.
Step 3. Enter the command net accounts / lockoutthreshold: number_comput_sai and press Enter to set the number of times to allow incorrect login. Here I think 5 times.
Step 4. Enter the command net accounts / lockoutduration: number_min and press Enter to set the time that Window will lock itself.
Step 5. Enter the command net accounts / lockoutwindow: number_min and press Enter to set the window to log back after the lock time.
Step 6. Finally, run the net accounts command again to check the settings.
If you want to cancel the autolock feature, run the command net accounts / lockoutthreshold: 0.
2. Use Windows Local Group Policy Editor
Step 1. Open Local Group Policy Editor by pressing Windows + R. Run the command gpedit.msc
Step 2. The Local Group Policy Editor dialog box appears, please access the following path:
'Computer Configuration => Windows Settings => Security Settings => Account Policies => Account Lockout Policy'.
Then click on the Account lockout threshold.
A dialog box will appear, please set the number of allowed incorrect input.
A dialog box will appear suggesting a lock time and re-login will be 30 minutes. Click OK.
Step 3. If you want to reset the time, please go to the 2 remaining items to correct.
If you want to cancel the feature to limit the number of incorrect logins on Windows, please click again on the Account lockout threshold => and let the number of times be 0.
OK, so I have finished showing you how to limit the number of wrong login attempts on Windows computers. By doing this, you can better secure your computer and limit the curiosity of curious people who want to gain unauthorized access to your computer.
Thank you for watching. Wish you have a good time working.
Good luck !
You should read it
- How to enable the Login Login hidden on Windows 10
- Displays the login information for the last time you log on to a Windows 10 computer
- Use PIN to login Windows 10
- Change Windows 10 login wallpaper
- Customize the login screen background on Windows 7
- ALTER LOGIN command in SQL Server
- How to run any application from the Ease of Access button on the Windows 10 login screen
- The wizard displays a message on the Login Windows 10 screen
May be interested
- How to hide personal information on Windows 10 login screen?when you log on to a windows 10 computer using a microsoft account, on the windows 10 login screen will display the name and email address of the latest login user. however, if you use a public computer, or when someone borrowed your computer for use, all your personal information, especially microsoft accounts, will not be secured.
- Install image password in Windows 8in addition to the usual text-based password login, windows 8 has a new login form that is logged into the computer through images that we normally see only in smartphones.
- Change Windows 10 login wallpaperhave you tired of the default login background image of windows 10 so i want to replace the windows login wallpaper with other nicer wallpapers. if you do not know how to change the login screen (lockscreen) of windows 10, you can refer to the article
- Use PIN to login Windows 10on windows 10, microsoft has provided users with a lot of login options such as traditional login options - using passwords, pin codes, face recognition, using fingerprints. if you are using the latest version of windows 10, you can set up a pin to log in. logging in with pin is one of the most useful security solutions on windows 10.
- Microsoft wants to 'death' technology using passwords on Windows 10in the next version of windows 10, microsoft will only text the code to your phone number when logging in so users can login to their microsoft account without a password.
- Customize the login screen background on Windows 7windows 7 allows you to change the login screen background - which appears when you start your computer - without any third-party software, but this setting is hidden. this article will guide you to enable this setting to customize the login screen background to your liking.
- How to remove the login screen in Windows 10if you feel that the login screen for windows passwords is not necessary, users can follow the following tips.
- How to login automatically to Windows 8today we will guide you to set up customizations for windows 8 to log in automatically every time you start windows, making you ready to work immediately after turning on your computer easily.
- The cause of the wrong time on Windows 10 and how to fix itin the article, you will specify the reasons why your computer is running in the wrong time and instructions on how to fix it most
- How to change Windows 10 login wallpaper, change computer wallpaperwindows 10 equips you with many features to help your computer less boring, how to change windows 10 login wallpaper or lockscreen is one of the important features for users when allowing to change computer wallpaper every time you log in to the computer.