TodayWindows

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

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

  4. Under the “Other users” section, click the Add account button.

    Add account option

    Source: Windows Central

  5. Click the I don’t have this person’s sign-in information option.

    I don't have this person sign-in information

    Source: Windows Central

  6. Click the Add a user without a Microsoft account option.

    Add a user without a Microsoft account

    Source: Windows Central

  7. Create a name for the guest account — for example, Visitor.

    Create Guest account on Windows 11

    Source: Windows Central

    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.

  8. Create a password for the account.
  9. Complete the security questions to enable the password recovery feature.
  10. 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.

    Open account properties

    Source: Windows Central

  5. Click the Member Of tab.
  6. Click the Add button.
  7. Click the Advanced button.

    Advanced button

    Source: Windows Central

  8. Click the Find now button.
  9. Select the Guests group.

    Select Guests group

    Source: Windows Central

  10. Click the OK button.
  11. Click the OK button again.
  12. Select the Users group.
  13. Click the Remove button.

    Remove Users group

    Source: Windows Central

  14. Click the Apply button.
  15. 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.

    Computer Management create new user

    Source: Windows Central

  5. Create the account name (for example, Visitor) in the “User name” field.

    Computer Management new user configuration

    Source: Windows Central

  6. Create a new password for the guest account.
  7. Clear the User must change password at next logon option.
  8. Click the Create button.
  9. Right-click the account and select the Properties option.

    Open account properties

    Source: Windows Central

  10. Click the Member Of tab.
  11. Click the Add button.

    Account member of tab

    Source: Windows Central

  12. Click the Advanced button.

    Advanced button

    Source: Windows Central

  13. Click the Find now button.
  14. Select the Guests group.

    Select Guests group

    Source: Windows Central

  15. Click the OK button.
  16. Click the OK button again.
  17. Select the Users group.
  18. Click the Remove button.

    Remove Users group

    Source: Windows Central

  19. Click the Apply button.
  20. 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 *

    Create Guest account with Command Prompt

    Source: Windows Central

    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.

  5. Type the following command to remove the new user account from the “Users” group and press Enter:

    net localgroup users Visitor /delete

  6. Type the following command to add the new user account to the “Guests” user group and press Enter:

    net localgroup guests Visitor /add

    Add Guests group to account

    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"

    Create guest account with PowerShell

    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:

Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button