Overview
This guide explains how to create a new user account in Windows using Command Prompt. This method is useful for systems where user creation through the graphical interface is limited or unavailable, such as Windows Home editions. Using Command Prompt allows administrators to quickly add users, assign administrator rights, and set full names.
The steps below require Command Prompt to be run as an administrator.
Steps
- Open Command Prompt as Administrator
Click Start, type cmd, right‑click Command Prompt, and select Run as administrator. Create the User Account
Use the following command to create a new user:net user /add [username] [password]
Replace [username] and [password] with the desired login details.
Add the User to the Administrators Group
If you want the user to have administrator rights, run:net localgroup administrators [username] /add
Assign a Full Name
To set the user's full display name, use:net user [username] /fullname:"Firstname Lastname"
What Does Command Line User Management Do?
- Allows creation of new Windows user accounts without using graphical menus.
- Assigns administrator rights quickly for support or troubleshooting.
- Enables setting of full names for better account identification.
- Provides a reliable method for managing accounts on restricted Windows editions.