Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Windows Central
Windows Central
Technology
Mauro Huculak

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

Windows 11 guest account setup.

Windows, in previous versions, included a "Guest" account that allowed you to create a locked-down environment to safely and temporarily 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 how-to guide, I'll explain how to create a 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 Other users page.
(Image credit: Mauro Huculak)
  1. Click the Add account button under the "Other users" section.
(Image credit: Mauro Huculak)
  1. Click the "I don't have this person's sign-in information" option.
(Image credit: Mauro Huculak)
  1. Click the "Add a user without a Microsoft account" option.
(Image credit: Mauro Huculak)
  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.
(Image credit: Mauro Huculak)
  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 guest. 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.
(Image credit: Mauro Huculak)
  1. Click the Member Of tab.
  2. Click the Add button.
  3. Click the Advanced button.
(Image credit: Mauro Huculak)
  1. Click the Find now button.
  2. Select the Guests group.
(Image credit: Mauro Huculak)
  1. Click the OK button.
  2. Click the OK button again.
  3. Select the Users group.
  4. Click the Remove button.
(Image credit: Mauro Huculak)
  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.
(Image credit: Mauro Huculak)
  1. Create the account name (for example, Visitor) in the "User name" field.
(Image credit: Mauro Huculak)
  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.
(Image credit: Mauro Huculak)
  1. Click the Member Of tab.
  2. Click the Add button.
(Image credit: Mauro Huculak)
  1. Click the Advanced button.
(Image credit: Mauro Huculak)
  1. Click the Find now button.
  2. Select the Guests group.
(Image credit: Mauro Huculak)
  1. Click the OK button.
  2. Click the OK button again.
  3. Select the Users group.
  4. Click the Remove button.
(Image credit: Mauro Huculak)
  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.
(Image credit: Mauro Huculak)
  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
(Image credit: Mauro Huculak)

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"
(Image credit: Mauro Huculak)

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

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

More resources

For more in-depth insights, troubleshooting tips, and the latest updates on Windows 11 and 10, be sure to explore these resources:

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.