Temporarily lock your Windows computer

If you are worried that someone is trying to guess him access control of your computer, you can set Windows to temporarily block login attempts after a certain number of failed attempts.

login-screen-1 windows

Assuming you have not set them up Windows as long as the user input, the system operation allows you an unlimited number of password attempts for local user accounts. Of course, this feature is convenient when you do not remember your password, but it also offers an unlimited number of tampering attempts to other people who do not have physical access to your computer.

While there are ways to bypass or reset a password, setting Windows to temporarily suspend login attempts after several failed password entries can at least help prevent occasional hacking attempts if te a local user account. See below how to make these settings.

Useful Notes: By modifying this setting, you are given the right to hurt you by locking your computer for a while, just by accidentally entering the wrong passwords. You should also have another administrator account that can unlock the regular account.

Also, these settings apply only to local user accounts, and do not work if you sign up for Windows 8 or 10 using a Microsoft account. If you want to use the lock settings, you will need to reset your Microsoft account first to a local one. If you prefer to continue using it Your Microsoft account, you can go to the security settings page and log in. From there you will be able to change things, such as adding two-step verification, creating trusted devices, and more. Unfortunately, there is no lockout setting for Microsoft accounts that works as in this example. However, the following settings will work fine in local user accounts in Windows 7, 8, and 10.

Για τους χρήστες της έκδοσης Home των Windows ο μόνος τρόπος ρύθμισης του ορίου προσπαθειών εισόδου είναι μέσω της γραμμής . Για τις Pro και Enterprise έκδοση των Windows μπορείτε να χρησιμοποιήσετε είτε την γραμμή εντολών είτε μία πολύ ευκολότερη διαδικασία μέσω της επεξεργασίας πολιτικής τοπικής s.

In addition, note that if you start the following procedures you should complete them, otherwise you may lock yourself out.

Using the command line
1. Open the command prompt with administrator privileges. If you do not know how, press Win + X at the same time and from the drop-down menu select "Command Prompt (Administrator)".
2. At the command prompt, type the following command, and then press Enter: net accounts
lockout1
3. This command displays your current password policy, which by default should be "Lock Restrict: Never", which means that your account will not be locked, no matter how many times you enter a password incorrectly. Let's start by defining the limit of failed attempts. You can set any number you want, but we recommend that you set it to at least three attempts. Enter the following command, replacing the number at the end with the number of failed password attempts you want:
net accounts / lockoutthreshold: 3
4. Now let us define the length of a lock. This number determines for how long in minutes an account will be locked once the limit of failed password attempts is reached. We recommend 30 minutes, but you can set what you like. We recall that the number represents minutes of the hour.
net accounts / lockoutduration: 30
5. Finally, we will set the duration of the viewing window. This number determines how many minutes the failed attempt counter will need to zero, with the logic of course not having reached the maximum number of failed attempts. That is, for our example where we have a limit of 3 failed attempts if one does two failed attempts and then stops, the meter will start to count three more attempts after the X minutes that you set it now. Set up the viewing window using the following command, replacing the number at the end with the number of minutes you want to use. Again, we think 30 minutes are a good time.
net accounts / lockoutwindow: 30
6. When you're finished, you can use the net accounts again to verify the settings you've made.
7. Close the command-line window and you're ready. When you are now on a lock screen asking for a password, do not expect to see any indication of the number of attempts at your disposal, and if you are locked, you will not have any notice of how long the computer will remain locked.

If you ever want to change the settings, just repeat the steps with the new options you want. If you want to completely disable all of the above, all you have to do is open a command line with administrator privileges and set the limit of failed account attempts in 0 by using the following command:
net accounts / lockoutthreshold: 0
You do not have to worry about the other two settings. When you set the lockout limit to 0, the lockout duration and the lockout window setting will become inappropriate.

Using Local Group Policy * (for Pro and Enterprise Users)
If you are using a Pro or Enterprise edition, the easiest way to set the limits is with your local group policy editor. An important note, however: If your computer is part of a company's network, it is highly likely that your local group policy settings are already set at the domain level and have replaced anything you set in the local group policy. And anyway, if you are part of a company network, you should always consult with your administrator before making any changes.

1. Open the Local Group Policy Editor. If you do not know how, press Win + R at the same time and in the "Run" window that appears type "gpedit.msc", and then click OK. Alternatively, if you want to apply the policy to specific users or groups, open the MSC file of specific users (if you have created one).
2. In the Local Group Policy Editor, go to the left pane and navigate to Computer Settings> Windows Settings> Security Settings> Account Policies> Account Lock Policy.
3. From there go to the left window and double click on "Account Lock Limit".
lockout2
4. In the default setting properties window, "invalid connection attempts" is set to 0, which means that the setting is disabled. To change this, simply select a new number greater than one. We recommend that you set it to at least three to ensure that you are not locked out of your system if you accidentally enter the wrong password. Click "OK" when done.
5. Windows will now automatically set the two relevant settings to thirty minutes. “Account Lock For” controls how long the computer will be locked if the failed attempts limit is exceeded. “Reset account lock counter after” controls how much time must pass after the last failed password attempt before the limit counter resets. For example, suppose you enter an invalid password and then immediately enter another incorrect password, but do not proceed to a third . Thirty minutes after the second attempt (at least, if you leave the settings imported by Windows), the counter will reset to zero and you will have three more attempts. You cannot change these values ​​here, so just click the “OK” button to proceed.
lockout3
5. Back in the Local Group Policy Editing main window, you will see that all three settings in the Account Lock Policy folder have been changed to reflect the new configuration. You can change any of the settings by double-clicking on them to open their properties window, but thirty minutes is a fairly stable setting for both lockout duration and resetting the lockout counter.
6. When you have finished setting up, shut down the processor. Settings are made immediately, but as they affect the connection, you will need to log out for the policy to take effect. And if you want to activate the whole setting change the "invalid connection attempts" to 0.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.100 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).