Microsoft account offers more features such as integration with its services. These are OneDrive, Store, sync settings between devices, etc. This is convenient, but for security purposes, if they find out the password from a Microsoft account or any service, your PC can be hacked. For this reason, the local user account is more secure and not integrated with Microsoft services. If you do not want to use a Microsoft account for some reason or create a new user with and without administrator rights, we will explain how to do this in Windows 11.
How to create a local user account in Windows 11
- Go to Settings > Accounts > Family & Others.
- In the “Other Users” column, click on “Add Account”.
- In the new window, click on I have no data to enter this person.
- Click on Add a user without a Microsoft account in the new window.
- Enter the name and password for your local user account. If you do not need a password, leave the field blank and click ” Next “.
- A standard user account will be created. If you want a local account with administrator rights, click on it to expand additional properties and select ” Change account type “.
- In the new window, select “Administrator” and click OK.
You can create a user through the command line.
Occasionally, creating a user account through the command line (CMD) can fix Windows 11 startup problems because the system cannot boot to the desktop.
Enter the following command at an elevated command prompt:
net user name password / add
Replace the name and password in the command with your own. In addition, if you do not need a password, then leave the field blank.
If you need to make the created user an administrator, then enter one more command:
net localgroup Administrators name / add
Replace the name in the command with your own.
You are incorrect about the security in the first line.
A local account is compromised if the user knows the password.
An online account can be protected by MFA and passwordless sign in actually makes it more secure. If the password is compromised the user can still sign in, but will need to use MFA to change the PWD