How to Temporarily Lock Your PC if Someone Tries to Guess your Password
How to Temporarily Lock Your PC if Someone Tries to Guess your Password

Here in this article, we have written the method with which you could set up your PC in such a way that it gets temporarily locked whenever someone tries to guess your user account password. So, here’s how to temporarily lock your PC if someone tries to guess your password with the help of simple commands that will help you to have your privacy and limit login attempts in your Windows OS.

Security is a preferable thing which all the users might want to be of the topmost level while they use any computer because the computer would contain many important data which is accessed by anyone else could cause up the user sometimes. Keeping in mind the security traces, the Windows is implemented with the user accounts which could be locked by the unique password which the user could only set up. As the hacking methods are increasing therefore that much security won’t prove to be beneficial and the accounts of Windows could easily get hacked by the users trying to guess. This could be prevented if the Windows is set to temporarily lock the PC while if anybody attempts to guess the Windows password. Here in this article, we have written the method with which you could set up your PC in such a way that it gets temporarily locked whenever someone tries to guess your user account password. To know about the method, just head on to the main part of the article which is given below, read about it after that.

Also Read: What You Should Do If Windows 10 Fails to Start

How to Temporarily Lock Your PC if Someone Tries to Guess your Password

Below is the complete step by step guide that will help you to temporarily lock your PC if someone tries to guess your password. So follow the below steps to proceed.

Also Read: What You Should Do If Windows 10 Fails to Start

Steps to Temporarily Lock Your PC if Someone Tries to Guess Your Password:

Step 1. Open the command prompt window on your screen; this could be done through searching for the app in the start menu or just through the run window which could be accessed by pressing Win+R buttons of the keyboard and then typing in the CMD followed by entering.

Step 2. Type in the command: “net accounts” in the CMD window. This would list you current password policy which is by default “Lockoutthreshold: Never” which means that your account would not be locked no matter how many times your windows password is filled incorrectly.

Temporarily Lock Your PC if Someone Tries to Guess Your Password
Temporarily Lock Your PC if Someone Tries to Guess Your Password

Step 3. Follow through by putting in another command: “net accounts /Lockoutthreshold:3” This command would set up the limit for the incorrect password filling on the Windows, and after the limit, you have set the Windows would be locked. Here in this command, we have set up the limit to 3, but you could also change it in the command.

Temporarily Lock Your PC if Someone Tries to Guess Your Password
Temporarily Lock Your PC if Someone Tries to Guess Your Password

Step 4. To set up the lock duration for the Windows after filling of incorrect password for the set limit, just type in another command in the CMD panel : “net accounts /lockoutduration:30“. The set time will be in the minutes and you could also set it to your needs in the command. This command would make up the duration of 30 minutes.

Temporarily Lock Your PC if Someone Tries to Guess Your Password
Temporarily Lock Your PC if Someone Tries to Guess Your Password

Step 5. That’s all; your windows will now lock up every time the user entering it exceeds the limit of setting up password filling time and duration. This would be a great step to make your PC more protected from the unknown users.

Temporarily Lock Your PC if Someone Tries to Guess Your Password
Temporarily Lock Your PC if Someone Tries to Guess Your Password

Also Read: Top 10 Best USB Drive Encryption Software For Windows

Using Local Security Policy

Well, there are two methods which you can utilize to lock someone out of your PC. The local security policy is the second one. If you don’t feel comfortable with the Command Prompt, then this one is even easier.

Step 1. First of all, open your start menu and then type in Local Security and then open the ‘Local Security Policy’ from the menu.

Using Local Security Policy
Using Local Security Policy

Step 2. Now on the Local Security Policy menu, you need to locate Security Settings\Account Policies\Account Lockout Policy

Using Local Security Policy
Using Local Security Policy

Step 3. Once located, you need to double click on ‘Account Lockout threshold’

Using Local Security Policy
Using Local Security Policy

Step 4. Now it will open up another dialog box. There you need to enter the number of invalid login attempts. You can choose any value and then click on ‘Ok’ to make changes.

Using Local Security Policy
Using Local Security Policy

Step 5. Now you will see another pop-up, there you just need to click on ‘OK’

Using Local Security Policy
Using Local Security Policy

That’s it, you are done! Now if anyone tries to log in to your computer and fails due to incorrect password, he will be locked out for 30 minutes.

At Last! This was the method through which you could set your computer to temporarily lock your PC whenever someone tries to guess your password. As from the article, you have got up that the method isn’t too difficult or complex but any moderate user could apply it without any issues. It’s now your time to apply this method and hence make your PC much more secure and prevent up the unknown users let guess your password. Hope you would like the method, don’t forget to share your views.



AUTHOR

Karanpreet Singh is the Co-Founder of Techviral. He writes about how to, tutorials especially on Android, iPhone, Computer, Internet, Social Networks, etc. Apart from this, he is an Ec-Council CEH (Certified Ethical Hacker) and a Digital Marketing Expert. He loves to share his knowledge with others through blogging.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.