We Can't Sign You In: Domain Not Available Fix
In this article
This error usually means Windows or Microsoft 365 cannot reach the domain controller that should authenticate your sign-in, so it rejects the login before checking your password. The fix is to verify network connectivity, confirm the device can resolve the domain name, and temporarily sign in with a local account to restore access.
What This Error Means
When you see “We can’t sign you in” with “your domain isn’t available,” the device is telling you that it cannot contact the domain controller that holds your user account. This is different from a wrong password or a locked account. The computer is not even reaching the point where it can verify your credentials because it cannot find the server that would do the verification.
This message commonly appears on Windows 10 and Windows 11 computers that are joined to an Active Directory domain, especially after a network change, a VPN disconnect, or a recent update. It can also occur on a Microsoft 365 sign-in screen if the device cannot reach the online authentication servers. In both cases, the root cause is a connectivity or name-resolution problem, not a problem with your password.
Why the Domain Becomes Unavailable
Several everyday situations can make a domain temporarily unavailable:
- The computer is offline or connected to a network that blocks the domain controller (for example, a public Wi-Fi that requires a captive portal).
- The DNS settings point to a server that cannot resolve the domain name, so the computer does not know the IP address of the domain controller.
- The domain controller itself is down for maintenance or unreachable due to a firewall rule.
- The device’s cached credentials have expired, and the computer refuses to use them because it cannot contact the domain to validate them.
- A VPN that normally connects you to the corporate network is not running or is connected to the wrong location.
Understanding which of these applies to you is the first step in fixing the problem, because the solution differs depending on the cause.
How to Fix It (Step by Step)
Try these steps in order. If one does not work, move to the next. Many of these require you to be at the physical computer or have remote access to it.
- Check your network connection. Look at the Wi-Fi or Ethernet icon in the system tray. If you are on Wi-Fi, make sure you are connected to the correct network and that you can open a website in a browser. If you are on a corporate network, try plugging in an Ethernet cable if possible.
- Restart the device. A simple restart often clears temporary network glitches and re-establishes the connection to the domain controller. If you cannot sign in normally, use the power button in the lower-right corner of the sign-in screen to restart.
- Sign in with a local account. If you have a local account (one that is not tied to the domain), use that to get into Windows. Once in, you can troubleshoot the network and DNS settings. If you do not have a local account, you may need to use the “Other user” option and type the local username and password if you know them.
- Check DNS settings. Open a Command Prompt as administrator (right-click Start, then select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”). Type
ipconfig /alland look at the DNS servers listed. They should be the ones provided by your organization. If they are wrong, you can change them in the network adapter settings, but you may need your IT department’s help to know the correct addresses. - Flush the DNS cache. In the same Command Prompt, type
ipconfig /flushdnsand press Enter. This clears any bad DNS entries that might be pointing to the wrong server. - Test connectivity to the domain controller. In the Command Prompt, type
ping yourdomain.com(replace with your actual domain name). If you get replies, the network path is working. If you get “Request timed out,” the domain controller is not reachable, which points to a network or server issue. - Restart the Netlogon service (if you are signed in). If you are signed in with a local account, open Services (type
services.mscin Run), find “Netlogon,” right-click it, and select Restart. This forces the computer to re-establish its secure channel with the domain. - Try signing in again. After these steps, switch back to the domain user and attempt to sign in. If it still fails, the problem may be on the server side, and you should contact your IT support.
What to Do If You Cannot Sign In at All
If you do not have a local account and cannot sign in with any method, you have a few options. The most reliable is to use the Windows Recovery Environment. Restart the computer and press F11 (or the key your manufacturer specifies) to enter recovery. From there, you can access Command Prompt and run some diagnostic commands, but this is advanced and usually requires IT assistance.
Another option is to use the “I forgot my password” link on the sign-in screen, but this only works if your organization has enabled self-service password reset. If not, you will need to contact your IT department from another device.
In many cases, the error is temporary. If the domain controller comes back online or the network connection is restored, the sign-in will succeed without any further action. If it persists, the issue is likely a configuration problem that needs a technician.
Common Mistakes People Make
- Typing the username incorrectly. Make sure you are using the domain\username format (for example,
CONTOSO\jsmith), not just the username. If you type only the username, Windows may try to authenticate against the local machine, which will fail. - Assuming it is a password problem. The error message specifically says the domain is not available, so changing your password will not help. Focus on connectivity.
- Disabling the network adapter. Some users, in an attempt to fix a slow connection, disable the Wi-Fi or Ethernet adapter. That will definitely cause this error. Make sure the adapter is enabled.
- Forgetting about the VPN. If you work remotely and normally use a VPN, you must connect to the VPN before you can sign in with your domain account. On the sign-in screen, you can sometimes connect to Wi-Fi and VPN, but not always. If you can, do that first.
How to Prevent It in the Future
Prevention is mostly about maintaining a stable network and up-to-date DNS settings. Here are a few practical tips:
- Always connect to the corporate network or VPN before trying to sign in with a domain account.
- If you frequently travel with a laptop, make sure the network adapter is set to obtain DNS automatically, unless your organization requires specific servers.
- Keep Windows updated, as updates often include fixes for authentication and network issues.
- If you have a local account, keep its password current so you always have a fallback.
- Ask your IT department if they have a published DNS server address that you can use when off-network.
Frequently Asked Questions
Can I bypass this error and sign in anyway?
No, you cannot bypass it. Windows requires a connection to the domain controller to verify your credentials. If the domain is unavailable, the only way to get in is to restore connectivity or use a local account. There is no hidden override.
Will I lose my files if I cannot sign in?
No, your files are still on the disk. The sign-in failure only prevents you from accessing your profile. Once you regain access (either by fixing the network or using a local account), your files will be there. If you use a local account and your files are encrypted with BitLocker, you may need the recovery key, but that is separate from this error.
Why does this happen on a brand new computer?
A new computer that is domain-joined may not have the correct DNS settings if it was set up on a different network. For example, if the IT department configured it on the office network, but you take it home and the home router assigns different DNS, the computer may not find the domain controller. Checking DNS and using the VPN usually solves this.
Does this error mean my account is locked or disabled?
No, it does not. The error is about the domain being unreachable, not about your account status. If your account were locked, you would see a different message like “Your account has been locked. Contact your administrator.” This error is purely a connectivity issue.
Can I fix this from my phone?
You can contact your IT department from your phone, but you cannot directly fix the computer from a phone. If you have remote access software installed (like TeamViewer or RDP), you might be able to connect if the computer is on and reachable, but that is unlikely if the network is down. The best you can do is inform IT and wait for guidance.