How to Fix “Your Credentials Did not Work” in Remote Desktop

Your Credentials Did Not Work” means the credentials you entered are rejected, preventing you from accessing the target system. This usually happens because of wrong login details, old saved credentials, or using the wrong domain. The main cause is often incorrect credentials, usually due to changed passwords or domain settings. 

Your Credentials Did not Work Picture
Your Credentials Did not Work

Other causes include security policy issues, account lockout, and problems with DNS or firewall settings.

Now that you know the possible causes of the error, lets discuss the solutions.

1. Revert the Username

Sometimes, just changing the username back can fix Remote Desktop login problems. If the username was changed, even by mistake, or is saved wrong, it can stop the login from working. By setting it back to what it was before, you make sure the Remote Desktop uses the right login details that the server knows.

2. Edit Windows Security Policy

Modifying Windows Security Policy fixes permission issues that block Remote Desktop connections. By changing settings in the Local Security Policy, especially the “Allow log on through Remote Desktop Services” option, you make sure your account or user group has permission to access the remote system.

  1. Press Windows + R to open the Run dialog box.
  2. Type secpol.msc and press Enter.
  3. Expand Local Policies and select User Rights Assignment.
  4. On the right-hand side, locate and double-click ‘Allow log on through Remote Desktop Services‘ or ‘Allow log on through Terminal Services‘.
  5. Click Add User or Group and type Remote Desktop Users.
    Adding User to Grant Access Picture
    Adding User to Grant Access
  6. Click OK, then Apply, and click OK again.
    Allowing Remote Desktop Users Access Picture
    Allowing Remote Desktop Users Access
  7. Restart your system for the changes to take effect.
  8. Check if it resolves the issue.

3. Edit Local Group Policy

By adjusting the “Allow log on through Remote Desktop Services” policy, you make sure authorized users can access the system remotely. This change is important when strict security policies block access because it gives needed permissions to the user or group.

  1. Press Windows Key + R to open Run.
  2. Type ‘gpedit.msc‘ to open the Local Group Policy Editor.
    Sync settings greyed out
  3. Navigate to the following path:
    Computer Configuration > Administrative Templates > System > Credentials Delegation
  4. Double-click the ‘Allow delegating default credentials with NTLM-only server authentication‘ policy to edit it.
  5. Set it to Enabled and then click Show.
    Editing Local Group Policy Picture
    Editing Local Group Policy
  6. Double-click under Value, type TERMSRV/*, and then click OK.
    Adding Server to the List Picture
    Adding Server to the List
  7. Repeat this process for the following policies:
    Allow delegating default credentials
    Allow delegating saved credentials
    Allow delegating saved credentials with NTLM-only server authentication
  8. Close the Local Group Policy Editor and restart your system.
  9. Check if the issue persists.

4. Edit Registry

This issue can be resolved by adjusting how the system handles specific security protocols that Remote Desktop relies on. If these protocols are set up incorrectly or blocked, like after a system update, they can prevent proper credential checks.

  1. Press Windows + R to open the Run dialog box.
  2. Type ‘Regedit‘ and press Enter.
    Opening the Registry Editor
    Opening the Registry Editor
  3. Navigate to the following path:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  4. Click on the “LsaCompatibilityLevel” option.
  5. Double-click on the “REG_DWORD” option and change the value to “1”.
  6. Check if the issue persists.

5. Disable Windows Hello sign-in (If applicable)

If Windows Hello is on, the system may use biometric or PIN login instead of a regular password. This can cause issues with Remote Desktop, which usually needs a standard username and password.

  1. Press Windows + I to open Settings.
  2. Navigate to Accounts > Sign-in options.
  3. Disable Windows Hello sign-in.
    Turning off Windows Hello sign-in
    Turning off Windows Hello sign-in
  4. Set a normal password by clicking on the “Password” option, then click “Add”.
    Setting a normal Password
    Setting a normal Password
  5. Press the Add button, and a pop-up will appear asking for your new Password and a hint for that password.
    Creating a new password
    Creating a new password
  6. Enter the new password and the hint. You should be good to go.
  7. Check if the issue persists.
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

28
    GC
    Glaucio Coutinho Oct 10, 2019

    What works for me:Delete Credentials for TERMSRV/* on Vault in Control PanelEdir Regedit:HKLMSYSTEMCurrentControlSetControlLsa
    LmCompatibilityLevel
    REG_DWORD
    Value:1

    Reply
      SW
      Shane Warren Author Oct 13, 2019

      Thank you for sharing your solution it will be added to the article shortly.

    EG
    Ed Garrity Dec 16, 2019

    im trying to edit this HKLMSYSTEMCurrentControlSetControlLsa but it is not listed in the registry editor.
    What can i do?

      SW
      Shane Warren Author Dec 18, 2019

      What version of Windows are you using? also, perform an SFC scan

    JI
    Jim May 5, 2020

    Here’s one more thing to try for your list. I just built a new Windows 10 Pro box. I use 2-Factor authentication with my Live account and that’s how I logged on to this new box along with the Windows Hello PIN login scheme. Locally, everything works. But, I was getting the above message trying to RDP. Then, I decided to logon the the box locally with my password. Now, I can RDP to the box. Phew!

    Reply
      JE
      Jerz66 Jan 15, 2021

      Thanks! After wasting an entire day trying to get RDP to work on one of my computers and hitting roadblock after roadblock…. changing from logging in with a pin to an actual password is what fixed it! Thanks!

      MM
      Malik DrumFunk Martin Feb 15, 2021

      I’ve been googling for a while and I’m glad I’ve found this answer before trying anything else! It didn’t make sense to me that I would have to do everything in these articles when I could log into another account on my target PC (although it probably could’ve been the case, if settings were only applied per user). Thanks!

      BO
      BooBoo Jun 14, 2021

      This guy is a legend… and it’s such a silly bug too.
      thanks a ton man!

      JM
      Jose Marcos Jul 16, 2021

      Genius!

      Reply
      PH
      Peter Hammond Sep 6, 2021

      Thank you Jim – this is exactly what I needed!!! Awesome Job!

      PE
      Paul_E Sep 17, 2021

      Looked everywhere this is the answer I was looking for. You can logout, Change Sign-in options, revert to password and enter your MS credentials there. Log in and it will work. Thought I was losing my mind!

      DB
      dbeachy1 Oct 4, 2022

      You are a god!! Been struggling with this on a brand-new Windows 11 install for an hour now, and then finally came across your post. I had only ever logged into the new PC using a PIN, and so I could not remote-desktop in, just as you said. But when I did what you suggested and logged into the new PC locally at least ONCE using my password instead of my PIN, then I could *finally* remote-desktop in as well! Thanks so much!!!

      FO
      fortesinfide Oct 27, 2022

      Pure genius on this one! Got it!

    MS
    Michiel Schouten Aug 20, 2020

    Thanks for the info! I finally fixed the connection by just manually adding the registery key in step 4

    TC
    Thang Cho Dec 29, 2020

    haha, why go through the hassle when you can just use Google Remote desktop. So much easier and faster. I stop using Microsoft remote deskop app. Google is your friend!

      JE
      Jerz66 Jan 15, 2021

      Although Google remote desktop is working better now than it was it is STILL laggy in comparison to RDP… it is for me anyway… everyone may not have the same experience. Phew… glad I saw the guy’s post above about and changed from using a pin on that computer to an actual password… it works.

      AN
      AndrewF Jun 21, 2021

      How does that go with published remote apps?
      yeah, thought so.

    DM
    Daniel Morris Jan 16, 2021

    What eventually worked for me was under Sign-in options, I turned off “Require Windows Hello sign-in for Microsoft accounts” and enabled password sign-in.

    Reply
      MZ
      Muhammad Zubyan Author Jan 17, 2021

      Thank you for sharing your solution it will be added to the article shortly.

        DM
        Daniel Morris Jan 29, 2022

        Now I think the underlying issue is that one has to sign in locally with a password at least once. Only after doing this, can one connect with RDP using a password. That is in line with Jim’s comment above. I was initially signing in locally with my PIN only, and for some reason that isn’t good enough.

        Reply
          RM
          Ralph MacDonald Feb 5, 2022

          This was my fix too. Only took about 8 hours to figure it out

    UK
    Umair Khan Aug 6, 2021

    Thanks. Sloution #3 Worked for me.

    DI
    digim8 May 13, 2022

    mstsc.exe is not reading from Windows Credential Manager anymore. Just use mobaXterm instead.

    DA
    Dan May 26, 2022

    It seems like Windows (11) does require a local password to log on via RDP. A few people have discussed this option already, but I would like to contribute another solution in case you can neither sign in with a local password nor create one (as was my case). The option to add a password, as shown above in solution 5 simply did not exist for me; my account is an online account.

    This solution did not require any of the above steps, nor did it require me to turn Windows Hello (or the under Sol. 5 mentioned option) off.

    If you are on Win 11 with Hello and 2FA, nothing else worked so far, and you can’t set or use a local Password, you might want to try this:
    Sign out > inhibit Hello from signing you in, and click ‘sign-in options’ > click on ‘I forgot my pin’ > log in with your Microsoft account (and therefore your account Password) > approve the sign in request, in case you have 2FA > confirm that ‘you are sure’ to reset your PIN (you can set the same PIN again) > reset the PIN.

    Thats it, all Windows needed was for you to sign in once with your account password. At least, this is the solution that worked for me.

    Reply
      ST
      Steve Nov 5, 2022

      This worked for me too

    FA
    fatgirl Aug 7, 2022

    None of the above or below mentioned solutions worked for me. I found out I had to enable this:
    start-run gpedit.msc
    computer cfg – admin templates – windows components – remote desktop services – remote desktop session host – security – Require use of specific security layer for remote (RDP) connections – ENABLE – select layer RDP. Apply, ok, bang, connected. You’re welcome.

    Reply
    JD
    John Doe Jan 16, 2023

    Just adding another “+1” — this worked for me as well after 4 hours of time wasted. I usually used my PIN to log onto the remote machine. I logged out then logged back in using my Microsoft account password. I can now use Remote Desktop to log onto that machine. Whew!