Windows 11 用户可以通过官方Microsoft在线帐户或创建本地离线帐户向他们的 PC 添加多个帐户。但是Windows中的本地帐户是什么?为什么它们如此有用?
在本教程中,我们将讨论可用于创建Windows 11本地帐户的六种方法以及如何授予它们管理员权限。

什么是本地用户帐户?
本地用户帐户允许Windows 11(和Windows 10)用户在同一台设备上创建单独的帐户。它们的主要目的是使不同的用户能够使用同一台机器进行自己的设置,而无需访问其他用户的文件。
本地(Local)用户帐户还允许您使用多个帐户为不同的目的使用不同的设置。例如,您可以为个人文件创建一个帐户,为工作文件创建另一个帐户。
最后,本地用户帐户的好处是更加私密,因为您的任何数据都不需要传输到服务器。他们也不需要互联网连接或电子邮件地址来设置。
1. 使用 Windows 11安装程序(Setup)创建本地用户帐户(Local User Account Using Windows 11)
如果您是首次激活 Windows 11(Windows 11 activation for the first time),您可以创建一个本地用户帐户,而不是使用您的Microsoft帐户。
- 在设置过程中,当系统询问您是要将电脑设置为个人使用还是工作或学校帐户时
,选择个人使用。(Personal Use)

- 选择登录(Sign-in)选项
,而不是使用Microsoft帐户登录。

- 选择离线(Choose Offline)帐户,然后在提示返回时
选择暂时跳过。(Skip)

- 输入(Enter)您选择的用户名并选择下一步(Next)。

- 输入(Enter)您选择的密码并选择下一步(Next)。

- 现在选择一个安全问题并输入答案。选择下一步(Select Next)。

- 根据提示
完成Windows 安装程序。(Windows Setup)
2. 使用 Windows 设置创建本地帐户
如果您已经设置了您的 PC,则可以通过Windows设置创建本地用户帐户。
- 在“开始(Start)”菜单中键入设置,然后选择“设置”(Settings)应用。
- 导航到帐户。

- 选择家庭和其他用户。

- 选择其他用户下的添加(Add)帐户按钮。

- 在对话框中,选择我没有此人的登录信息。

- 选择添加(Select Add)没有Microsoft帐户的用户,然后选择下一步(Next)。

- 输入您选择的用户名和密码。

- 选择密码后,向下滚动并设置密码检索的安全问题。

- 选择下一步(Select Next)创建您的帐户。
- 要将新的本地帐户转换为管理员帐户,请返回Accounts > Family和其他用户,然后在其他用户下找到该帐户。
- 按右侧的下拉箭头,然后选择更改(Change)帐户类型按钮。在新对话框中,将标准用户(Standard User)更改为管理员(Administrator),然后选择确定。

3.使用Netplwiz创建本地用户账户(Local User Account)
您还可以使用Netplwiz创建本地用户帐户。为此:
- 在任务栏(Taskbar)搜索栏中,键入Netplwiz,然后选择运行命令(Run Command)。

- 在“用户(User) 帐户(Accounts)”窗口中,选择“添加(Add)”(在这台计算机的用户列表下)。

- (Select Sign)选择不使用Microsoft帐户(Microsoft)登录(不推荐)。

- 选择本地帐户。

- 输入用户名和密码。输入只有您能识别的密码提示,然后选择“下一步”(Next)。

- 选择完成(Finish)以完成帐户创建。

4.使用命令提示符(Command Prompt)创建本地用户帐户(Local User Account)
要使用命令提示符(Command Prompt)创建本地帐户:
- 在“开始(Start)”菜单搜索栏中,键入 cmd。然后,在命令提示符(Command Prompt)下,选择以管理员身份
运行。(Run)

- 在命令行“net user username password /add”中键入以下命令,将 username 替换为您选择的用户名,将 password 替换为强密码。请注意,由于您无法使用此方法添加安全问题,因此如果您忘记了密码,则无法找回。

- 按回车。
- 要使该帐户成为管理员帐户,请在命令行中键入以下命令,将 USER-ACCOUNT 替换为您为本地帐户选择的用户名。按 Enter(Press Enter)。
net 本地组管理员USER-ACCOUNT /add
- 为确保帐户已创建,请转到“开始(Start)”菜单并选择您的个人资料。您的新帐户应该会列出。

5.使用Powershell创建本地用户账户(Local User Account)
要使用Powershell(Powershell)创建本地用户帐户:
- 在任务栏(Taskbar)搜索栏中键入PowerShell ,然后选择以管理员身份
运行。(Run)

- 在命令行中键入以下命令,然后按 Enter:
$Password = Read-Host-AsSecureString

- 输入新的Windows 11本地用户帐户所需的密码,然后按Enter 键(Enter)。
- 键入以下代码,将USERNAME替换为帐户名,将 USERS-NAME替换为用户的全名,将DESCRIPTION替换为帐户描述。保留引号。
新本地用户“USERNAME”-密码 $Password -全名“USERS-NAME”-描述“DESCRIPTION”

- 键入以下命令,将USERNAME更改为您选择的用户名,如果您希望该帐户是标准帐户,则将ACCOUNT-TYPE更改为 Users;如果您希望该帐户具有管理员权限,则将
其更改为Administrators 。
添加本地组成员-组“帐户类型”-成员“用户名”

6.使用计算机管理器(Computer Manager)创建本地用户帐户(Local User Account)(仅限
专业版)(Pro)
Windows 11 Pro用户可以通过电脑管家(Computer Manager)创建本地用户账户。如果您运行的是Windows 11(Windows 11) 家庭版(Home),此方法将不起作用。
- 转到“开始(Start)”菜单搜索栏,输入“计算机管理”,然后选择“计算机管理(Computer Management)” 。

- 选择左上角的系统工具,然后选择(System Tools)本地用户(Local Users)和组(Groups)。
- 现在右键单击 Users 并选择New User。
- 选择用户名和密码以创建新的本地帐户。
在 Windows 11 上
创建本地用户(Local User) 帐户(Accounts)
如您所见,在Windows 11上创建本地用户帐户相对容易。您可以根据需要创建任意数量的此类帐户,并使用它们将工作和私人用途分开,甚至可以让您的家人使用您的 PC 而无需访问您的文件。这是你的选择!
How to Create a Local Account on Windows 11
Windows 11 users can add multiplе accounts to their РC through an official Microѕoft online account or by creating local offline accounts. But what are local accounts in Windows? And why are they so useful?
In this tutorial, we’ll discuss six methods you can use to create a Windows 11 local account and how to give them admin permissions.

What Is a Local User Account?
Local user accounts allow Windows 11 (and Windows 10) users to create separate accounts on the same device. Their primary purpose is to enable different users to use the same machine with their own settings and without having access to other users’ files.
Local user accounts also allow you to use multiple accounts to utilize different settings for different purposes. For example, you can have an account for your personal files and another for work files.
Finally, local user accounts have the benefit of being more private, as none of your data is required to be transmitted to a server. They also do not need an internet connection or email address to set up.
1. Create a Local User Account Using Windows 11 Setup
If you are in the process of Windows 11 activation for the first time, you can create a local user account instead of using your Microsoft account.
- In the setup process, choose Personal Use when asked whether you want to set up the PC for personal use or a work or school account.

- Instead of signing in with a Microsoft account, select Sign-in options.

- Choose Offline account, then select Skip for now when prompted to go back.

- Enter the username of your choice and select Next.

- Enter the password of your choice and select Next.

- Now choose a security question and input the answer. Select Next.

- Finish the Windows Setup as prompted.
2. Use Windows Settings to Create a Local Account
If you’ve already set up your PC, you can create local user accounts via the Windows settings.
- Type settings into the Start menu and select the Settings app.
- Navigate to Accounts.

- Select Family & other users.

- Select the Add account button under Other Users.

- In the dialog box, select I don’t have this person’s sign-in information.

- Select Add a user without a Microsoft account and select Next.

- Enter a username and password of your choice.

- Once you have chosen a password, scroll down and set up security questions for password retrieval.

- Select Next to create your account.
- To turn the new local account into an administrator account, return to Accounts > Family & other users and find the account under Other Users.
- Press the drop-down arrow on the right-hand side and select the Change account type button. In the new dialog box, change Standard User to Administrator and select OK.

3. Use Netplwiz to create a Local User Account
You can also use Netplwiz to create a local user account. To do so:
- In the Taskbar search bar, type Netplwiz, and select Run Command.

- In the User Accounts window, select Add (under the list of users for this computer).

- Select Sign in without a Microsoft account (non-recommended).

- Select Local account.

- Enter a username and password. Enter a password hint that only you will recognize, then select Next.

- Select Finish to finalize account creation.

4. Use the Command Prompt to Create a Local User Account
To create a local account using Command Prompt:
- In the Start menu search bar, type cmd. Then, under Command Prompt, select Run as administrator.

- Type the following command in the command line “net user username password /add”, replacing username with your chosen username and password with a strong password. Take note that because you do not get to add security questions with this method, if you forget the password, you cannot recover it.

- Press Enter.
- To make the account an administrator account type the following command into the command line, replacing USER-ACCOUNT with the username you selected for the local account. Press Enter.
net localgroup administrators USER-ACCOUNT /add
- To make sure the account has been created, go to the Start menu and select your profile. Your new account should be listed.

5. Use Powershell to Create a Local User Account
To create a local user account using Powershell:
- Type PowerShell into the Taskbar search bar and select Run as administrator.

- Type the following command into the command line and press Enter:
$Password = Read-Host -AsSecureString

- Type the password you want for your new Windows 11 local user account and press Enter.
- Type the following code, replacing USERNAME with the account name, USERS-NAME with the full name of the user, and DESCRIPTION with a description of the account. Keep the quotation marks.
New-LocalUser “USERNAME” -Password $Password -FullName “USERS-NAME” -Description “DESCRIPTION”

- Type the following command, changing USERNAME to the username you chose and ACCOUNT-TYPE to Users if you want the account to be standard or Administrators if you want the account to have admin permissions.
Add-LocalGroupMember -Group “ACCOUNT-TYPE” -Member “USERNAME”

6. Use the Computer Manager to Create a Local User Account (Pro Only)
Windows 11 Pro users can create local user accounts through the Computer Manager. This method will not work if you are running Windows 11 Home.
- Go to the Start menu search bar, type in computer management, and select Computer Management.

- Select System Tools in the top left corner and then Local Users and Groups.
- Now right-click on Users and select New User.
- Choose a username and password to create a new local account.
Creating Local User Accounts on Windows 11
As you can see, it’s relatively easy to create a local user account on Windows 11. You can create as many of these accounts as you like and use them to separate work and private use or even let your family members use your PC without accessing your files. The choice is yours!