Windows 10 includes a built-in Guest account that lets someone use the computer without a password. Because anyone could use it, it’s turned off by default, but older upgrades, other users, or troubleshooting guides sometimes turn it back on. You may also have created your own limited “guest” account for visitors. This guide shows how to check whether a guest account is active and how to disable or remove it.
Quick answer
Open Command Prompt as administrator and run net user guest /active:no. To remove a regular account you created for guests, go to Settings > Accounts > Family & other users, select the account, and click Remove.
Step 1: Check whether the Guest account is on
- Click Start, type cmd, and choose Run as administrator.
- Type
net user guestand press Enter. - Look at the Account active line. No means it’s already disabled. Yes means it’s turned on.
You can also look at the sign-in screen. If a Guest account appears in the lower-left corner, it’s active.
Method 1: Disable it with Command Prompt
- Open Command Prompt as administrator.
- Run
net user guest /active:no. - You should see “The command completed successfully.”
This works on every edition of Windows 10, including Home.
Method 2: Use Local Users and Groups (Pro, Enterprise, Education)
- Press Windows + R, type lusrmgr.msc, and press Enter.
- Click Users in the left pane.
- Double-click Guest.
- Check Account is disabled and click OK.
A small down-arrow icon on the Guest account shows that it’s disabled.
Method 3: Use Local Security Policy or Group Policy
On Pro and higher editions, you can enforce the setting with policy so it can’t easily be turned back on:
- Press Windows + R, type secpol.msc, and press Enter.
- Go to Local Policies > Security Options.
- Double-click Accounts: Guest account status.
- Select Disabled and click OK.
The same setting is in the Group Policy Editor (gpedit.msc) under Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
Remove a guest account you created
Many people set up a separate local account named “Guest” or “Visitor” for friends and family. Windows treats this as a normal account, so the steps above won’t affect it. To remove it:
- Sign in with an administrator account.
- Go to Settings > Accounts > Family & other users.
- Under Other users, select the account and click Remove.
- Click Delete account and data.
Removing the account deletes its files, so copy anything you want to keep first. If you’d like to set up a guest-style account again later, see how to add a guest account on Windows 10.
Disable another account without deleting it
If you’d rather keep a visitor’s account and its files but stop people from signing in to it for now, disable it instead of removing it. In an administrator Command Prompt, run net user "Account Name" /active:no, using the account’s exact name in quotes. The account disappears from the sign-in screen, and its files stay on the PC. When you need it again, run the same command with /active:yes. On Pro editions, you can also check Account is disabled for that user in lusrmgr.msc.
Rename the built-in Guest account
For extra protection on Pro and higher editions, some administrators also rename the disabled Guest account so it’s less obvious. In secpol.msc, go to Local Policies > Security Options, open Accounts: Rename guest account, type a new name, and click OK. This is optional and mostly useful on shared or business PCs.
Why disable the Guest account?
- No password: Anyone with physical access could sign in.
- Network access: A guest account can open the door to shared folders and printers on your network.
- Easier to misuse: Malware and unauthorized users sometimes target enabled default accounts.
For better security, give each person their own standard account with a password, and protect your own with a strong password or PIN. See how to set a lock screen password in Windows 10.
If you can’t disable it
- “Access is denied”: Command Prompt isn’t running as administrator. Close it and reopen it with Run as administrator.
- The setting turns back on: A work or school policy may control it. Check with your IT department.
- lusrmgr.msc won’t open: You’re on Windows 10 Home. Use the Command Prompt method instead.
Related: How to add a guest account on Windows 11.
Frequently asked questions
Can I delete the built-in Guest account?
No. It’s a built-in system account. Disabling it is the supported way to turn it off.
Will disabling Guest affect other accounts?
No. Your account and other users’ accounts aren’t changed.
Is the Guest account on by default in Windows 10?
No. It’s disabled by default, so you’ll usually only need these steps if someone turned it on.
Matthew Burleigh is the head writer at solveyourtech.com, where he covers topics like the iPhone, Microsoft Office, and Google apps. He has a Bachelor’s and Master’s degree in Computer Science and has over 15 years of IT experience.
He has been writing online since 2008 and has published thousands of articles that have been read millions of times.