Command Prompt: Delete A Local User Account

Command Prompt

Purpose: Delete a local user account on a Windows computer.

Run the following NET USER command in a Command Prompt window using a local administrator account:

NET USER <local-user> /DELETE

Notes:
<local-user> : Local user account to be added to local group

Reference:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc771865(v=ws.11)

Related:
Command Prompt: Add New Local User Account – CodeCentral.com
PowerShell: Add User Account To Local Group – CodeCentral.com
PowerShell: Delete/Remove A Local User Account – CodeCentral.com

Leave a comment