Fix Windows 10 Remote Desktop Authentication Errors
In this article
Remote Desktop authentication errors in Windows 10 usually appear as “The credentials that were used to connect did not work” or “An authentication error has occurred.” These happen most often because the remote PC’s settings reject the login method (like NLA), the credentials are wrong, or the Windows account lacks a password. You can fix most of these yourself in a few minutes by adjusting Remote Desktop settings, checking user permissions, and updating credentials.
What You'll Need
- Administrator access on the remote Windows 10 PC (the one you are connecting to).
- The remote PC’s IP address or computer name.
- The username and password of an account that is allowed to use Remote Desktop on that PC.
- Both PCs connected to the same network (or the remote PC reachable over the internet).
Step-by-Step
- Enable Remote Desktop on the remote PC. On the remote Windows 10 machine, go to Settings > System > Remote Desktop and turn on “Enable Remote Desktop.” If it’s already on, toggle it off and on again to refresh the setting.
- Make sure the account has a password. Remote Desktop will not work with passwordless Microsoft accounts or local accounts that have a blank password. On the remote PC, open Settings > Accounts > Sign-in options, set a password if there isn’t one, and then sign out and back in.
- Add the user to the Remote Desktop Users group. On the remote PC, open the Start menu, type “Remote Desktop Users” and select “Edit local users and groups” (or run
lusrmgr.msc). Under “Members,” add the username you plan to use. If the account is an administrator, it is already allowed, but adding it explicitly avoids permission errors. - Check Network Level Authentication (NLA) settings. NLA is a security feature that can cause authentication errors if the client and server versions differ. On the remote PC, open Control Panel > System and Security > System, click “Remote settings,” and under the “Remote” tab, uncheck “Allow connections only from computers running Remote Desktop with Network Level Authentication” (or leave it checked if your client supports NLA—most modern Windows 10 PCs do). Try both settings to see which resolves the error.
- Verify the credentials you’re entering. When connecting, use the remote PC’s username in formats like
PCNAME\Username(for local accounts) orMicrosoftAccount\email@example.com(for Microsoft accounts). Avoid typing just the email if the account is local. Also, ensure Caps Lock is off and the password is correct. - Update the Remote Desktop client. On your local PC, open the Microsoft Store, search for “Remote Desktop,” and install any pending updates. An outdated client can cause authentication failures with newer Windows 10 builds.
- Check the remote PC’s firewall rules. On the remote PC, open Control Panel > Windows Defender Firewall, click “Allow an app or feature through Windows Defender Firewall,” and confirm that “Remote Desktop” is checked for both Private and Public networks. If not, check the boxes and click OK.
- Restart the Remote Desktop service. On the remote PC, press
Win + R, typeservices.msc, and press Enter. Find “Remote Desktop Services” (or “TermService”), right-click it, and select “Restart.” Also restart “Remote Desktop Configuration” and “Remote Desktop Services UserMode Port Redirector” if present. - Clear saved credentials on your local PC. Open Control Panel > User Accounts > Credential Manager, click “Windows Credentials,” and remove any entries under “Generic Credentials” that mention “TERMSRV” or the remote PC’s name. Then try connecting again—this forces Windows to prompt for fresh credentials.
- Try connecting with the IP address instead of the computer name. Sometimes DNS resolution fails. On the remote PC, run
ipconfigin Command Prompt to find its IPv4 address (e.g., 192.168.1.10). Use that IP in the Remote Desktop client.
Common Mistakes
- Using a Microsoft account password that is not the local PIN or picture password—Remote Desktop requires the actual account password, not a PIN.
- Forgetting that the remote PC must be running Windows 10 Pro, Enterprise, or Education. Remote Desktop is not available on Windows 10 Home as a host.
- Typing the username as just “user” when the remote PC has a different computer name—use
COMPUTERNAME\user. - Leaving NLA enabled when the client is an older Windows version or a non-Windows device.
- Not restarting the remote PC after changing Remote Desktop settings—some changes require a reboot.
Tips
- If you’re connecting from outside your home network, use a VPN or the official Microsoft Remote Desktop Gateway—do not expose port 3389 directly to the internet for security reasons.
- Keep both Windows 10 PCs fully updated. Authentication errors are often fixed by cumulative updates.
- Use the built-in “Remote Desktop” app from the Microsoft Store instead of the legacy “Remote Desktop Connection” (mstsc.exe) if you have issues—the newer app handles authentication better.
- If you’re using a Microsoft account, sign in to the remote PC once with that account and set a password via Settings > Accounts > Sign-in options to ensure the password is synced.
Troubleshooting
If the steps above don’t solve the problem, try these in order:
- Reboot both PCs. A simple restart clears temporary glitches in the Remote Desktop service and credential cache.
- Check the remote PC’s event log. On the remote PC, open Event Viewer > Windows Logs > System and look for errors with source “TermService” or “RemoteDesktopServices.” The error details may point to a specific cause, like a certificate issue.
- Temporarily disable NLA. If you unchecked NLA earlier, try checking it again, or vice versa. Some Windows 10 builds have issues with NLA when the client and server are on different versions.
- Test with a different user account. Create a new local administrator account on the remote PC (Settings > Accounts > Family & other users) and try connecting with that. If it works, the original account has a profile issue.
- Check if the remote PC is reachable. From your local PC, open Command Prompt and run
ping. If you get no reply, the PC may be off, asleep, or the firewall is blocking ICMP—try a different network or wake the PC. - Reset the Remote Desktop certificate. On the remote PC, open
mmc, add the “Certificates” snap-in for the Computer account, navigate to Remote Desktop > Certificates, delete the existing certificate, and restart the Remote Desktop service. Windows will generate a new one. (This is safe but will temporarily disconnect active sessions.)
Frequently Asked Questions
Why does Remote Desktop say “The credentials that were used to connect did not work”?
This usually means the username or password is incorrect, or the account isn’t allowed to use Remote Desktop. Double-check the username format and add the account to the Remote Desktop Users group.
Can I use Remote Desktop on Windows 10 Home?
No. Windows 10 Home does not support hosting Remote Desktop sessions. You can use the Remote Desktop client to connect to other PCs, but not to your Home edition. You would need to upgrade to Pro or use a third-party tool.
Do I need to be on the same network?
Not necessarily. You can connect over the internet, but you’ll need to configure port forwarding on your router or use a VPN. For security, avoid exposing port 3389 directly.
Why does the connection work locally but fail over the internet?
This is often a firewall or router issue. Ensure port 3389 is forwarded to the remote PC’s IP, and that the remote PC’s firewall allows Remote Desktop on Public networks. Also, your ISP may block the port.
What is Network Level Authentication (NLA) and should I disable it?
NLA is a security feature that requires authentication before a full session is established. It’s generally safe to keep enabled. Disable it only if you’re connecting from an older client that doesn’t support it—otherwise, you may reduce security.
Why does the remote PC keep asking for a password even though I saved it?
Saved credentials can become stale or corrupted. Clear them via Credential Manager, then reconnect and re-enter the password. Also, make sure the remote PC’s account password hasn’t changed.