How to Sign Into Another Domain on Windows 10

To sign in to another domain on a Windows 10 PC, click Other user on the sign-in screen and type your user name with the domain in front of it, as DOMAIN\username (for example, CONTOSO\jsmith). Then enter your password. You can also use the email-style format [email protected]. To sign in to a local account on the same PC instead, type .\username. This only works if the PC is joined to a domain and that domain trusts the one you’re signing in to. Here are the steps, plus how to check which domain you’re in and fix common errors.

How to sign in to another domain on Windows 10: choose Other user, then enter DOMAIN\username, user@domain.com, or .\username for a local account
The user name format tells Windows which domain to use. This is a drawing, not a screenshot.

Note: On a work or school PC, your IT department controls which domains and accounts can sign in. If the steps below don’t work, ask them, because you may not have permission.

Sign in to another domain

  1. If someone is already signed in, press Ctrl + Alt + Delete and choose Switch user, or sign out.
  2. On the sign-in screen, click Other user in the bottom-left corner. If you don’t see it, click the current user name and choose Sign-in options or Other user.
  3. In the user name box, type DOMAIN\username. Below the box, Windows shows Sign in to: DOMAIN so you can check it.
  4. Enter the password and press Enter.

The first sign-in on a PC takes longer while Windows creates your profile.

User name formats

Format Example Signs in to
DOMAIN\username CONTOSO\jsmith A domain account (the short domain name)
username@domain [email protected] A domain account (UPN format)
.\username .\Admin A local account on this PC
PCNAME\username DESK-42\Admin A local account on this PC

The sign-in screen also has a How do I sign in to another domain? link that shows these formats.

Check which domain you’re signed in to

  • Open Command Prompt and type whoami. It shows domain\username.
  • Type echo %USERDOMAIN% to see just the domain name.
  • Go to Settings > System > About > Rename this PC (advanced) to see which domain the PC itself belongs to.

For more detail, see how to find your domain name in Windows 11. The steps are similar in Windows 10.

Use another domain account without switching users

  • Run one program as another user: Hold Shift, right-click a program’s shortcut and choose Run as different user, then enter DOMAIN\username and the password.
  • Command line: runas /user:DOMAIN\username "mmc.exe" starts a program with that account’s permissions.
  • Network shares: When Windows asks for credentials to open a shared folder, type DOMAIN\username.
  • Remote Desktop: Enter DOMAIN\username when connecting. See how to set up Remote Desktop on Windows 10.

When you’d sign in to another domain

Large organizations often have more than one domain, for example one per country or one for a company they’ve acquired. If your account lives in a different domain from the PC, you need to tell Windows which domain to check. Common situations include:

  • Using a shared or loaner PC that belongs to another department.
  • Signing in with a separate administrator account that lives in an admin domain.
  • Working on a PC after a company merger, before accounts have been moved.

Troubleshooting

“The user name or password is incorrect”

Check the domain spelling and that Caps Lock is off. Try the other format (user@domain instead of DOMAIN\user).

“There are currently no logon servers available”

The PC can’t reach a domain controller. Connect to the office network or VPN. If you’ve signed in on this PC before, Windows may let you in with cached credentials.

“The trust relationship between this workstation and the primary domain failed”

The PC’s domain membership needs repairing. Sign in with a local administrator account (.\username) and contact IT. They usually fix it by rejoining the PC to the domain.

The other domain isn’t accepted

The PC’s domain must trust the other domain. That’s set up on the servers, not on the PC.

Frequently asked questions

Can I add a domain to a home PC?

No. Only Windows 10 Pro, Enterprise and Education can join a domain, and joining needs an administrator account in that domain. Windows 10 Home can’t join a domain.

Is it the same in Windows 11?

Yes. The sign-in formats and steps are the same.

Will I see my files from my other account?

No. Each account has its own profile, so files and settings from your other account won’t appear. Use OneDrive or a network share to access them.

Related guides

Summary

  1. On the sign-in screen, choose Other user.
  2. Type DOMAIN\username or [email protected], then your password.
  3. Use .\username for a local account on the same PC.
  4. Check with whoami after signing in.

Related: how to install Active Directory Users and Computers on Windows 10.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy