If you are concerned about someone trying to guess your Windows password, after a certain number of unsuccessful attempts, you can have Windows temporarily block sign in attempts. If you don’t set up Windows to automatically sign in, Windows makes an infinite number of password attempts at the sign in the screen for local user accounts. Although there are still ways people may compromise or reset a password, if you are using a local user account, setting up your PC to temporarily suspend sign in attempts after many failed attempts can at least help avoid a casual break in attempts. In this article, we will guide you through the whole procedure to temporarily lock your Computer in Windows 10 if anyone attempts to guess your password.
Temporarily lock your Computer in Windows 10 if anyone attempts to guess your password
To temporarily lock your Computer in Windows 10 if anyone attempts to guess your password, follow this procedure step by step.
Right click the Start button and the following menu will open.
Click the Command Prompt (Admin) option from the appeared menu as highlighted in the above image. As you click this option, the following screen will appear.
Type the following command in the appeared screen.
As you enter the command, the following screen will appear.
Here you can see that the Lockout threshold is Never which means that the computer will not be locked even after a failed sign in attempt. Now enter the following command.
net accounts /lockoutthreshold:3
It will allow you to enter the wrong password three times.
net accounts /lockoutduration:30
The mentioned command will lock the computer for 30 minutes. You can set it by your choice. Now again if you check, the status will be as follows.
Click the Search button. Type Run in the search box and then select the Run option as the following image is showing.
As you select the Run option, the following dialogue box will appear.
Type gpedit.msc in the Open textbox and then click the OK button as highlighted in the above image. The following Local Group Policy Editor screen will appear.
Navigate through the following path from the left pane of the screen.
Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Account Lockout Policy
As you click the Account Lockout Policy from the left side of the screen, there will be some options on the right pane of the screen. Double click the Account lockout threshold option and the following dialogue box will appear.
Select the invalid logon attempts from the spin box. After that click the Apply and then OK button as highlighted in the above image.
By following any of these procedures, you will be able to temporarily lock your Computer in Windows 10 if anyone attempts to guess your password.