0

Anyone know how to set the lockout duration (for Windows 10), via the registry? I'm having a heck of a time finding the right key.

Thanks.

StackExchangeGuy
  • 131
  • 1
  • 12

1 Answers1

1

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\AccountLockout

This is technically where the lockout duration is set in the registry.

NOTE: I highly do not recommend editing the registry as a method of changing lockout information. Edit a GPO or local GPO for that, it's easier to undo if something goes wrong.

Naryna
  • 271
  • 1
  • 3
  • 13
  • Thanks. I'll have a look at that key. The PCs are members of a workgroup and the deployment configuration is automated via a Powershell script that runs the first time an admin logs in. If there is better way to change the setting, that I can put in that PS script, I'm all for it. – StackExchangeGuy Apr 28 '16 at 13:43
  • Powershell has a lot of wonderful GPO related commands that **only** run on servers. I have yet to find a single GPO command that runs directly on the workstation. So, until they fix that, this is probably the way to go. – Naryna Apr 28 '16 at 16:10
  • 1
    https://devblogs.microsoft.com/scripting/use-powershell-to-get-account-lockout-and-password-policy/ (this was written in 2014, question from 2016, now it's 2019, time flies....) – Luuk Jun 08 '19 at 12:03