Manage local user accounts with net user

List every local account, inspect one in detail, or reset a password / re-enable a dormant account — the veteran account tool that still ships with Windows.

WindowsaccountsadministrationsecurityMedium risk
Run `net user` to list local accounts, `net user <name>` for details, and elevated commands like `net user <name> *` to reset a password.

01Command

Command
$ net user

02What it does

Plain `net user` prints the local account list — including the built-in Administrator or disabled guest accounts you may have forgotten exist. `net user <name>` shows last password set time, account active status, and group memberships. Useful fixes: `net user <name> /active:yes` re-enables an account, `net user <name> *` prompts for a new password interactively, and `/expires:never` stops surprise lockouts. For richer scripting prefer the PowerShell cmdlets (Get-LocalUser, Set-LocalUser), but net user works in CMD and WinRE where PowerShell may not.

03Risk

RiskMedium risk
RequirementsViewing the list needs no elevation; creating users or resetting passwords requires an elevated prompt. Use `net user <name> /active:yes` to re-enable an account.
!Warning: Account changes take effect immediately — disabling the account you're logged in as can lock you out of the session's future logons.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • net user | Microsoft Learn
    Microsoft · vendor-doc · 2026-09-17
    Evidence: Microsoft documents net user usage: no arguments lists accounts, <name> shows details, and switches like /active and /passwordreq modify them.
  • NET USER - Windows CMD
    SS64 · technical · 2026-09-17
    Evidence: SS64 documents net user syntax for listing, creating, disabling, and resetting local user accounts.

Last verified: 2026-09-17 · Category: Security & Privacy

06Related solutions