Having a password on computer is not enough to ensure complete protection. Hackers can still log in by guessing passwords and other techniques. There exists a technique which is used almost by all the corporations using windows. Following this technique you can lock your login account after certain failed login attempts.
Follow the given steps to lock your login account.
- Go to start menu. Type cmd in the search box.
- Right-click on cmd.exe from the search results and select run as administrator.
- Type the following command in command prompt window and hit the enter key.
net accounts /lockoutthreshold:10
- the number 10 shows the number of allowed failed login attempts. You can type any number in its place according to your needs.
- The next step is to change the duration of account lock. By default it is set at 30 minutes. You can change it by using the following command:
net accounts /lockoutduration:30
Remember, do not ever use the number 0 as it will lock the account that can only be unlocked by the administrator.














