
Your credentials did not work means Remote Desktop reached the other PC and the network is fine, but the sign-in was refused. In most cases the password is correct and it’s the username that’s wrong, because the remote PC can’t tell which kind of account you mean.
So first, work out which kind of account it is. Is it a local account that lives only on that PC, a Microsoft account (an Outlook.com or personal email), a work account from Microsoft 365 (Microsoft Entra ID), or an office domain account? Each one needs a different username format, and the PIN or face sign-in you use at the desk doesn’t work for any of them over Remote Desktop.
If you never get as far as a password prompt, see the Remote Desktop not working guide instead.
Try these first
- Type your account password, not your Windows Hello PIN.
- Choose More choices, then Use a different account, so Windows stops reusing a saved login.
- For a Microsoft 365 work account on an Entra-joined PC, enter AzureAD\you@yourcompany.com as the username.
- For a local account on the remote PC, enter .\username or PCNAME\username.
- If you changed your password recently, delete the saved credentials for that PC and type the new one.
- Make sure the account has signed in to that PC before and is allowed to connect remotely.
Use the username format the remote PC expects
Remote Desktop sends whatever you type to the remote PC, which then has to decide where that account lives. The safest habit is to always include the account’s “home” in the username.
| Account on the remote PC | What to type as the username | Notes |
|---|---|---|
| Local account | .\jsmith or OFFICE-PC01\jsmith | The dot means “this PC”. Local accounts with a blank password can’t sign in remotely by default. |
| Office domain (Active Directory) | CONTOSO\jsmith or jsmith@contoso.com | Use the domain name your IT provider uses, not the company website |
| Microsoft 365 work account on an Entra-joined PC | AzureAD\jsmith@contoso.com or jsmith@contoso.com | Microsoft documents both; DOMAIN\user format fails on these PCs |
| Personal Microsoft account | The full email address, for example jsmith@outlook.com | If that’s refused, many people succeed with MicrosoftAccount\jsmith@outlook.com |
Not sure which you have? On the remote PC, open Settings > Accounts > Your info. A Microsoft account shows the email address; a work account shows it under Access work or school; a local account shows “Local account”. In Terminal, whoami prints the account name in the form Windows uses internally.
Microsoft notes that if you use DOMAIN\user format against an Entra-joined PC, you may see a message saying the remote machine is Microsoft Entra joined and suggesting you try your work email address. That message is the clue to switch format.
A PIN or face sign-in won’t work over Remote Desktop
Plenty of people haven’t typed their Windows password in months because they sign in with a PIN, fingerprint or face. Those are tied to the physical PC in front of you and aren’t sent to another machine. A classic Remote Desktop sign-in needs the account’s real password.
- Microsoft accounts: that’s the password for the Microsoft account itself, the one you’d use at account.microsoft.com. If you’ve reset it there, the remote PC may need to be online once to learn the new one.
- Passwordless Microsoft accounts: if the remote PC has For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device turned on (Settings > Accounts > Sign-in options), password sign-in is hidden. Turning that switch off on the remote PC is the usual fix reported for Remote Desktop; it lowers protection at the desk, so weigh it.
- Work accounts: Microsoft lists password, smart card and, in some setups, a Windows Hello for Business certificate as supported for a standard connection to an Entra-joined PC. A plain PIN isn’t on that list. If your organization turned on Windows’ passwordless experience policy, the Remote Desktop prompt offers the sign-in you used at the desk; Microsoft’s documented way round it is Use a different account, then the password.
If you don’t know the password because you only ever use a PIN, reset it first: personal accounts through Microsoft’s account recovery, work accounts through self-service reset or your admin. Our guide to resetting a Microsoft 365 password covers the work side.
Clear saved credentials that are out of date
Remote Desktop Connection can remember a login for each PC. After a password change it keeps sending the old one, so every attempt fails before you get a chance to type.
- Open Remote Desktop Connection (
mstsc), select Show Options, and on the General tab look for the line saying saved credentials will be used. Select delete next to it. - Or open Control Panel > User Accounts > Credential Manager > Windows Credentials and remove entries that start with TERMSRV/ followed by the PC’s name or IP.
- From Terminal,
cmdkey /listshows saved entries andcmdkey /delete:TERMSRV/OFFICE-PC01removes one (use the exact target shown in the list).
Then connect again, choose More choices > Use a different account, and type the username in full. Only tick Remember me on a PC that’s yours alone; anyone who uses your Windows profile can then open that remote PC.
Saved .rdp shortcut files can carry an old username too. If a desktop shortcut fails but typing the name into Remote Desktop Connection works, recreate the shortcut.
Is the account allowed to connect?
A correct username and password still fails if the account doesn’t have the right to sign in remotely. Depending on the Windows version and policies, that shows as the credentials message or as “not authorized for remote login”.
- Remote Desktop Users group. Administrators of the remote PC can connect by default; everyone else has to be added. Microsoft’s command for a work account on an Entra-joined PC, run in Terminal (Admin) on the remote PC, is
net localgroup "Remote Desktop Users" /add "AzureAD\jsmith@contoso.com". You need to be a local administrator for it to work. - Entra groups don’t count here. Microsoft notes that an Entra group added to Remote Desktop Users isn’t honored when its members sign in over Remote Desktop. Its workaround is turning off Network Level Authentication, which weakens the PC; adding users individually, or having your admin push membership through Intune, is the better fix.
- Blank passwords. A local account with no password can’t sign in remotely under the default security policy. Give it a password rather than loosening the policy.
- Policy deny rules. On domain PCs, the user right Deny log on through Remote Desktop Services beats every allow rule. If one person is refused everywhere, ask the admin to check it.
Rather have a technician sort it out?
With your approval, a technician can connect remotely, work out which account type the remote PC expects, clear stale saved credentials and check that the right people are allowed to connect. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.
Entra-joined PCs: the extra rules
Offices on Microsoft 365 often have PCs joined to Microsoft Entra ID instead of a server domain. Remote Desktop works with them, with a few conditions from Microsoft’s documentation:
- Same organization. For a standard connection, the PC you connect from has to be Entra-joined, hybrid-joined or Entra-registered in the same tenant. Guest (B2B) accounts aren’t supported.
- Or use web sign-in. With updates from October 2022 or later on both PCs, the Advanced tab in Remote Desktop Connection has Use a web account to sign in to the remote computer. It works even from a home PC that isn’t joined to anything, using your normal Microsoft 365 sign-in and MFA. You must connect by the PC’s name, not its IP, and the name must resolve on your network.
- Conditional Access. If your organization requires compliant devices or MFA, those rules apply to the Remote Desktop sign-in too. A refusal may be policy doing its job.
- Remote Credential Guard must be off on the PC you’re connecting from for these connections, per Microsoft.
Admins can fix the “who may connect” question for every PC at once from Intune rather than one by one. If your Microsoft 365 setup grew without anyone owning these policies, our Microsoft 365 management service handles exactly this kind of cleanup.
Locked, expired or must-change passwords
Sometimes the credentials really are the problem. Remote Desktop with Network Level Authentication checks the password before the session opens, so it often can’t show the “change your password” screen you’d see at the desk.
| Situation | What happens | Fix |
|---|---|---|
| Password expired or “must change at next sign-in” | Remote sign-in refused although the password is right | Sign in at the PC itself and change it, use Ctrl+Alt+Del > Change a password on a PC where you are signed in, or ask your admin to reset it |
| Account locked after failed attempts | Every attempt fails, even with the right password | Wait for the lockout to clear or have an admin unlock it; then clear saved credentials so it doesn’t relock |
| Microsoft account locked or flagged | Fails on every device, not just Remote Desktop | See our Microsoft account locked guide |
| Password changed in Microsoft 365 recently | The remote PC may not know the new one yet | Sign in once at that PC with the new password, or wait until it has synced |
Repeated lockouts after a password change usually come from an old password saved somewhere: Credential Manager, a mapped drive, or a phone. Clean those up, or the account locks again.
When to stop and get help
- Only an admin account works. The fix is permissions on the remote PC or in Intune or Group Policy. Don’t make every user a local administrator to get around it.
- Nobody knows any working password for the remote PC. That’s an account recovery job. If the PC uses BitLocker, have the recovery key ready before anyone resets anything on it.
- Turning off Network Level Authentication “fixes” it. Treat that as a clue, not a solution; NLA protects the PC from sign-in attempts before a session starts.
- You see sign-in attempts you didn’t make, or the account keeps locking with nobody trying. The PC may be exposed to the internet; close that first.
Most of these cases come down to the username format, a stale saved login or a missing group membership. Sorting that out for one PC is a typical $59 fix through remote support, and nothing happens until you approve the session.
Common questions
Why does Remote Desktop say my credentials did not work when the password is right?
Usually the remote PC is looking for a different account than the one you mean. A plain username can match a local account, a domain account or nothing at all. Add the account type to the username, such as AzureAD\ before a work email or .\ before a local name. Old saved credentials and accounts not allowed to connect remotely cause the same message.
Can I use my Windows Hello PIN for Remote Desktop?
Not for a standard Remote Desktop sign-in. The PIN only unlocks the PC it was set up on and is never sent to another computer. Use the account password instead. Some Microsoft 365 setups support Windows Hello for Business certificates or web sign-in with MFA for Remote Desktop, but those are configured by your admin, not something you switch on yourself.
What username do I use for Remote Desktop with a Microsoft account?
Use the full email address of the Microsoft account, such as name@outlook.com, with that account’s password. If it is refused, try MicrosoftAccount\ followed by the email. Also check the remote PC has not been set to allow only Windows Hello sign-in for Microsoft accounts, because that setting hides password sign-in and blocks Remote Desktop for that account.
Where are Remote Desktop passwords saved in Windows?
In Credential Manager, under Windows Credentials, as entries beginning with TERMSRV/ followed by the computer name or address. You can delete them there, from the General tab of Remote Desktop Connection, or with the cmdkey command. Removing a saved entry does not change the password itself; it just makes Remote Desktop ask you again next time.
Do I need to be an administrator to use Remote Desktop?
No. Administrators of the remote PC can connect by default, but ordinary users can be added to the Remote Desktop Users group on that PC instead, which is the safer setup. Adding someone to the group needs an administrator, either on the PC itself or centrally through Intune or Group Policy in a managed office.
Why can I connect from the office but not from home with the same credentials?
With the same password and username, the difference is usually the device you connect from. Connections to Entra-joined PCs normally require your own PC to be joined to the same organization, which a home PC isn’t. Use the web account sign-in option where your admin allows it, or connect from a company laptop over the office VPN.