By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
10alert.com10alert.com
  • Threats
    • WordPress ThreatsDanger
    Threats
    A cyber or cybersecurity threat is a malicious act that seeks to damage data, steal data, or disrupt digital life in general. Cyber threats include…
    Show More
    Top News
    Adwind malware-as-a-service infecting hundreds of thousands devices
    8 months ago
    Kaspersky Lab’s utility decrypts files encrypted by TeslaCrypt ransomware
    8 months ago
    Should we be more concerned about smart city tech?
    8 months ago
    Latest News
    Triangulation: Trojan for iOS | Kaspersky official blog
    5 days ago
    Wordfence Intelligence Weekly WordPress Vulnerability Report (May 22, 2023 to May 28, 2023)
    5 days ago
    Safeguards against firmware signed with stolen MSI keys
    7 days ago
    WPDeveloper Addresses Privilege Escalation Vulnerability in ReviewX WordPress Plugin
    7 days ago
  • Fix
    Fix
    Troubleshooting guide you need when errors, bugs or technical glitches might ruin your digital experience.
    Show More
    Top News
    How to get help on Windows 10
    8 months ago
    Windows 10 out-of-band update KB5015020 releases for versions 21H2, 21H1, 20H2
    8 months ago
    Windows 11 22H2 (build 22621.169) now ready in the Release Preview Channel
    8 months ago
    Latest News
    How automatically delete unused files from my Downloads folder?
    4 months ago
    Now you can speed up any video in your browser
    4 months ago
    How to restore access to a file after EFS or view it on another computer?
    4 months ago
    18 Proven Tips to Speed Up Your WordPress Site and Improve SEO | 2023 Guide
    5 months ago
  • How To
    How ToShow More
    Nine years of Project Galileo and how the last year has changed it
    Nine years of Project Galileo and how the last year has changed it
    21 hours ago
    Dynamic data collection with Zaraz Worker Variables
    Dynamic data collection with Zaraz Worker Variables
    4 days ago
    Reduce latency and increase cache hits with Regional Tiered Cache
    Reduce latency and increase cache hits with Regional Tiered Cache
    5 days ago
    Cloudflare is deprecating Railgun
    Cloudflare is deprecating Railgun
    5 days ago
    What is two-factor authentication | Kaspersky official blog
    1 week ago
  • News
    News
    This category of resources includes the latest technology news and updates, covering a wide range of topics and innovations in the tech industry. From new…
    Show More
    Top News
    Change “Add to cart” text if has_term
    8 months ago
    Deny a program access to the Internet on Windows
    8 months ago
    How to Find Your IP on the Linux Command Line
    8 months ago
    Latest News
    How to generate SSH keys on Windows 11
    11 hours ago
    How to enable file sharing on WSA for Windows 11
    11 hours ago
    How to add CPU, GPU, RAM widgets on Windows 11
    5 days ago
    How to create virtual drive (VHD, VHDX, Dev Drive) on Windows 11
    1 week ago
  • Glossary
  • My Bookmarks
Reading: How to create local account on Windows 10
Share
Notification Show More
Aa
Aa
10alert.com10alert.com
  • Threats
  • Fix
  • How To
  • News
  • Glossary
  • My Bookmarks
  • Threats
    • WordPress ThreatsDanger
  • Fix
  • How To
  • News
  • Glossary
  • My Bookmarks
Follow US
News

How to create local account on Windows 10

Tom Grant
Last updated: 25 January
Tom Grant 4 months ago
Share
11 Min Read

On Windows 10, you can create a local account on a computer to perform any task. However, unlike using a Microsoft account, your settings, preferences, and files will remain locally for a more secure and private experience.

Contents
Create local account on Windows 10Change local account type from SettingsDelete local account from SettingsCreate local account on Windows 10 from Command PromptChange local account type from Command PromptDelete local account from Command PromptCreate local account on Windows 10 from PowerShellConnect new account to a Microsoft accountChange local account type from PowerShellDelete local account from PowerShell

You will typically see the local account type on organizations and less on home computers as a Microsoft account is the preferred type for its benefits and sync capabilities. However, it is still an excellent option to create additional accounts or share a device with others.

This guide will teach you the steps to create a Windows 10 local account using the Settings app, Command Prompt, and PowerShell. In addition, this guide outlines the steps to set up an administrator account and the steps to delete accounts from your device.

  • Create local account on Windows 10
  • Create local account on Windows 10 from Command Prompt
  • Create local account on Windows 10 from PowerShell

Create local account on Windows 10

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

  1. Open Settings on Windows 10.

  2. Click on Accounts.

  3. Click on Family & other users.

  4. Under “Other users,” click the “Add someone else to this PC” button.

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

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

  7. Under the “Create an account for this PC” section, confirm the new Windows 10 local account information.

  8. Create security questions and answers to recover the account if the password is lost.

  9. Click the Next button.

Once you complete the steps, the new local account will be listed under “Other users.” The only caveat is that for security reasons, Windows 10 creates every new account with standard privileges that limits the usability of Windows 10. If you want the user to have more privileges to install the application and make system changes, you will need to change the account type to “administrator.”

Change local account type from Settings

To change the account type from “standard” to “administrator,” use these steps:

  1. Open Settings.

  2. Click on Accounts.

  3. Click on Family & other people.

  4. Under the “Other users” section, select the user account.

  5. Click the “Change account type” button.

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

  7. Click the OK button.

After you complete the steps, the account will have administrator privileges to install apps and make system changes. 

Delete local account from Settings

To delete a local Windows 10 account and files, use these steps:

  1. Open Settings.

  2. Click on Accounts.

  3. Click on Family & other people.

  4. Under the “Other users” section, select the local account.

  5. Click the Remove button.

  6. Click the “Delete account and data” button to confirm the account deletion.

Once you complete the steps, the system will delete the user account and data from the Windows 10 installation.

Create local account on Windows 10 from Command Prompt

If you are comfortable typing command lines, creating a local account and modifying its settings using Command Prompt is a lot faster.

To create a local account with 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

    In the command, make sure to 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, make sure to 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 bottom-left corner of the screen. Then select the new user account and sign in.

Change local account type from Command Prompt

To change the account type from “standard” to “administrator” 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 add the newly created account to the Administrators group and press Enter:

    net localgroup administrators USER_ACCOUNT /add

    In the command, make sure to replace USER_ACCOUNT with the account name you want to add to the administrators’ group.

Once you complete the steps, the profile will have administrative privileges, which means that the user will be able to install apps, modify system settings, and have unlimited access to the device.

Delete local account from Command Prompt

To delete a Windows 10 local 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 delete the Windows 10 account and press Enter:

    net user USER_ACCOUNT /del

    In the command, make sure to change USER_ACCOUNT for the account name you want to delete.

After you complete the steps, the user account and files will be removed from the device.

Create local account on Windows 10 from PowerShell

To create a local account with PowerShell on Windows 10, 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 in a secure string inside the “$Password” variable and press Enter:

    $Password=Read-Host -AsSecureString
  4. Type the password for the new Windows 10 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"

    In the command, make sure to 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 10 account to the correct user group and press Enter:

    Add-LocalGroupMember -Group "Administrators" -Member "NEW_ACCOUNT_NAME"

    In the command, make sure to 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 computer. However, if you want the user to have limited access, you can add the account to the Users group, making the account a “Standard User.”

Once you complete the steps, Windows 10 will add the new account to the device with full access using administrative privileges. Of course, this is unless you added the account to the “Users” group, in which case the account will be a limited standard account.

Connect new account to a Microsoft account

Using PowerShell should also be possible to create a user account connected to a Microsoft account with this command: New-LocalUser -Name "MicrosoftAccount[email protected]" -Description "Microsoft account description". However, a bug still returns this message when running the command: “New-LocalUser: Cannot validate argument on parameter ‘Name’. The character length of the 36 arguments is too long. Shorten the character length of the argument, so it is fewer than or equal to “20” characters, and then try the command again.” As a result, the easiest way to get around this problem is to create a local account and then use the Settings app to link it with a Microsoft account.

To link a local account with a Microsoft account, use these steps:

  1. Open Settings.

  2. Click on Accounts.

  3. Click on Your Info.

  4. Click the “Sign in with your Microsoft account instead” option.

  5. Continue with the on-screen directions to connect your account to a Microsoft account.

After you complete the steps, the new account will connect to the specified Microsoft account.

Change local account type from PowerShell

To use PowerShell to change the account type from “standard” to “administrator,” 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 change the account type to administrator and press Enter:

    Add-LocalGroupMember -Group "Administrators" -Member "USER_ACCOUNT"

    In the command, make sure to change USER_ACCOUNT for the account name you want to update.

Once you complete the steps, the local account will be added to the “Administrators” group, giving the user permission to make system changes and install or remove apps.

Delete local account from PowerShell

To delete an account with PowerShell, use these steps:

  1. Open Start.

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

  3. Type the following command to delete the user account and press Enter:

    Remove-LocalUser -Name "USER_ACCOUNT_NAME"

    In the command, make sure to change USER_ACCOUNT_NAME with the account name you want to remove.

After you complete the steps, the account will be deleted from the computer. However, the user account data will remain. If you want to delete both account and data, the easiest way is to delete the account using the “Accounts” page from the Settings app.


Translate this article

TAGGED: DoS, Security, Windows
Tom Grant January 25, 2023 January 25, 2023
Share this Article
Facebook Twitter Reddit Telegram Email Copy Link Print

STAY CONECTED

24.8k Followers Like
253.9k Followers Follow
33.7k Subscribers Subscribe
124.8k Members Follow

LAST 10 ALERT

How to generate SSH keys on Windows 11
News 14 hours ago
How to enable file sharing on WSA for Windows 11
News 14 hours ago
Nine years of Project Galileo and how the last year has changed it
Nine years of Project Galileo and how the last year has changed it
Apps 21 hours ago
Dynamic data collection with Zaraz Worker Variables
Dynamic data collection with Zaraz Worker Variables
Apps 4 days ago
How to add CPU, GPU, RAM widgets on Windows 11
News 5 days ago

Recent Posts

  • How to generate SSH keys on Windows 11
  • How to enable file sharing on WSA for Windows 11
  • Nine years of Project Galileo and how the last year has changed it
  • Dynamic data collection with Zaraz Worker Variables
  • How to add CPU, GPU, RAM widgets on Windows 11

You Might Also Like

News

How to generate SSH keys on Windows 11

14 hours ago
News

How to enable file sharing on WSA for Windows 11

14 hours ago
Nine years of Project Galileo and how the last year has changed it
Apps

Nine years of Project Galileo and how the last year has changed it

21 hours ago
Dynamic data collection with Zaraz Worker Variables
Apps

Dynamic data collection with Zaraz Worker Variables

4 days ago
Show More

Related stories

How to Use Cloudflare to Secure Your WordPress Site
How To Starting Chrome from the command line
How to fix error 0x80070057 in Chrome?
Windows 10 How To Disable Slide to Shutdown
Windows search not working (FIX)
How to watch movies and TV series for free on Kinopoisk?
Previous Next

10 New Stories

Reduce latency and increase cache hits with Regional Tiered Cache
Cloudflare is deprecating Railgun
Triangulation: Trojan for iOS | Kaspersky official blog
Wordfence Intelligence Weekly WordPress Vulnerability Report (May 22, 2023 to May 28, 2023)
Safeguards against firmware signed with stolen MSI keys
WPDeveloper Addresses Privilege Escalation Vulnerability in ReviewX WordPress Plugin
Previous Next
Hot News
How to generate SSH keys on Windows 11
How to enable file sharing on WSA for Windows 11
Nine years of Project Galileo and how the last year has changed it
Dynamic data collection with Zaraz Worker Variables
How to add CPU, GPU, RAM widgets on Windows 11
10alert.com10alert.com
Follow US

© 10 Alert Network. All Rights Reserved.

  • Privacy Policy
  • Contact
  • Customize Interests
  • My Bookmarks
  • Glossary
Go to mobile version
adbanner
AdBlock Detected
Our site is an advertising supported site. Please whitelist to support our site.
Okay, I'll Whitelist
Welcome Back!

Sign in to your account

Lost your password?