How to create local administrator account on Windows 11

Windows 11 lets you create a local administrator account using Settings, Computer Management, Command Prompt, and PowerShell, and here's how.

Windows 11 local admin account
Windows 11 local admin account / Image: Mauro Huculak
  • To create a local administrator account on Windows 11, open Settings > Accounts > Other users, click the “Add account” button, select the “I don’t have this person’s sign-in information” option, click the “Add a user without a Microsoft account” option to create an administrator account. Finally, select the local account, click the “Change account type” button, and choose the “Administrator” option.
  • These instructions apply to Windows 11 24H2 and 23H2 or previous versions using Command Prompt, PowerShell, or Computer Management.

On Windows 11, a local administrator account gives the user full access to the device, allowing them to change personal and system settings, install applications, and manage other users.

The only caveat is that when you create a new local account, Windows 11 sets it up as a “Standard” account that is very limited to essential tasks. A user with this type of account can only change some personalization settings and run apps, and they can’t change system settings, install or uninstall apps, or manage other users. 

In this guide, I will teach you different approaches to creating an administrator Windows 11 account through Settings, Command Prompt, and PowerShell. These instructions apply to Windows 11 24H2 and 23H2 or any version of the operating system using Command Prompt or PowerShell.

Create local administrator account from Settings on Windows 11

To create a local administrator account on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on Accounts.

  3. Click the Other users tab.

  4. Click the Add account button under the “Other users” section.

    Windows 11 add new account

  5. Click the “I don’t have this person’s sign-in information” option.

    Skip Microsoft account option

  6. Click the “Add a user without a Microsoft account” option.

    Windows 11 local account option

  7. Create a Windows 11 administrator account by confirming a name and password.

    Windows 11 local account settings

  8. Configure the security questions to recover the account if the password is lost.

  9. Click the Next button.

  10. (Optional) Select the newly created account and click the “Change account type” button to change the account from Standard to Administrator.

    Windows 11 change account type

  11. Choose the Administrator option using the “Account type” setting. 

    Change account from Standard to Administrator

  12. Click the OK button.

After you complete the steps, the new account will be created on Windows 11 22H2.

Create local administrator account from Computer Management on Windows 11

If you use the Computer Management app, you can create a new account or enable the default “Administrator” account.

Create admin account

To create an admin local account through Computer Management, use these steps:

  1. Open Start.

  2. Search for Computer Management and click the top result to open the app.

  3. Expand Local Users and Groups on the left pane.

  4. Right-click the Users folder and choose the “New User” option.

    Computer Management new user option

  5. Confirm the user name.

    Computer Management new user settings

    Quick tip: The full name and description are optional settings.

  6. Create a password for the account.

  7. (Optional) Clear the “User must change password at next logon” option.

  8. (Optional) Check the “Password never expires” option.

  9. Click the Create button.

  10. Click the Close button.

  11. Right-click the newly created account and choose the “Properties” option.

    Computer Management user properties

  12. Click the Member Of tab.

  13. Click the Add button.

    Computer Management add user group

  14. Type the Administrators group in the box.

    Computer Management add Administrators group to account

  15. Click the Check Name button.

  16. Click the OK button.

  17. Click the Apply button.

  18. Click the OK button.

After you complete the steps, the new administrator account will be created on Windows 11.

Enable default Administrator account

If you have to enable the system’s default “Administrator” account instead, use these steps:

  1. Open Start.

  2. Search for Computer Management and click the top result to open the app.

  3. Expand Local Users and Groups on the left pane.

  4. Select the Users item.

  5. Right-click the Administrator user on the right side and select the Properties option.

    Computer Management open user properties

  6. Clear the “Account is a disabled” option.

    Enable default admin account

  7. Click the Apply button.

  8. Click the OK button.

Once you complete the steps, the built-in Administrator account will be enabled on the computer.

Create local administrator account from Command Prompt on Windows 11

To create a local administrator account from Command Prompt, use these steps:

  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

    Create local account command

    In the command, change “USER-NAME” and “PASSWORD” with the credentials you want to use for the new user account.

  4. Type the following command to make the newly created account administrator and press Enter:

    net localgroup administrators USER-ACCOUNT /add

    In the command, replace “USER-ACCOUNT” with the account name you want to add to the administrators’ group.

After you complete the steps, the administrator account will be created on Windows 11.

Create local administrator account from PowerShell on Windows 11

To create a local administrator account from PowerShell, use these steps:

  1. Open Start.

  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.

  3. Type the following command to temporarily store the password inside a string in the “$Password” variable and press Enter:

    $Password = Read-Host -AsSecureString
  4. Type the password for the new Windows 11 admin account and press Enter.

  5. Type the following command to create the new administrator account with PowerShell and press Enter:

    New-LocalUser "NEW-ACCOUNT-NAME" -Password $Password -FullName "USER-FULL-NAME" -Description "DESCRIPTION"

    PowerShell create account

    In the command, change “NEW-ACCOUNT-NAME” for the account name and “USER-FULL-NAME” for the user’s full name. Also, replace “DESCRIPTION” with the description you want to use for the account.

  6. Type the following command to add the account to the Administrators user group and press Enter:

    Add-LocalGroupMember -Group "Administrators" -Member "NEW-ACCOUNT-NAME"

    PowerShell change account type

    In the command, change NEW-ACCOUNT-NAME for the account name.

Once you complete the steps, the new administrator local account will be created on Windows 11, giving the user full access to the device.

Update June 18, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].