How to set up a guest account to safely share a Windows 11 PC

Windows 11 guest account setup
Windows 11 guest account setup (Image credit: Windows Central)

In older versions of Windows, a "Guest" account allowed users to create a super locked-down environment to safely share a computer with other people to run apps and access the internet, but this special account is no longer available on Windows 11 (or Windows 10).

However, it's still possible to create a limited account on Windows 11 with the same characteristics of a "Guest" account using the Settings app, Computer Management, Command Prompt, and even PowerShell commands.

In this Windows 11 guide, we will walk you through the steps to create a temporary guest account on your computer.

How to create a guest account using Settings

To create a guest account on Windows 11, use these steps:

  1. Open Settings.
  2. Click on Accounts.
  3. Click the Family & other users page on the right side.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Under the "Other users" section, click the Add account button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the I don't have this person's sign-in information option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Add a user without a Microsoft account option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Create a name for the guest account — for example, Visitor.Quick note: Although the built-in "Guest" account has been deprecated, it's still a reserved name, which means that you can't use the same name.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Create a password for the account.
  2. Complete the security questions to enable the password recovery feature.
  3. Click the Next button.

Once you complete the steps, a restricted standard account will be created to share the computer with your house guests. The last thing left to do is sign out and sign in with the newly created account.

Although you can always share a computer with a standard account, you can go a step further and add the new account to the "Guest" group to make it more restrictive. However, since it's impossible to change user groups from within the Settings app, you need to use the Computer Management app or Command Prompt.

Add account to the Guest user group

To add a Windows 11 account to the Guest group with Computer Management, use these steps:

  1. Open Start.
  2. Search for Computer Management and click the top result to open the app.
  3. Browse to the following path:System Tools > Local Users and Groups > Users
  4. Right-click the account and select the Properties option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Member Of tab.
  2. Click the Add button.
  3. Click the Advanced button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Find now button.
  2. Select the Guests group.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.
  2. Click the OK button again.
  3. Select the Users group.
  4. Click the Remove button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Apply button.
  2. Click the OK button.

After you complete the steps, the account will belong to the Guests (more restrictive) system group.

How to create a guest account using Computer Management

To set up a guest account through Computer Management, use these steps:

  1. Open Start.
  2. Search for Computer Management and click the top result to open the app.
  3. Browse to the following path:System Tools > Local Users and Groups > Users
  4. Click the "Action" menu and select the New user option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Create the account name (for example, Visitor) in the "User name" field.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Create a new password for the guest account.
  2. Clear the User must change password at next logon option.
  3. Click the Create button.
  4. Right-click the account and select the Properties option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Member Of tab.
  2. Click the Add button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Advanced button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Find now button.
  2. Select the Guests group.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.
  2. Click the OK button again.
  3. Select the Users group.
  4. Click the Remove button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Apply button.
  2. Click the OK button.

After you complete the steps, the restricted local account will be created to share the computer with other people.

How to create a guest account using Command Prompt

To configure a temporary guest account through Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to create a new account and press Enter:net user Visitor /add /active:yes
  4. Type the following command to set up a password for the account and press Enter:net user Visitor *Quick note: If this is a temporary guest account, you don't need to configure a password. You can press Enter twice to set a blank password.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Type the following command to remove the new user account from the "Users" group and press Enter:net localgroup users Visitor /delete
  2. Type the following command to add the new user account to the "Guests" user group and press Enter:net localgroup guests Visitor /add

Source: Windows Central (Image credit: Source: Windows Central)

Once you complete the steps, the account will appear on the sign-in screen for anyone to use with the assigned password.

How to create a guest account using PowerShell

To create a guest account with PowerShell commands on Windows 11, use these steps:

  1. Open Start.
  2. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  3. Type the following command to create a password and press Enter:$GuestPassword = Read-Host -AsSecureString
  4. Create the account password with the blinking cursor.
  5. Type the following command to create a new account and press Enter:New-LocalUser "Visitor" -Password $GuestPassword
  6. Type the following command to add the account in the Guests group and press Enter:Add-LocalGroupMember -Group "Guests" -Member "Visitor"

Source: Windows Central (Image credit: Source: Windows Central)

After you complete the steps, PowerShell will create the guest account to share the device with other people.

These steps are meant to set up an account to temporarily share a device with visitors. If you want to share a device more permanently, it's recommended to create a standard account for each user with a Microsoft account or offline account.

More Windows resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.