Automatically lock the computer when hacked

Your computer automatically locks after three incorrect password attempts to prevent unauthorized access. To do this you can follow the instructions below.

Your computer automatically locks after three incorrect password attempts to prevent unauthorized access. To do this you can follow these instructions:

1. Change Local Security Policy.

This Local Security Policy is only integrated on Windows 7 and Vista in Pro, Enterprise versions. If you use Start, Home . then you will have to use Command Prompt. You can automatically lock your device by editing the password settings in Local Security Policy.

To open Local Security Policy, click the Start menu and then type Local Security Policy in the search box. Then click Local Security Policy .

Picture 1 of Automatically lock the computer when hacked

Local Security Policy window appears, click Account Policies on the left, then click Account Lockout Policy .

Picture 2 of Automatically lock the computer when hacked

By default, when you enter wrong password, your account will be automatically locked immediately. To change this, double-click Account lockout threshold on the right side of the dialog box.

Picture 3 of Automatically lock the computer when hacked

A new window appears and you can change the number of times you have entered the wrong password. Here I choose to allow the wrong password 3 times and then click OK to complete the changes.

Picture 4 of Automatically lock the computer when hacked

Besides, Windows also allows you to choose the time to unlock temporary user accounts. You can change these settings at Account lockout duration and Reset account lockout counter .

Picture 5 of Automatically lock the computer when hacked

The default is after 30 minutes your computer will automatically open again, click OK to save your changes to the settings.

Picture 6 of Automatically lock the computer when hacked

Now your computer will automatically lock in 30 minutes when you enter the wrong password 3 times.

2. Change the password setting in the Command Prompt.

To open Command Prompt, go to the Start menu, type Command Prompt in the search box, right-click Command Prompt, and select Run as administrator .

Picture 7 of Automatically lock the computer when hacked

Or you can use the Windows key + R to type cmd in the Open section of the Run dialog box, and then click OK .

Picture 8 of Automatically lock the computer when hacked

Then the dialog box opens, change the path to C: Windowssystem32 by cd . to return to the parent path, cd to add the child path to the parent path.

Picture 9 of Automatically lock the computer when hacked

At the Command Prompt window enter net accounts command , the system will immediately list you for password-related settings. In that lockout threshold: Never means your computer will never be locked if the password is entered wrong n times.

Picture 10 of Automatically lock the computer when hacked

To adjust the number of times allowed to enter the wrong password is 3 times you enter the command line net accounts / lockoutthreshold: 3 and press Enter immediately the system will notify the successful setup.

Picture 11 of Automatically lock the computer when hacked

In addition, it also allows the computer to close and automatically reopen after 30 minutes when you enter the order in the order net accounts / lockoutduration: 30 and net accounts / lockoutwindow: 30 .

Picture 12 of Automatically lock the computer when hacked

You can double check the settings by re-entering the net accounts command on the Command Prompt .

Picture 13 of Automatically lock the computer when hacked

Here are the results when you use either of these two methods to set up.

- When you enter the wrong password:

Picture 14 of Automatically lock the computer when hacked

- Enter all times prescribed and locked: You wait until the system allows logging in again.

Picture 15 of Automatically lock the computer when hacked

Note: The above two ways are only to prevent unauthorized access, not to prevent fraudsters using methods to break into.

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile