trio.so
How-Tos

How to Disable or Delete the Guest Account on Windows 11

Windows 11 has no classic Guest account to switch on, but the hidden one can be disabled or deleted. Steps for one PC and for every PC by policy.

Mountain landscape representing leadership perspective and vision
Written by
Atena Ladchartabi

Content writer, trio.so

Published on
Modified on

Windows 11 has a built-in Guest account, but it is switched off by default, and you cannot add a new classic Guest account from Settings. To keep it off, run net user guest /active:no in an administrator Command Prompt. You cannot delete the built-in account, only disable it. If you created your own account called "Guest", you can delete that one.

This guide covers one PC, every PC by policy, Windows 10, and what to give visitors instead.

Check whether the Guest account is on

net user guest

Look for the line Account active. No means the account is already disabled, and there is nothing to do. Yes means someone turned it on.

Disable the Guest account on one PC

Command Prompt

Open Command Prompt as administrator and run:

net user guest /active:no

The command prints "The command completed successfully." To turn it back on, use /active:yes.

Computer Management

  1. Right-click Start and choose Computer Management.
  2. Go to System Tools > Local Users and Groups > Users.
  3. Double click Guest, tick Account is disabled, then click OK.

Computer Management does not show Local Users and Groups on Windows 11 Home. Use the command above on Home.

Delete or remove a guest account

The built-in Guest account is a Windows system account. You can disable it but not delete it. What people usually want to remove is an extra account that someone set up for visitors. To remove that one:

  1. Open Settings > Accounts > Other users.
  2. Select the account and choose Remove. Windows warns that it deletes the account's data on this PC.

Or from an administrator Command Prompt: net user AccountName /delete. Replace AccountName with the account's name.

Can you add a guest account on Windows 11?

Not the old one. Windows 11 has no "Add a guest" button in Settings. If a visitor needs the PC, create a standard local account that has no admin rights:

  1. Open Settings > Accounts > Other users > Add account.
  2. Choose I don't have this person's sign-in information, then Add a user without a Microsoft account.
  3. Name it, set a password, and leave it as a standard user.

Delete the account when the visit ends. For a shared kiosk or conference-room PC, use Assigned Access instead of a guest sign-in.

Disable the guest account on Windows 10

The commands are the same. net user guest /active:no works on Windows 10, and Computer Management has the same path.

Disable the guest account on every PC with Group Policy

For domain-joined PCs, set the policy once and it applies everywhere:

  1. Open the Group Policy Management Editor for the GPO that covers the PCs.
  2. Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
  3. Set Accounts: Guest account status to Disabled.

Also look at Accounts: Rename guest account and the user right Deny log on locally. Adding the Guests group to Deny log on locally blocks any account in that group. It covers later accounts only if you place them in that group.

For PCs that are not on a domain, run net user guest /active:no as a script.

Managing this across many devices

Group Policy reaches domain-joined PCs. trio.so can run a script on enrolled Windows PCs from the console, so net user guest /active:no can go to the PCs that are not on a domain from one place. See remote terminal.

The trio.so console running a script on a Windows PC, with the script text and the PC it will run on.
Run a script on an enrolled Windows PC from the trio.so console.

Related reading: PowerShell execution policies, fix the proxy settings error, delete a Windows service and allow Chrome through your firewall.

Ready-to-use Templates

Must-have Template Toolkit for IT Admins

Explore All
Template Toolkit

Apply Windows security settings across every device

Skip the per-PC steps. trio.so enforces security settings from one policy and shows which Windows devices took them. Start a free trial.

Start free trial

Manage Every Device From One Console

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

14-day free trial. No credit card required.

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

Smiling womanAbstract geometric patternAbstract geometric patternSmiling womanSmiling woman

Frequently Asked Questions (FAQ)

Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.

You cannot add the classic Guest account. Create a standard local account in Settings > Accounts > Other users and delete it afterwards.

Remove an extra account in Settings > Accounts > Other users, or run net user AccountName /delete. The built-in Guest account can only be disabled.

It is off by default. If someone enables it, anyone with physical access gets a sign-in without a password, so keep it disabled and check the setting on your PCs.

Related

From the blog

The related industry news, interviews, technologies, and resources.