你有一台装有Windows 11的新电脑,还是你自己安装的?您可能希望与其他人共享您的计算机,因此您必须向Windows 11添加新用户。如果是这种情况,那么您来对地方了。在本指南中,我们将向您展示如何在Windows 11中创建和添加新用户。无论您要添加Microsoft帐户还是本地帐户,我们都能满足您的要求:
重要提示:(IMPORTANT:)如果要创建Microsoft帐户,应在 Web 浏览器中进行正确设置,包括适当的恢复信息,以防以后忘记密码。我们有一个单独的指南,其中包含3 种从浏览器创建 Microsoft 帐户的方法(3 ways to create a Microsoft account from your browser),您应该首先阅读。在本指南中,我们将向您展示如何添加之前创建的Microsoft帐户以及如何创建本地用户帐户并将其添加到 Windows 11。请注意,本指南中的所有过程仅在您使用管理员帐户时才有效。
1. 如何在Windows 11中从“设置”(Settings)应用添加用户
您可以从“设置”(Settings)应用添加Microsoft帐户和本地帐户。为此,首先在 Windows 11 中(open Settings in Windows 11)打开设置(Settings)。一种方法是按键盘上的Windows + I键。然后,在设置(Settings)应用程序中,选择左侧的帐户,然后转到右侧的(Accounts)家庭和其他用户(Family & other users)。
在“设置”(Settings)中,转到“Accounts > Family和其他用户”
现在您可以选择将其他帐户添加到 Windows 11。在“其他用户(Other users)”部分,单击或点击“添加其他用户”(“Add other user.”)旁边的“添加帐户”按钮。(Add account)
单击或点击添加帐户
此操作将打开Microsoft 帐户(Microsoft account)窗口。如果您想将Microsoft帐户添加到Windows 11,请阅读第 1.a 节。如果您想创建和添加本地帐户,请阅读第 1.b 节。
提示:(TIP:)如果您想知道应该使用Microsoft帐户还是本地帐户,请阅读这篇文章:您应该使用本地帐户还是 Microsoft 帐户?(Should you use a local or a Microsoft account?)
1.a 如何从Windows 11的设置中添加Microsoft帐户
如果要添加Microsoft帐户,请输入与您的帐户关联的电子邮件地址或电话号码,然后按Next。
输入(Enter)您要添加的Microsoft帐户的电子邮件
Microsoft帐户现已添加到您的 Windows 11 计算机。您不需要输入其密码,因为它会在首次登录时自动请求。按完成(Finish)即可。
按完成
您现在可以使用该Microsoft帐户登录Windows 11。
1.b 如何从Windows 11的设置中添加本地帐户
如果要创建本地(非 Microsoft)帐户,请在Microsoft 帐户(Microsoft account)窗口中单击或点击“我没有此人的登录信息(“I don’t have this person’s sign-in information)。”
单击(Click)或点按“我没有此人的登录信息”
Windows 11 会尝试帮助您创建Microsoft帐户。通过单击或点击“添加没有 Microsoft 帐户的用户”(“Add a user without a Microsoft account.”)来拒绝此优惠。
添加没有Microsoft帐户的用户
您终于可以创建本地用户帐户了。键入其名称和密码,然后确认后者。
创建新用户
在密码字段下方,您需要回答三个安全问题。您不能跳过它们,它们的目的是在您忘记密码时帮助您恢复本地帐户。选择您要回答的三个问题,然后键入适当的答案。此数据不会发送给Microsoft,因此不必担心如实回答。完成后,单击或点击下一步(Next)。
选择(Choose)并回答安全问题
本地帐户已创建,您将返回到“设置”(Settings)应用程序,您可以在其中看到它显示在“其他用户(Other users)”下。
提示:(TIP:)如果您想在没有Microsoft帐户的情况下安装(Microsoft)Windows 11,请遵循本指南:如何使用本地帐户安装和使用 Windows 11(How to install and use Windows 11 with a local account)。
2. 如何从终端(Terminal)添加本地帐户(命令提示符(Command Prompt)或PowerShell)
如果您喜欢命令行环境,请以管理员身份打开终端(open the Terminal),然后键入命令:
“net user NAME PASS /add”
将 NAME 替换(Replace NAME)为您正在创建的用户的名称,并将PASS替换为它的密码。下面,我们使用密码Pas$$w0rd创建了一个名为MyUserName的用户。强密码怎么样?🙂
网络用户名 PASS /add
注意:(NOTE:)您可以从命令中完全删除PASS值,新创建的用户无需密码即可登录。此外,此命令可以在PowerShell和命令提示符(Command Prompt)中运行,而不仅仅是终端。
3.使用计算机管理(Computer Management)将新用户帐户添加到Windows 11
打开计算机管理(Open Computer Management)。一种方法是按键盘上的Windows + X,然后在出现的菜单中选择计算机管理(Computer Management)。在左侧列中,选择Local Users and Groups,然后在窗口中间右键单击Users并选择New User。
右键单击用户并选择新用户(New User)
您会看到新用户(New User)提示。填写用户名(User Name)和全名字(Full Name)段,输入密码(如果需要)并确认,然后单击创建(Create)。
输入新用户的详细信息
用户帐户已创建并添加到Windows 11。
4. 如何使用 netplwiz 添加或创建新用户
首先,使用键盘快捷键Windows + R打开“运行”窗口(open the Run window),然后键入或复制并粘贴(copy and paste)netplwiz。然后,单击确定(OK)或按键盘上的Enter 。
运行 netplwiz
用户帐户(User Accounts)窗口打开,列出您计算机上存在的用户帐户。要添加新用户(本地帐户或Microsoft帐户),请单击或点击添加(Add)。
在用户帐户中,单击添加
要添加Microsoft帐户,请阅读第 4.a 节。要创建本地帐户,请阅读第 4.b 节。
4.a 如何使用 netplwiz添加Microsoft用户帐户(Microsoft)
如果您只想添加一个Microsoft帐户,只需键入其关联的电子邮件地址,然后按Next。
输入(Enter)Microsoft帐户的电子邮件
新用户已添加到Windows 11并可用于登录。剩下的就是按完成。(Finish.)
按完成
4.b 如何使用 netplwiz 创建新的本地用户帐户
要添加新的本地帐户,请单击或点击“不使用 Microsoft 帐户登录(不推荐)”。(“Sign in without a Microsoft account (not recommended).”)
单击(Click)不使用Microsoft帐户(Microsoft)登录(Sign)(不推荐)
接下来,您将再次了解使用Microsoft帐户的所有优势。该公司正在努力说服您放弃使用本地帐户的想法。继续并单击或点击本地帐户(Local account)。
选择本地账户
输入新的用户名(User name),输入并确认其密码,并添加密码提示(Password hint)。然后,单击或点击Next。
输入新用户的详细信息
按完成(Finish)以完成添加新用户/本地帐户的过程。
按完成并添加用户
您将返回到“用户帐户(User Accounts)”窗口,在该窗口中,您会看到与其他用户帐户并列的新用户帐户。
提示:(TIP:)您还可以使用“用户帐户(User Accounts)”窗口设置Windows 11以允许您无需密码自动登录(automatically login without a password)。
5. 如何在安装Windows 11时添加(Windows 11)Microsoft帐户
当您安装 Windows 11(install Windows 11)时,您会被要求添加Microsoft帐户。在您首次登录Windows 11之前添加用户。(Windows 11)输入与该帐户关联的电子邮件或电话号码,然后按Next。
安装Windows 11时,输入(Windows 11)Microsoft帐户的电子邮件
然后,输入密码并按登录(Sign in)。
输入(Enter)微软(Microsoft)的账号密码
如果您对您的 Microsoft 帐户使用两步验证(two-step verification for your Microsoft account),您可能还必须通过输入您在智能手机上收到的代码或其他电子邮件来确认您是尝试登录的人。然后,该帐户被添加到Windows 11。
您更喜欢哪种添加新用户的方法?
现在您知道了在Windows 11(Windows 11)中创建和添加用户帐户的几种方法。您可以使用“设置”(Settings)应用、Windows 终端(Windows Terminal)和其他几个工具来执行此操作。在结束本指南之前,请告诉我们您更喜欢哪种方法以及为什么?此外,如果您知道其他创建新用户的方法,请在评论中告诉我们。我们承诺会更新本文并包含您的提示。
5 ways to create and add a new user in Windows 11 -
Do you have a new PC with Windows 11 or did you just install it yourself? You maу want to share your computer with other people, so you have to аdd a new user to Windows 11. If that’s the case, yоu are in the right place. Іn this guide, we show you how to create and add a new user in Windows 11. It doesn’t matter if you want to add a Microsoft or a local account, we’ve got you covered:
IMPORTANT: If you want to create a Microsoft account, you should do that in a web browser to set it up correctly, including with the appropriate recovery information, in case you later forget the password. We have a separate guide with 3 ways to create a Microsoft account from your browser that you should read first. In this guide, we show you how to add Microsoft accounts that were created previously and how to create and add local user accounts to Windows 11. Note that all the procedures in this guide work only if you’re using an administrator account.
1. How to add a user in Windows 11 from the Settings app
You can add both Microsoft accounts and local accounts from the Settings app. To do that, first open Settings in Windows 11. One way to do that is to press the Windows + I keys on the keyboard. Then, in the Settings app, select Accounts on the left and go to Family & other users on the right.
In Settings, go to Accounts > Family & other users
Now you have options for adding other accounts to Windows 11. In the Other users section, click or tap the Add account button next to “Add other user.”
Click or tap Add account
This action opens the Microsoft account window. If you want to add a Microsoft account to Windows 11, read section 1.a. If you want to create and add a local account, read section 1.b.
TIP: If you’re wondering whether you should use a Microsoft account or a local account, read this article: Should you use a local or a Microsoft account?
1.a How to add a Microsoft account from Windows 11’s Settings
If you want to add a Microsoft account, enter the email address or phone number associated with your account, and press Next.
Enter the email for the Microsoft account you want to add
The Microsoft account is now added to your Windows 11 computer. You are not required to enter its password because it will be requested automatically on its first log in. Press Finish and you are done.
Press Finish
You can now use that Microsoft account to log in to Windows 11.
1.b How to add a local account from Windows 11’s Settings
If you want to create a local (non-Microsoft) account, in the Microsoft account window, click or tap “I don’t have this person’s sign-in information.”
Click or tap “I don’t have this person’s sign-in information”
Windows 11 tries to help you create a Microsoft account instead. Refuse this offer by clicking or tapping “Add a user without a Microsoft account.”
Add a user without a Microsoft account
You can finally create your local user account. Type its name and password, and then confirm the latter.
Create the new user
Below the password fields, there are three security questions for you to answer. You cannot skip them, and their purpose is to help you recover your local account if you forget its password. Choose the three questions that you want to answer and then type the appropriate answers. This data is not sent to Microsoft, so don’t be worried about answering truthfully. When done, click or tap Next.
Choose and answer the security questions
The local account is created, and you are returned to the Settings app, where you can see it displayed under Other users.
TIP: If you want to install Windows 11 without a Microsoft account, follow this guide: How to install and use Windows 11 with a local account.
2. How to add a local account from the Terminal (Command Prompt or PowerShell)
If you like command-line environments, open the Terminal as administrator, and type the command:
“net user NAME PASS /add”
Replace NAME with the name of the user you are creating and PASS with the password for it. Below, we created a user called MyUserName with the password Pas$$w0rd. How’s that for a strong password? 🙂
net user NAME PASS /add
NOTE: You can completely remove the PASS value from the command, and the newly created user can login without a password. Also, this command can be run both in the PowerShell, and the Command Prompt, not only the Terminal.
3. Add a new user account to Windows 11 using Computer Management
Open Computer Management. One way to do this is to press Windows + X on your keyboard and then choose Computer Management in the menu that appears. In the column on the left, choose Local Users and Groups, and in the middle of the window, right-click Users and select New User.
Right click on Users and select New User
You see the New User prompt. Complete the User Name and Full Name fields, type a password (if you want one) and confirm it, and then click Create.
Enter the details of the new user
The user account is created and added to Windows 11.
4. How to add or create a new user with netplwiz
To begin, open the Run window with the keyboard shortcut Windows + R, and type or copy and paste netplwiz. Then, click OK or press Enter on your keyboard.
Run netplwiz
The User Accounts window opens, listing the user accounts that exist on your computer. To add a new user (local account or Microsoft account), click or tap Add.
In User Accounts, click Add
To add a Microsoft account, read section 4.a. To create a local account, read section 4.b.
4.a How to add a Microsoft user account with netplwiz
If all you want is to add a Microsoft account, simply type its associated email address and press Next.
Enter the email of the Microsoft account
The new user is added to Windows 11 and can be used to sign in. All that’s left is to press Finish.
Press Finish
4.b How to create a new local user account with netplwiz
To add a new local account, click or tap “Sign in without a Microsoft account (not recommended).”
Click on Sign in without a Microsoft account (not recommended)
Next, you are presented once more with all the advantages of using a Microsoft account. The company is trying really hard to convince you to quit your idea of using a local account. Go ahead and click or tap Local account.
Choose Local account
Enter the new User name, type and confirm its password, and add a Password hint. Then, click or tap on Next.
Enter the details of the new user
Press Finish to complete the process of adding a new user/local account.
Press Finish and the user is added
You are returned to the User Accounts window, where you see the new user account listed alongside the others.
TIP: You can also use the User Accounts window to set Windows 11 to allow you to automatically login without a password.
5. How to add a Microsoft account while installing Windows 11
When you install Windows 11, you arrive at a point where you are asked to add a Microsoft account. The user is added before you log in to Windows 11 for the first time. Enter the email or phone number associated with that account and press Next.
While installing Windows 11, enter the email of the Microsoft account
Then, enter the password and press Sign in.
Enter the Microsoft's account password
If you use two-step verification for your Microsoft account, you might also have to confirm that you are the one who tries to sign in by entering a code you receive on your smartphone or an alternative email. Then, the account is added to Windows 11.
Which method of adding a new user do you prefer?
Now you know several methods for creating and adding user accounts in Windows 11. You can do this using the Settings app, the Windows Terminal, and several other tools. Before closing this guide, tell us which method do you prefer and why? Also, if you know other ways of creating new users, let us know in a comment. We promise to update this article and include your tips.