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.
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.
Well, there are two methods which you can utilize to lock someone out of your PC. The first method is by using "Command Prompt" and the second is by using "The local security policy". If you don’t feel comfortable with the Command Prompt, then use the second one.
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 your 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 in-correctly.
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.
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.
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.
Using Local Security Policy
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.
Step 2. Now on the Local Security Policy menu, you need to locate Security Settings\Account Policies\Account Lockout Policy
Step 3. Once located, you need to double click on ‘Account Lockout threshold’
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.
Step 5. Now you will see another pop-up, there you just need to click on ‘OK’
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.
ENJOY.
COMMENT AND SHARE IF YOU LIKE.
Post a Comment