To join a Windows 10 PC to a domain, select Start > Settings > Accounts > Access work or school > Connect, and then select Join this device to a local Active Directory domain. Enter the domain name, sign in with an account that’s allowed to join computers, and restart.
Applies to: Windows 10 Pro, Enterprise, and Education. Keep in mind that Windows 10 support ended on October 14, 2025. Security updates now come only through the Extended Security Updates program, which stops on October 12, 2027.
Before you start:
- Windows 10 Home can’t join a domain. Not sure which edition you have? Check your Windows 10 version first.
- You need to be an administrator on the PC, plus a domain account with permission to join computers. Ask your IT admin if you’re not sure.
- The PC must be on the organization’s network (or VPN) and able to reach the domain.
Join a domain in Settings
- Select Start > Settings > Accounts > Access work or school.
- Select Connect.
- Select Join this device to a local Active Directory domain.

- Enter the domain name, such as
contoso.local, and select Next. - Enter the domain account name and password, and select OK.
- Skip or choose the account type if asked, then select Restart now.
Join a domain in System Properties
- Press Windows logo key + R, type
sysdm.cpl, and press Enter. - On the Computer Name tab, select Change.
- Under Member of, select Domain and type the domain name.
- Select OK, and enter the domain account name and password.

- When you see Welcome to the domain, select OK and restart the PC.
You can also rename the PC in the same box before joining, which helps if your IT admin uses a computer name pattern.
Join a domain with PowerShell
Right-click Start, select Windows PowerShell (Admin), and run this command with your own domain name:
Add-Computer -DomainName contoso.local -Restart
Enter the domain account name and password when asked. The PC restarts when it’s done.
Sign in with your domain account
On the sign-in screen, select Other user and enter your domain user name as DOMAIN\username, such as CONTOSO\alex, or as [email protected]. To check which domain a Windows 11 PC belongs to, see how to find your domain name in Windows 11.
If the PC won’t join the domain
- “An Active Directory Domain Controller for the domain could not be contacted.” This is almost always DNS. The PC must use the organization’s DNS servers, not your router or a public DNS. Run nslookup followed by the domain name. If it doesn’t return an address, ask your IT admin which DNS server to use.
- “The account already exists.” The domain already has a computer with this name. Rename the PC, or ask your IT admin to reset or remove the old computer account.
- Access denied, or you’ve reached the limit. By default, a regular domain user can join only 10 computers. Use an account with permission to join computers, or ask your IT admin.
- Sign-in fails right after joining. Check that the PC’s date, time, and time zone are correct. Domain sign-in fails if the clock is more than five minutes off from the domain controller.
Frequently asked questions
How do I leave a domain?
In Access work or school, select the domain connection and then Disconnect. Or in System Properties, select Workgroup under Member of. Make sure you know a local administrator password first, and then restart.
Why can’t I find the domain?
Check that the PC is connected to the organization’s network and uses its DNS servers. Also check the domain name with your IT admin.
Can I join a domain with Windows 10 Home?
No. Upgrade to Windows 10 Pro first. Your files and apps stay in place during the upgrade.
What’s the difference between a domain and Azure AD?
A domain uses servers that your organization runs, usually on its own network. Azure Active Directory, now called Microsoft Entra ID, is Microsoft’s cloud version. To join it, select Join this device to Azure Active Directory on the same Connect screen.
How do I sign in with a local account after joining?
On the sign-in screen, select Other user and type .\ before the user name, such as .\Sam. The dot tells Windows to use an account on this PC instead of the domain.
IT admins can find the server-side details in Join a computer to a domain.
Once the PC is joined, you may need to sign in to another domain. Joining a newer PC works a little differently when you add a Windows 11 computer to a domain.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.