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.

Method#1

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.

net accounts

As you enter the command, the following screen will appear.

C:\Users\User\AppData\Local\Temp\SNAGHTML87c176b.PNG

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.

Method#2

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.

Conclusion

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.

How to temporarily lock your Computer in Windows 10 if anyone attempts to guess your password
Avatar

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

*