If you find that your guests are asking fairly often to use your computer temporarily to check their email or look something up on the web, you don’t have to let them use your personal account or create a special account for each guest.

RELATED: Why Every User On Your Computer Should Have Their Own User Account

Windows used to have a dedicated Guest account you could enable that would allow someone to temporarily use your computer, while ensuring they wouldn’t see your private data. Guest accounts also had limited access, so anyone logged in as a guest couldn’t install software or change system settings.

This option is no longer easily accessible in Windows 10—but you can still create a guest account using the Command Prompt.

To open a Command Prompt window, press the Windows key+X to access the Win+X menu and select “Command Prompt (Admin)”. You must select the administrator version of the Command Prompt to create a new user account.

Note: If you see PowerShell instead of Command Prompt on the Power Users menu, that’s a switch that came about with the Creators Update for Windows 10. It’s very easy to switch back to showing the Command Prompt on the Power Users menu if you want, or you can give PowerShell a try. You can do pretty much everything in PowerShell that you can do in Command Prompt, plus a lot of other useful things.

RELATED: How to Put the Command Prompt Back on the Windows+X Power Users Menu

If the User Account Control dialog box displays, click “Yes” to continue.

Note: You may not see this dialog box, depending on your User Account Control settings. We don’t recommend disabling UAC entirely, however.

First, we’ll create a guest account called Visitor (you can call it whatever you want). The name “Guest” is a reserved account name in Windows, even though you can’t access the built-in guest account anymore, so you’ll need to choose a name other than “Guest”. To create the account, type the following command at the prompt and press Enter.

net user Visitor /add /active:yes

Because the Visitor account is so limited, it doesn’t really need to be protected. So, we’re going to apply a blank password to it, or no password at all. To do this, type the following command at the prompt. The last character is an asterisk.

net user Visitor *

When asked for the password, press Enter without typing one. Then, just press Enter again when asked to retype the password.

By default, new users are placed in the users group so they have the permissions for standard users. However, we want the account to more limited than that. So, we’re going to put the Visitor user in the guests group. To do this, we must first delete the Visitor user from the users group. To do this, enter the following command at the prompt.

net localgroup users Visitor /delete

Then, type the following command at the prompt to add the Visitor user to the guests group.

net localgroup guests Visitor /add

Close the Command Prompt window either by typing exit at the prompt or by click the “X” button in the upper-right corner of the window.

Now, the Visitor user displays in the list of users in the lower-left corner of the logon screen. Guests can simply select the Visitor user and click “Sign in” to log in to the Visitor account and have the use of basic functions like running a browser to surf the web.

RELATED: How to Log Out in Windows 8 and 10

Multiple users can be logged in at once in Windows, so you don’t even have to sign out of your account to let a guest log in to the Visitor account. There are two ways you can access the Visitor account. If you’re currently using your account on the computer, you can select the Visitor account on the Start menu to log into that account for your guest.

If the screen is locked, the guest can click on the Visitor account on the logon screen, as shown above.

While the guest is logged into the Visitor account, they can see that you’re logged in, but if they try to get to your account, they will be asked for your password on the login screen.

RELATED: How to Delete a User Account in Windows 7, 8, or 10

If you find you don’t need it anymore, you can delete the Visitor account just like you can any other user account.

Profile Photo for Lori Kaufman Lori Kaufman
Lori Kaufman is a technology expert with 25 years of experience. She's been a senior technical writer, worked as a programmer, and has even run her own multi-location business.
Read Full Bio »