How to create local account on Windows 11

Yes, you can still create a local account on Windows 11 using Settings, Command Prompt, and PowerShell – here's how.

Windows 11 local account
Windows 11 local account
  • To create a local account on Windows 11, open Settings > Accounts > Other users (or Family & other users), click “Add account,” choose “I don’t have this person’s sign-in information,” select “Add a user without a Microsoft account,” confirm the account information.
  • Another way to create a local account is to run the “net user USER-NAME PASSWORD /add” on Command Prompt (admin) or the “New-LocalUser “NEW-ACCOUNT-NAME” -Password $Password -FullName “USER-FULL-NAME” -Description “DESCRIPTION” on PowerShell (admin).

On Windows 11, you can create a local account to avoid using the Microsoft account, meaning that your settings and files will only be available locally on the device for a more private and secure experience.

Typically, you would want to set up a device with a Microsoft account since it offers more benefits, like seamless integration with various services and syncing for files and settings across devices. However, if you feel that the cloud-powered account type is not for you, creating a local account that doesn’t connect to the Microsoft services using the Settings app, Command Prompt, and PowerShell is possible.

This guide will teach you three different approaches to creating a local account on Windows 11. (See also this video tutorial with the instructions in the Pureinfotech YouTube channel.)

Create local account on Windows 11 22H2

To create a local account from the Settings app on Windows 11 22H2, use these steps:

  1. Open Settings on Windows 11 22H2.

  2. Click on Accounts.

  3. Click the Other users tab.

  4. Under the “Other users” section, click the Add account button.

    Windows 11 22H2 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 22H2 local account by confirming a name and password.

    Windows 11 local account info

  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.

    Windows 11 22H2 change account type

  11. Use the “Account type” drop-down menu and select the Administrator option.

    Change Standard to Administrator

  12. Click the OK button.

Once you complete the steps, the new account will appear on Windows 11, and the new user should be able to log in as a standard user or administrator, depending on the account type settings.

Create local account on Windows 11 21H2

To create a local account from the Settings app on Windows 11 21H2, use these steps:

  1. Open Settings on Windows 11 21H2.

  2. Click on Accounts.

  3. Click the Family & other users tab.

  4. Under the “Other users” section, click the Add account button.

    Add 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 21H2 local account by confirming a name and password.

    Windows 11 local account info

  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.

    Change account type

  11. Use the “Account type” drop-down menu and select the Administrator option.

    Change Standard to Administrator

  12. Click the OK button.

Once you complete the steps, the new account will appear on Windows 11, and the new user should be able to log in as a standard user or administrator, depending on the account type settings.

Create local account from Command Prompt on Windows 11

It is faster to create and manage an account using Command Prompt if you are comfortable typing commands.

To create a local standard or administrator account on Windows 11 with Command Prompt:

  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. (Optional) Type the following command to add the newly created account to the “Administrators” group 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.

If you want to test the new changes, sign out, and you will notice the new user account sitting in the screen’s bottom-left corner. Then select the new user account and sign in.

Create local account from PowerShell on Windows 11

To create an account without a Microsoft account with 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 account and press Enter.

  5. Type the following command to create the new 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 Windows 11 account to the correct 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. In the above command, we add the new account to the Administrators group, which gives the user full access to the device. If you want the user to have limited access, add the account to the Users group, making the account a “Standard User.”

Once you complete the steps, the new local account will be available on Windows 11 with full access using administrative privileges.

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 14 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 20 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].