C
ClearInsight News

How do I create an admin account using CMD?

Author

William Jenkins

Published Feb 20, 2026

How do I create an admin account using CMD?

If you want to turn the user account into an administrator account, type net localgroup administrators username /add into Command Prompt—making sure to replace "username" with the name of the account you want to change—and press ↵ Enter .

Thereof, how do you make an admin account using CMD?

In the Administrator: Command Prompt window, type net user and then press the Enter key. NOTE: You will see both the Administrator and Guest accounts listed. To activate the Administrator account, type the command net user administrator /active:yes and then press the Enter key.

Secondly, how would you create a new user account using the command line? To add a user account to your computer: Type net user username password /add, where username is the name of the new user and password is the password for the new user account. For example, if the username is Bill and the password is Passw0rd, you would type net user Bill Passw0rd /add. Then press Enter.

Also, how do I create an administrator account in Windows 10 CMD?

Create local account with Command Prompt on Windows 10

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to create a new account and press Enter: net user USER_NAME PASSWORD /add.

How do I create an administrator account in Windows 7 using CMD?

Method #2 – From the Command Prompt

Click Start and type CMD, then press Enter. It is best to run the Command Prompt as an Administrator. To do so, right-click CMD and select “Run as Administrator”. When prompted to allow the Command Processor to run, click on “Yes”.

How do I find my administrator username and password?

Press Windows key + R to open Run. Type netplwiz into the Run bar and hit Enter. Select the User account you are using under the User tab. Check by clicking "Users must enter a user name and password to use this computer" checkbox and click on Apply.

How do I find my administrator password using cmd?

Launch the Command Prompt utility on your computer. Type in net user USERNAME Password and hit Enter. Here you should replace USERNAME and Password with your own admin username and your new password. Note: the admin CMD Windows 10 method should work.

How do I make my account an administrator?

Windows® 10
  1. Click Start.
  2. Type Add User.
  3. Select Add, edit, or remove other users.
  4. Click Add someone else to this PC.
  5. Follow the prompts to add a new user.
  6. Once the account is created, click it, then click Change account type.
  7. Select Administrator and click OK.
  8. Restart your computer.

How do I make a user a local admin?

Posts: 61 +0
  1. Right Click on My Computer (if you have privileges)
  2. Select Manage.
  3. Navigate through System Tools > Local Users and Groups > Groups *
  4. On the Right-Side, Right Click on Administrators.
  5. Select Properties.
  6. Click the Add
  7. Type the User Name of the user you want to add as local admin.

How can I enable administrator account without admin rights?

To start Windows 10 in safe mode with command prompt:
  1. Press Windows + I keys on the keyboard to open Settings menu.
  2. Select Update & security and click on Recovery.
  3. Go to Advanced startup and select Restart now.

How do I change my account without administrator password?

Select the user account with administrative privileges from user list, and tap on Reset Password button. Then click on Yes to remove forgotten Windows 10 administrator password. Don't hesitate. It is just so easy for you to reset Windows 10 password for local account and Microsoft account.

How do I give myself admin rights on Windows 10?

How to Change Administrator on Windows 10 via Settings
  1. Click the Windows Start button.
  2. Then click Settings.
  3. Next, select Accounts.
  4. Choose Family & other users.
  5. Click on a user account under the Other users panel.
  6. Then select Change account type.
  7. Choose Administrator in the Change account type dropdown.

How do I create a local admin in PowerShell?

Create new local user account with PowerShell

Open Start on Windows 10. Search for PowerShell, right-click the top result, and select the Run as administrator option. Type the password for the new Windows 10 account and press Enter.

How do I find my administrator password on Windows 10?

Windows 10 and Windows 8.x
  1. Press Win-r . In the dialog box, type compmgmt. msc , and then press Enter .
  2. Expand Local Users and Groups and select the Users folder.
  3. Right-click the Administrator account and select Password.
  4. Follow the on-screen instructions to complete the task.

How do I add an administrator to Windows?

  1. Select Start >Settings > Accounts .
  2. Under Family & other users, select the account owner name (you should see "Local Account" below the name), then select Change account type.
  3. Under Account type, select Administrator, and then select OK.
  4. Sign in with the new administrator account.

How do I create a new user without logging in?

Option 1.How to Create A New Administrator on Windows 10 without Logging in via Command Prompt
  1. Press Shift + F10 together.
  2. Use the following command line to change the location of cmd.exe and utilman.exe.
  3. Take out the installation disc and type wpeutil reboot in the window.

How do I enable my hidden administrator account?

Using Security Policies
  1. Activate the Start Menu.
  2. Type secpol.
  3. Go to Security Settings > Local Policies > Security Options.
  4. The policy Accounts: Administrator account status determines whether the local Administrator account is enabled or not.
  5. Double-click on the policy and select "Enabled" to enable the account.

Why would you add new user account from command line?

Some times we may want to add new users from command line instead of using the UI. For example, if we have to add some 100 users, using a script will save lot of time and manual effort. Windows provides net user command for this purpose.

WHAT IS NET USE command?

“Net use” is a command line method of mapping network drives to your local computer. The full syntax for net use is available from Microsoft . The Username and Password parameters are only required if the computer is not CornellAD joined.

What is Dsadd command?

Dsadd is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use dsadd, you must run the dsadd command from an elevated command prompt.

How do I use command prompt?

How to Open the Command Prompt in Windows 10
  1. Type "command prompt" into the Start menu to search for it.
  2. Press Win + R to open the Run box, then type "cmd" and hit Enter to open it.
  3. Press Win + X (or right-click the Start button) and choose Command Prompt from the menu.

How do I create a new user in safe mode?

During your computer start process, press the F8 key on your keyboard multiple times until the Windows Advanced Options menu appears, then select Safe mode with Command Prompt from the list and press ENTER. 2. When Command Prompt Mode loads, enter the following line: net user removevirus /add and press ENTER.

How do I add a user to the local admin group remotely?

The easier way to add a user to the local Administrators group is to use the Computer Management app. You can connect to the remote computer via Remote Desktop, press SHIFT-R, and then enter compmgmt.

How do I run Windows 7 as an administrator?

Windows 7: Opening the Command Prompt as Administrator
  1. Click the Start icon and click in the Search box.
  2. Type cmd into the search box. You will see the cmd (Command Prompt) in the search window.
  3. Hover the mouse over the cmd program and right-click.
  4. Select "Run as administrator".

Why can't I run Command Prompt as administrator?

If you can't run Command Prompt as an administrator, the issue might be related to your user account. Sometimes your user account can get corrupted, and that can cause the issue with Command Prompt. Repairing your user account is quite hard, but you can fix the problem simply by creating a new user account.

How do I make my user the administrator Windows 7?

Windows Vista and 7

On the Users tab, find the user account you want to change under the Users for this computer section. Click that user account name. Click the Properties option in the user account window. On the Group Membership tab, select the Administrator group to set the user account to an administrator account.