How to Create an Account Using CMD


Having a working knowledge of using the Command Prompt (CMD) in Microsoft's Windows operating systems can prove quite useful. It is no secret that the Internet is not the safest place for a PC running Windows. Malware, malicious software designed with the intent to damage or steal your data, can be difficult to disable. Some types of malware, such as ransomware, act as if they are your antivirus, or Windows itself. Often they request money for the removal of absurd amounts of viruses supposedly found on your system, and often they disable your antivirus software and User Account Control. In these instances, knowing how to use the CMD to create a user account can be very useful.

  • Open CMD.exe by locating it in your Programs menu or typing "CMD" into the search field in the Start Menu and hitting "Enter." You will see a small window appear, with a black background and white text. This is the CMD.

  • Enter the following command into the CMD, without the quotations: "net user /add username password". Replace "username" with the desired username for this account, and replace "password" with the desired password. Press "Enter" to execute the command.

  • Add the account to the administrator group by entering the following command, without the quotations, replacing "username" with the username you chose for the new account: "net localgroup administrators username /add". Press "Enter."

  • Finish granting the new account administrative privileges by using the following command, without quotation marks and replacing "username" with the username you chose for this account: "net share confcg*C:\/grant:username,full". Press "Enter."

  • Finalize the account creation with one last command. Type "net user username *", without the quotation marks and with "username" representing the username you chose for the account. Press "Enter."

Tips & Warnings

  • Check your commands before pressing '"Enter" to save a lot of work and trouble.
  • If you feel uncomfortable using the CMD, ask someone you know who can help.
  • The CMD does not often give visual feedback when a command is successfully executed. Rather, it often will alert you if a command is used wrong.
  • Only use the CMD if you know what you are doing, and at your own risk.

Related Searches


Promoted By Zergnet



Related Searches

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!