
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 local account Type the password for the new Windows 10 account and press Enter. Type the following command to temporarily store the password in a secure string inside the “$Password” variable and press Enter: $Password = Read-Host -AsSecureString

Search for PowerShell, right-click the top result, and select the Run as administrator option. Use the following steps to create a standard or administrator local account with PowerShell: Delete new local user account with PowerShellĬreate new local user account with PowerShell.Create new local user account with PowerShell.In this guide, you will learn the steps to create and delete a new local user account using PowerShell on Windows 10. However, in the case that you need to set up another account (in addition to using the Settings app and Command Prompt), you can create a new local user account using PowerShell. If you use Windows 10, you are likely already using an account connected to a Microsoft account.

On Windows 10, you can create a local user account or an account connected to a Microsoft account to take advantage of additional benefits, such as settings syncing across devices and seamless integration to various Microsoft cloud services.
