How to Create an Administrator Account via CMD on Windows
The Command Prompt (CMD) is a powerful tool in the Windows operating system that allows you to perform a wide range of tasks. One of these tasks is creating an administrator account. An administrator account has full access to the computer and can make any desired changes. It can install software and hardware, change security settings, and manage other user accounts. This article will guide you on how to create an administrator account via CMD on Windows.
Examples:
Before proceeding, ensure that you have access to an existing administrator account. This is because creating a new user account requires administrative privileges.
1. Open the Command Prompt as an Administrator:
To do this, press the Windows key + X and select "Command Prompt (Admin)" from the list. If you see "Windows PowerShell" instead of "Command Prompt", don't worry. PowerShell can perform the same tasks as Command Prompt.
2. Create a New User:
To create a new user, type the following command and hit Enter:
net user /add [username] [password]
net user /add newadmin password123
net localgroup administrators [username] /add
net localgroup administrators newadmin /add
net user [username]
net user newadmin