sodcalculator

10 Tech How-To

Change Guest Password in Windows 10

Guide 10-59197 · Updated · Step by step

To change the password for the built-in Guest account in Windows 10, you must first enable the account (it is disabled by default), then set a new password using the Command Prompt or Local Users and Groups. This guide walks you through both methods, explains why the Guest account behaves differently from standard accounts, and covers common issues you might hit.

Why the Guest Account Is Different

Windows 10 ships with a built-in Guest account, but it is turned off by default. Unlike a standard user account, the Guest account has no password and is designed for temporary, low-privilege access. Microsoft intentionally leaves it disabled because an open Guest account is a security risk—anyone at the keyboard could log in without credentials.

When you enable the Guest account, Windows does not let you set a password through the usual Settings > Accounts screen. That interface only manages accounts you created yourself. The Guest account is a local system account, so you must use a different tool to change its password.

Method 1: Using Command Prompt (Admin)

The fastest way is to use the net user command. You need administrator privileges.

  1. Press Windows + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Type the following command and press Enter to enable the Guest account (if it is not already enabled):
    net user guest /active:yes
  3. Now set a new password by typing:
    net user guest *
  4. You will be prompted to enter a new password and then confirm it. The characters will not show as you type—this is normal.

If you prefer to set the password in one line, you can type net user guest YourNewPassword (replace YourNewPassword with the actual password). Be aware that this leaves the password visible in command history, so the interactive method is safer.

Method 2: Using Local Users and Groups

Windows 10 Pro, Enterprise, and Education editions include the Local Users and Groups snap-in. Home edition does not have it.

  1. Press Windows + R, type lusrmgr.msc, and press Enter.
  2. In the left pane, click Users.
  3. Right-click Guest and select Set Password.
  4. You will see a warning that changing the password may affect resources that use this account. Click Proceed.
  5. Enter the new password twice and click OK.

This method also lets you enable or disable the account by right-clicking and choosing Properties, then unchecking Account is disabled.

How to Enable the Guest Account

If the Guest account is not active, you will not be able to log in with it even after setting a password. To enable it, use one of these methods:

  • Command Prompt (Admin): net user guest /active:yes
  • Local Users and Groups: Right-click Guest > Properties > uncheck Account is disabled.

After enabling, the Guest account appears on the login screen. If you want to remove it from the login screen, you can disable it again with net user guest /active:no.

Common Problems and Fixes

Here are the issues people run into most often:

  • “Access is denied” when running net user: You must run Command Prompt as administrator. Right-click the Start button and choose the admin option.
  • Guest account disappears from login screen: The account may be disabled. Re-enable it with the command above.
  • Password does not stick: If you set a password but the Guest account logs in without asking, check that the account is not set to “Password never expires” in Local Users and Groups. Also, make sure you are logging into the Guest account, not a different local account.
  • Home edition lacks lusrmgr.msc: Use the Command Prompt method instead.

Security Considerations

Changing the Guest password does not make the account secure by itself. The Guest account has very limited permissions, but it still allows anyone with the password to access shared folders and some system resources. For temporary use, many administrators prefer to create a separate standard user account with a strong password instead of enabling the Guest account.

If you do enable Guest, consider these practices:

  • Use a strong password (at least 12 characters, mix of letters, numbers, and symbols).
  • Disable the Guest account when not in use.
  • Do not add the Guest account to the Administrators group—this defeats the purpose.
  • Be aware that the Guest account can access shared folders on the network if sharing is enabled.

Alternatives to the Guest Account

If you need to give someone temporary access to your PC, you have better options than the Guest account:

  • Create a temporary standard user account: Go to Settings > Accounts > Family & other users, then add a new user. Set a strong password and delete the account when done.
  • Use Microsoft Family features: You can create a child account with parental controls, limiting screen time and app usage.
  • Use a separate local account with limited permissions: This gives you more control over what the person can do.

Each of these avoids the security risks of an always-on Guest account.

Frequently Asked Questions

Can I change the Guest password from Settings?

No. The Settings app only shows accounts you created or Microsoft accounts. The built-in Guest account is a local system account and must be managed via Command Prompt or Local Users and Groups.

What if I forgot the current Guest password?

If you have administrator access, you can simply set a new password using the Command Prompt method above—you do not need to know the old one. If you do not have admin access, you will need to reset it from another administrator account.

Does changing the Guest password affect other accounts?

No. The Guest account is separate from all other user accounts. Changing its password only affects login to the Guest account.

Why is the Guest account disabled by default?

Microsoft disables it to reduce security risks. An enabled Guest account with no password allows anyone to log in without credentials, which is a serious vulnerability. Disabled by default is a safer baseline.

Can I rename the Guest account?

Yes, you can rename it in Local Users and Groups (right-click Guest > Rename) or with the command wmic useraccount where name='Guest' rename NewName. However, the underlying SID remains the same, so it still functions as the Guest account.

Will the Guest account work on a domain-joined PC?

Yes, the local Guest account exists on every Windows 10 machine, including domain-joined ones. However, domain policies may override local account settings, so check with your IT administrator before enabling it.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →