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
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