internetmarketingrelop.blogg.se

Windows 10 change microsoft account to local account 2019
Windows 10 change microsoft account to local account 2019










windows 10 change microsoft account to local account 2019

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. Shorten the character length of the argument so it is fewer than or equal to “20” characters, and then try the command again” message. However, a bug still returns “New-LocalUser: Cannot validate argument on parameter ‘Name.’ The character length of the 36 arguments is too long. Using PowerShell should also be possible to create a user account connected to a Microsoft account with this command: New-LocalUser -Name "MicrosoftAccount\acco " -Description "Microsoft account description". Of course, this is unless you added the account to the “Users” group, in which case the account will be a limited standard account. Once you complete the steps, the new account will be set up on the device with full access using administrative privileges. However, if you want the user to have limited access, you can add the account to the Users group, making it a “Standard User.” In the above command, we add the new account to the Administrators group, which gives the user full access to the computer. In the command, make sure to change NEW_ACCOUNT_NAME for the account name. 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"

windows 10 change microsoft account to local account 2019

Also, replace DESCRIPTION with the description you want to use for the account. In the command, change NEW_ACCOUNT_NAME for the account name and USER_FULL_NAME for the user’s full name. 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"

windows 10 change microsoft account to local account 2019

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.












Windows 10 change microsoft account to local account 2019