Skip to main content

How to set up a guest account on Windows 10

The concept of a guest account isn't a bad one: a locked-down account that you can let other people use on your PC to access the internet, run apps, and not much more — all while keeping your files, settings, and everything else safe (in theory). But when Microsoft rolled out Windows 10, the Guest account disappeared.

You can enable it in a number of ways, but there's no Guest account to use. In fact, if you manage to turn on the account, it won't even show up on the sign-in screen.

However, the elements needed to create a guest account are still present in Windows 10, which makes it possible to create your very own restricted account to let guests use your PC. It just take a bit of user assembly.

In this Windows 10 guide, we'll walk you through the steps to use Command Prompt to create a guest account on your PC.

How to create a guest account

  1. Open Start.
  2. Search for Command Prompt.
  3. Right-click the result and select Run as administrator.
  4. Type the following command to create a new account and press Enter:net user Visitor /add /active:yesKeep in mind that we're using the Visitor as the name of the account, because Guest is a reserved name on Windows 10 and you can't use it. However, you're free to name the account anything you like. Just keep it short, you don't want to go crazy on the name.
  5. Type the following command to create a password for the newly created account and press Enter:net user Visitor *
  6. You don't need a password for this account, as such simply press Enter twice to create an empty password.

  1. Type the following command to remove the new user account from the default 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
  3. Close Command Prompt to complete the task.

Using the steps mentioned above, you're creating a traditional standard account, but removing it from the Users and adding it to the Guests user group is what gives the account all the same permissions you would find in the old Guest account.

Once you completed the steps, you only need to sign out of your current account, and in the Sign in screen, select the Visitor account and click the Sign in button — no password required.

Now with the new restricted account created, you can now safely share your computer with guests. They will be able to access the internet and use certain applications, but they won't be able to change settings, install programs, and or access your files.

If you no longer need the account, you can go to Settings > Accounts > Family & other people, select the Visitor account and click the Remove button to delete the account.

Do you think Microsoft should bring back the original Guest account to Windows 10? Tell us in the comments below.

More Windows 10 resources

For more help articles, coverage, and answers on Windows 10, you can visit the following resources:

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.

11 Comments
  • Thanks! Extremely helpful
  • Yes bring back the old guest account
  • Why do you continue to NOT provide the .reg or PowerShell files for these types of things. Would make life much easier.
  • Why did they remove it? "low usage" again?
  • So stupid of them to remove this and local restricted accounts. If forcing us to give them 24/7 access to our children's activity doesn't scream spyware, not sure what does...
  • This was one feature i wish they kept. It was nice not having to "log people on" my computer when they wanted to use it while also protecting my computer from their stupidity.
  • I guess it makes sense? What with everybody and their cat having their own laptop, desktop, and phone, who really needs to share? Of course that's satirical; not everybody has all three or even one In some cases, especially among adolescents.
  • Agree with most people here that they should bring back the old Guest account. Thanks for a very helpful article. I'm gonna save it for future reference.
  • I want the old guest account.
  • Its weird that xb1 has a guest account option.
    Would be nice to see one that allows for Microsoft account login.
  • The custom guest account I created can't detect UWP apps. How can I fix that?