Lusrmgr.exe ((install)) →

When a user is locked out due to too many bad password attempts (policed by the "Account Lockout Policy"), lusrmgr.exe is the primary interface to view the attribute.

On Professional, Enterprise, and Education editions of Windows 10 and 11, the native tool is actually a Microsoft Management Console (MMC) snap-in known as . However, because this native tool is disabled in Windows Home editions , third-party developers created an open-source alternative specifically named lusrmgr.exe to replicate its functionality for Home users. Both versions allow you to manage: lusrmgr.exe

$SecurePassword = Read-Host "Enter password" -AsSecureString New-LocalUser -Name "ServiceAccount" -Password $SecurePassword When a user is locked out due to

Add-LocalGroupMember -Group "Administrators" -Member "JohnDoe" lusrmgr.exe