Skip to main content

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


About Author

My photo
Alex George
Alex George has Engineering graduation in Computer Science and an MBA in Finance. He had been working as a senior Network Engineer for ten years. His specialization is in Cisco products. Traveling is one of his hobbies and visited various places as part of his onsite work. He visited different places as part of his onsite work like New York, Dubai, London, etc. Right now Alex is a director of one of the leading career development firms in India, which trains students for UPSC, SSC, and PSC examinations. He guides a lot of students to get selection for various prestigious institutions like CBI, Income Tax Department, etc. Alex George is a stock market investor and a very active intraday trader. Engineering Background: He has a B.Tech in Computer Science and Engineering and passed different network and security courses like CCNA, CCNP (Security), CEH, and various Microsoft certifications. Finance Background: Alex has an MBA in Finance. He is an active intraday trader and a Share Market Investor. Webmaster Skills: Alex is a blogger since 2004. He has a working knowledge of HTML, CSS, PHP, and JavaScrip.