This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher.
The How.com.vn Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 552,108 times.
Learn more...
Command Prompt, which is essentially Windows' version of Apple's "Terminal" app, allows you to enter system-altering commands. While most user commands one might enter in Command Prompt are easier to carry out by simply performing the action itself (e.g., opening a folder), you can use Command Prompt to quickly create (or delete) user accounts right from your desktop!
Steps
- Open your PC's Start menu. You can do this by clicking the Start button in the bottom left corner of your screen. Please note that, in order to add or delete users, you'll need to be on an Administrator account.
- You can also tap the ⊞ Win button to do this.
- Type "Command Prompt" into your Start menu's search bar. The Command Prompt app should appear at the top of the relevant search results.
- You can also hold ⊞ Win and tap X to bring up the quick-access menu with Command Prompt in it.
Advertisement - Right-click the Command Prompt icon. This will prompt a drop-down menu.
- Click "Run as administrator" in the drop-down menu. You won't be able to access Command Prompt in Administrator mode if you're using a guest account.
- If you're using the quick-access menu, just click the "Command Prompt (Admin)" option. Do not use the regular Command Prompt option.
- Click "Yes" on the pop-up window. This will allow you access to Command Prompt as an administrator.
- Click on the Command Prompt window. This will make sure that your cursor is currently active on the Command line.[1]
- Add a user account. To do this, type net user (username) (password) /add and tap ↵ Enter when you're done. This will add a new user to your account!
- Replace the information in parentheses with an actual username and password; be sure to exclude the parentheses.
- Delete a user account. To do this, type net user (username) /delete and tap ↵ Enter when you're done. Your selected user account should be gone!
- You will see a line that says "The command completed successfully" after successfully adding or removing an account.
- Exit Command Prompt. Now you know how to add and delete users with the Command Prompt app!
Community Q&A
- QuestionI forget my Lenovo laptop password. How can I delete the admin account?Community AnswerIf you are referring to the BIOS password then you need to reset the CMOS. You should be able to find that by searching how to reset the BIOS on whatever model laptop you have. Otherwise, if you are talking about a local administrator, you can boot to a live CD such as OPH Crack and find out what the password is.
- QuestionWhen I type "net username/add," it returns "access denied." What am I doing wrong?Community AnswerYou need to have administrator rights to execute this command. You need to run the command prompt as administrator.
- QuestionHow can I resolve a syntyax error in a command?Community AnswerCheck your spelling and formatting. Command Prompt is very sensitive to both of these factors, so making a single error (e.g., missing a space or leaving a parenthesis in) will result in a syntax error.
Video
Tips
- If you don't choose "Run as Administrator" when running Command Prompt, you will not be able to add or delete user accounts.Thanks
Warnings
- Be careful when deleting user accounts; once gone, you won't get them back.Thanks
About This Article
1.Type "cmd" into the Windows search bar.
2.Right-click Command Prompt.
3.Click Run as administrator.
4.Click Yes.
5.Type "net user NEWUSERNAME NEWPASSWORD /add" and press Enter.
6.Type "net user USERNAME /delete" and press Enter to delete.
Reader Success Stories
- "It was very easy to understand and to work with."
Is this article up to date?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.