I will do this trick for those who want to protect their computer from strangers. This measure applies to computers running the Windows 10 operating system. You will be protected against those who want to find out the password to lock your computer.
Join the channel Telegram belong to AnonyViet ???? Link ???? |
Entering the wrong password on Windows 10
By default, Windows 10 does not limit the number of times you enter the wrong password to unlock the screen. Therefore, people will be able to sit and scan your computer password as many times as they like. If you want to make your computer more secure, then follow the solution in this article.
This function is actually available on Windows 10 but has not been activated. If you enable it, your computer will become much more secure. When someone tries to detect your computer screen unlock password, this function will put the computer into a completely locked state.
Below, I will share with you 2 ways to enable this security function.
Method 1 – Securely lock your Windows 10 computer with PowerShell
This method only applies to those using Windows 10 version Home never mind. If you use a higher version, please refer to method 2 below. Now, right click on the . icon Windows and choose Windows PowerShell and run with permissions Administrators.
Type command net accounts and press ENTER to run.
By default Windows 10 will not limit the number of incorrect password attempts when unlocking the screen. Hence in the line Lockout threshold you will see the word Never (i.e. never limited). So our job now is to set it a certain limit.
Now type the command net accounts /lockoutthreshold:number_enter_times_incorrect. Depending on the number of times you can enter the wrong password you want. Here I will change to 5 times so I’ll enter as net accounts /lockoutthreshold:5
Press ENTER to run the command and the result will be as shown below!!
After running the command you will see the message The command completed successfully. That means the command has been executed successfully. Continuing, we will set the runtime to lock the machine with the following command:
net accounts /lockoutduration:số_phút
For example, here I want to automatically lock the computer after 60 minutes when I enter the wrong password 5 times, I will type and run the command: net accounts /lockoutduration:60
Next need to set the time the lock screen reappears. That is, after automatically locking the computer, after this set time, the screen will automatically reopen. To do this, we use the following command:
net accounts /lockoutwindow:số_phút
Substitute minutes in the command to the number of minutes you want to set (like the example above).
Finally type the command net accounts
to double check your settings.
If you want disable this feature as the initial default, then type the command: net accounts /lockoutthreshold:0
Method 2 – Using Windows Local Group Policy Editor
Method 01 is only applicable to Windows 10 Home never mind. If you use Windows 10 Pro, Education, Enterprise… then follow this guide.
Please press the key combination Windows + WILL and type keywords gpedit.msc and press ENTER.
- After opening Windows Local Group Policy Editor, you access in the following order of paths:
- Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy.
- Then open the item Account lockout threshol.
In the Account Lockout Threshold window, enter the number of times you want to allow the wrong password to be entered.
In this photo, I limit it to 5 times.
After entering, press OK to save. At this point, a confirmation dialog box will appear with setting the time to automatically lock the computer and automatically unlock (default is 30 minutes for both). You can customize it if you want.
Press OK to confirm the setup is complete. If you want to disable this function just change Account Lockout Threshold to 0 is fine.