Create Or Delete Windows User Account From Command Prompt

You can create a user account on your computer directly from Command Prompt by using the DOS command Net User. This command not only helps to create a new user account on a Windows computer but also helps to modify an existing user account. This tutorial explains the use of the command net user and explains the procedure to create a new user account on a Windows computer. We also check how to modify an existing user account on a Windows computer using net user command.


Learn The Command Net user

The net user command is used to create, delete and edit user accounts on Windows computers from the command prompt. Let us check different syntax to create, modify and delete user accounts from Command Prompt.

  • To create User Account:   net user Username Password /domain

  • To modify User Account:   net user Username Password /add /domain

  • To Delete User Account:   net user Username /delete /domain

While entering username from Command Prompt for a new user account, make sure it is maximum 20 characters long. While typing the password for the new account, you can use maximum 127 characters.

How to Fetch Admin Account Details From Command Prompt

Another practical use of net user command is to fetch the full information about administrator account on your Windows computer from the command prompt. See how I used the net user command to get necessary details about the administrator account from Command Prompt.
Net User command

From this Command Prompt snap, you can see important information like the date on which the user account created, user's country code, the last date on which the password is set and the date on which the current password expires etc. You can also see the last date on which the account is accessed by a user and if there any login restriction is created, it too will be listed.

Windows Tutorials
  1. How to Unlock Secret Windows Administrator Account

  2. How to use Netstat Command On Your Computer

  3. How to Bypass Windows Admin Account Password

  4. How to Disable USB Ports On a Computer

No: Recent Posts
Broadband Hack Tricks
Network Address Translation( NAT)
What is Smurf Attack & How to Prevent it
How to Setup MTNL Broadband ADSL Modem
Setup Idea 4G on Android Phone
Delete Beneficiary Fund Transfer in HDFC Netbanking
Setup Asianet WiFi Router
Denial of Service (DOS) attacks
View & Clear Saved Username and Passwords In Mozilla Firefox
Setup Log Files for IP Messenger
Make Sure your Computer and Network are Safe and Secure
Omiga Plus Browser Infection Removal Guide
Error 797: A Connection to the Remote Access Server was not Made
How to Reset BSNL WiFi Modem
How to Check Your Tata Photon Plus Internet Usage
Destination Net Unreachable
Delete SBI Inter-Bank Beneficiary For RTGS & NEFT

Comments