Accounts Unlock Locked Out Account in Windows 11


Account_lockout_banner.png

This tutorial will show you how to unlock a locked out local account in Windows 10 and Windows 11.

Someone who attempts to use more than a few unsuccessful passwords while trying to log on to your system might be a malicious user who is attempting to determine an account password by trial and error. Windows domain controllers keep track of logon attempts, and domain controllers can be configured to respond to this type of potential attack by disabling the account for a preset period of time. Account Lockout Policy settings control the threshold for this response and the actions to be taken after the threshold is reached.

The Account lockout threshold policy setting determines the number of failed sign-in attempts that will cause a user account to be locked. A locked account cannot be used until you reset it or until the number of minutes specified by the Account lockout duration policy setting expires. You can set a value from 1 through 999 failed sign-in attempts, or you can specify that the account will never be locked by setting the value to 0. If Account lockout threshold is set to a number greater than zero, Account lockout duration must be greater than or equal to the value of Reset account lockout counter after.

The Account lockout duration policy setting determines the number of minutes that a locked-out account remains locked out before automatically becoming unlocked. An administrator can also manually unlock a locked-out account.

The Reset account lockout counter after policy setting determines the number of minutes that must elapse from the time a user fails to log on before the failed logon attempt counter is reset to 0.

The Allow Administrator account lockout policy determines whether the built-in Administrator account is subject to account lockout policy.

Brute force password attacks can be automated to try thousands or even millions of password combinations for any or all user accounts. Limiting the number of failed sign-ins that can be performed nearly eliminates the effectiveness of such attacks. However, it is important to note that a denial-of-service (DoS) attack could be performed on a domain that has an account lockout threshold configured. A malicious user could programmatically attempt a series of password attacks against all users in the organization. If the number of attempts is greater than the value of Account lockout threshold, the attacker could potentially lock every account.

See also:

Starting with Windows 11 build 22528 and higher, the Account lockout threshold policy is now set to 10 failed sign-in attempts by default. The Account lockout duration is now set to 10 minutes by default. The Allow Administrator account lockout is now enabled by default. The Reset account lockout counter after is now set to 10 minutes by default.


You must be signed in as an administrator to unlock a locked out account.

If you do not have an administrator account available to unlock a local account, then you could enable the built-in Administrator account to sign in and use to unlock an account instead.


This does not apply to a Microsoft account.



Contents

  • Option One: Unlock Locked Out Account in Local Users and Groups
  • Option Two: Unlock Locked Out Account in Windows Terminal


EXAMPLE: Locked out account

This can also be for This sign-in option is disabled because of failed sign-in attempts or repeated shutdowns. Use a different sign-in option, or keep you device powered on for at least 2 hours and the try again.


locked_out_account.jpg





Option One

Unlock Locked Out Account in Local Users and Groups


Local Users and Groups is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Two to set the same policy.


1 Open Local Users and Groups (lusrmgr.msc).

2 Click/tap on the Users folder in the left pane to open it, and double click/tap on the account Name (ex: "Brink2") in the middle pane you want to unlock. (see screenshot below)

unlock_account-1.png

3 In the General tab, uncheck Account is locked out, and click/tap on OK. (see screenshot below)

If Account is locked out is grayed out and unchecked, then the account is not currently locked out.


unlock_account-2.png

4 You can now close Local Users and Groups if you like.




Option Two

Unlock Locked Out Account in Windows Terminal


1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Type the command below into Windows Terminal (Admin), and press Enter. (see screenshot below)

net user "<username>" /active:yes

substitute <username> in the command above with the actual local account name (ex: "Brink2") you want to unlock.

For example: net user "Brink2" /active:yes


3 You can now close Windows Terminal (Admin) if you like.

unlock_account-command.png



That's it,
Shawn Brink


 
Last edited:
1680478564261.png


Except, it is.

1680478698095.png


I tried running the command in elevated prompt and it said success, but it did nothing.
 

My Computer

System One

  • OS
    Windows 11 [22H2] [22621.2428]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Culture-Virus v7.0
    CPU
    Intel Core i9-14900K 3.2 GHz 24-Core Processor
    Motherboard
    Asus ROG MAXIMUS Z790 APEX ENCORE ATX LGA1700 Motherboard
    Memory
    G.Skill Trident Z5 RGB 32 GB (2 x 16 GB) DDR5-7200 CL34 Memory
    Graphics Card(s)
    AMD Radeon RX 6950 XT
    Monitor(s) Displays
    AOC CQ27G2U/BK
    Screen Resolution
    2560x1440
    Hard Drives
    M.2 1: Samsung SSD 990 PRO 2TB
    M.2 2: Samsung SSD 970 EVO Plus 2TB
    PSU
    Corsair RM1000X SHIFT
    Case
    Phanteks NV9
    Cooling
    Custom Water / Direct-Die Cooling
    Keyboard
    Corsair K95 RGB PLATINUM XT Wired Gaming Keyboard
    Mouse
    ROCCAT LEADR Optical
    Internet Speed
    500mb Direct Fiber
    Browser
    Chrome

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I tried Option 2 and I got System error 5 has occurred. Access is denied. User trying to unlock and user locked-out are both in administrator group. Both are Local Accounts. (<--edited for added detail)

I tried it from Admin command prompt and also powershell. This is Home edition.

I actually would rather fix the Local Security Policy, but I'm told Home Edition cannot do that. The current threshhold must be set really low. I didn't even supply a bad password, I just had clicked on a network drive shortcut and I was prompted for a new password. There was some lag time and I must have hit carriage return too quickly before I got another prompt. Too late. I had recently updated my password on the laptop so not unexpected that I was prompted for updated password.

1733438283068.webp
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
I tried Option 2 and I got System error 5 has occurred. Access is denied. User trying to unlock and user locked-out are both in administrator group. Both are Local Accounts. (<--edited for added detail)

I tried it from Admin command prompt and also powershell. This is Home edition.

I actually would rather fix the Local Security Policy, but I'm told Home Edition cannot do that. The current threshhold must be set really low. I didn't even supply a bad password, I just had clicked on a network drive shortcut and I was prompted for a new password. There was some lag time and I must have hit carriage return too quickly before I got another prompt. Too late. I had recently updated my password on the laptop so not unexpected that I was prompted for updated password.

View attachment 118513

Hello, :alien:

You could try to use option 5 below to enable the built-in Administrator account.


Afterwards, sign in to this "Administrator" account to unlock and enable your account.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
That's exactly what I've been trying to do, but that article says it is only available in Pro, not Home.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
That's exactly what I've been trying to do, but that article says it is only available in Pro, not Home.

Sorry, supposed to be option 5 below instead.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Thanks, but that's a bit out of my comfort zone. I was reminded of the Administrator and Guest account in MMC Local Users Groups of olden days (that we were encouraged to keep disabled). Woulda been nice if that was still around. sigh...

Does make me wonder what is the point of regular user being in the Administrator group if you don't get Administrator rights.

Knowing that the timeout is 10 minutes helps. That's a coffee&bathroom break! The thing that is still weird is that the documentation states the default is 10 failed attempts. Both times I got locked out there is absolutely no way it was 10 failed attempts. I guess 2 to 3 tops.

I executed the command > net accounts and confirmed the 10 threshhold and 10 minutes. for fun, I also tried /lockoutthreshhold:0 to no avail
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
Thanks, but that's a bit out of my comfort zone. I was reminded of the Administrator and Guest account in MMC Local Users Groups of olden days (that we were encouraged to keep disabled). Woulda been nice if that was still around. sigh...

Does make me wonder what is the point of regular user being in the Administrator group if you don't get Administrator rights.

Knowing that the timeout is 10 minutes helps. That's a coffee&bathroom break! The thing that is still weird is that the documentation states the default is 10 failed attempts. Both times I got locked out there is absolutely no way it was 10 failed attempts. I guess 2 to 3 tops.

I executed the command > net accounts and confirmed the 10 threshhold and 10 minutes. for fun, I also tried /lockoutthreshhold:0 to no avail

Once you're able to sign in again to your administrator account, you should be able to change the Account lockout threshold policy below to "0" to disable it to no longer get locked out again.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Once you're able to sign in again to your administrator account, you should be able to change the Account lockout threshold policy below to "0" to disable it to no longer get locked out again.
To be clear, you mean the hidden built-in Administrator account, right? I've demonstrated that a Local user account in the Administrator group cannot do the above suggestion. And I don't see a user-friendly path to unhide the hidden built-in Administrator account, so I guess I have to move on and accept the WIndows 11 nanny state. Thank you for trying.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
To be clear, you mean the hidden built-in Administrator account, right? I've demonstrated that a Local user account in the Administrator group cannot do the above suggestion. And I don't see a user-friendly path to unhide the hidden built-in Administrator account, so I guess I have to move on and accept the WIndows 11 nanny state. Thank you for trying.

You should be able to use option two in the above tutorial to disable the "Account lockout threshold" policy in an elevated command prompt while signed in to any administrator account.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I tried Option 2 and I got System error 5 has occurred. Access is denied. User trying to unlock and user locked-out are both in administrator group. Both are Local Accounts.
been there done that. that's where we started!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
been there done that. that's where we started!
I thought you were referring to option two to unlock the account in this tutorial here on the first post.

I was referring to option two below instead to disable the "Account lockout threshold" policy.


Have you been able to sign in to your account yet?

The "System error 5 has occurred. Access is denied." message usually means you didn't open an elevated command prompt like below to run the command.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I've done both Option 2s actually. But I think I found the problem. WHen I first opened a Terminal(admin) initially I Pinned it to Taskbar. But when a new instance is opened it is no longer a Terminal(Admin). I (wrongly) assumed Powershell (the default command prompt instance) was elevated. Geez. MS....

So now I can do Option 2 in this tutorial to unlock a user. Yay! Will I remember all this the next time I get locked out? probably not! :-) But thats what bookmarks are for.

Still can't change the threshhold though. double checked it is administrator: window

PS C:\Users\user1> net accounts /lockoutthreshhold:0
The option /LOCKOUTTHRESHHOLD:0 is unknown.

The syntax of this command is:

NET ACCOUNTS
[/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
[/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
[/UNIQUEPW:number] [/DOMAIN]

More help is available by typing NET HELPMSG 3506.


In the meantime I decided to tackle another problem I have in my work environment that was causing me to need to login frequently. If this works, I can stay logged in all day and reduce the odds of a lockout! This is a work laptop where they have spying intrusive corporate software that checks that sleep timeout is set to 15 minutes. That is a ridiculously short amount of time for my workflow (and 1000% unnecessary in a WFH setting). I am back and forth to the laptop several times a day (using google remote desktop on my big monitor/desktop). I found a piece of software to keep the laptop awake. I used to use a mouse jiggler but can't do that anymore because of single mouse now shared across two computers. This software I found should do the trick so I don't have to login all day long! Two wins in one day!

Thanks for hanging in there.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
I've done both Option 2s actually. But I think I found the problem. WHen I first opened a Terminal(admin) initially I Pinned it to Taskbar. But when a new instance is opened it is no longer a Terminal(Admin). I (wrongly) assumed Powershell (the default command prompt instance) was elevated. Geez. MS....

So now I can do Option 2 in this tutorial to unlock a user. Yay! Will I remember all this the next time I get locked out? probably not! :-) But thats what bookmarks are for.

Still can't change the threshhold though. double checked it is administrator: window

PS C:\Users\user1> net accounts /lockoutthreshhold:0
The option /LOCKOUTTHRESHHOLD:0 is unknown.

The syntax of this command is:

NET ACCOUNTS
[/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
[/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
[/UNIQUEPW:number] [/DOMAIN]

More help is available by typing NET HELPMSG 3506.


In the meantime I decided to tackle another problem I have in my work environment that was causing me to need to login frequently. If this works, I can stay logged in all day and reduce the odds of a lockout! This is a work laptop where they have spying intrusive corporate software that checks that sleep timeout is set to 15 minutes. That is a ridiculously short amount of time for my workflow (and 1000% unnecessary in a WFH setting). I am back and forth to the laptop several times a day (using google remote desktop on my big monitor/desktop). I found a piece of software to keep the laptop awake. I used to use a mouse jiggler but can't do that anymore because of single mouse now shared across two computers. This software I found should do the trick so I don't have to login all day long! Two wins in one day!

Thanks for hanging in there.

Looks like you made a typo in the command. Extra "h".

You typed: net accounts /lockoutthreshhold:0

Should be: net accounts /lockoutthreshold:0

Since this a work laptop, they may have domain policies set that will override anything you do.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
...> net accounts
Lockout threshold: Never


Done!

> Since this a work laptop, they may have domain policies set that will override anything you do.

They've never touched it. There's no IT. Will see if the monitoring software catches it. Report generated weekly. I don't think so. It doesn't seem that sophisticated.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenova/Ideapad
...> net accounts
Lockout threshold: Never


Done!

> Since this a work laptop, they may have domain policies set that will override anything you do.

They've never touched it. There's no IT. Will see if the monitoring software catches it. Report generated weekly. I don't think so. It doesn't seem that sophisticated.

Perfect. :shawn:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom