Remote Desktop connection no credentials are available in the security package

Between two Windows 7 Ultimate computers. Worked fine up until about an hour ago. File sharing, web browsing works ok too.

Remote Desktop Connection

An authentication error has occurred. The requested security package does not exist

Remote Computer: Computer-Name

[OK]

I found http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/7698b90a-0708-4aa2-a33b-9734de14319c and discovered that the broken computer was missing those values, but after I restored them, it was still broken.

Thanks

Problem: When attempting to login to a remote RDS Server you see an error message”. “Your computer can’t connect to the remote computer because a security package error occurred in the transport layer”

Systems Affected: Currently this has only been observed on Windows 10 Professional instances of the Remote Desktop Client. However it may apply to Windows 7 Professional also.

Cause: After the recent patch cycle when using the Remote Desktop Connection Client cached usernames and password credentials no longer work and display the above error.

Resolution: Clear the cached credentials and re-enter them. Please follow the Step by step below

  1. Right click on the Remote Desktop Connection Icon (this is the RDP file you use to connect) and choose the edit option from the context menu
  2. From the Remote Desktop Connection Dialog Box select the Advanced tab
  3. On the Advanced tab you will see a area named “Connect from anywhere” click the Settings…button
  4. You will see a RD Gateway Server Settings Dialog in the Logon Settings area click the “delete” link where it says “You can edit or delete these credentials”
  5. You need to click “Yes” confirm the deletion when prompted
  6. Click OK and then click the “Connect” button. You will prompted to re-enter your credentials. Check the “Remember me” checkbox only if the computer login you are using is not shared with other users.
  7. Continue to log in as normal

Update 31 Jan 2020 – Another Possible Resolution

I had a user complaining of this same error again but the above mentioned resolution failed to fix it.

Problem: “Your computer can’t connect to the remote computer because a security package error occurred in the transport layer”

Cause: The Remote Desktop Client local computer was a member of the same DOMAIN as the remote RDS Server. However the local computer was on the wrong subnet and was picking ups its DNS settings from a legacy Active Directory domain which didn’t have a trust relationship with the remote DOMAIN. So when trying to connect to the remote server it was somehow using the local LEGACY domain DNS security settings and getting the above mentioned error message

Resolution: In the Remote Desktop Client change the username field to be fully qualified with DOMAIN\username instead of just username only. This then forces the Terminal Server Client to ignore the incorrect AD settings from the LEGACY DNS server and use the correct settings

The error message ‘Your credentials did not work’ appears when you fail to connect to the remote system using Remote Desktop connection. This error is often caused by Windows policies that prevent incoming RDP connections, or simply your system’s username. Dealing with this particular error can be infuriating as the fault isn’t in the credentials but rather somewhere else. Such an error message might appear even if you are entering the correct credentials, thus, making it an ordeal.

Remote Desktop connection no credentials are available in the security package
Your Credentials Did not Work

If you are receiving the error message after installing a fresh copy of Windows 10, then you are not the only victim. Many users depend on Remote Desktop Connections and such errors are usually a nightmare to them, however, do not worry as you will be able to get over the issue after following this guide.

What causes the ‘Remote Desktop Your Credentials Did not Work’ Error Message on Windows 10?

The following factors are often found to be the cause of the said error message —

  • Username Change: Sometimes, when you freshly install Windows or rename your current user account, it can cause such an issue. Actually, when you change your username, it doesn’t get changed for the Remote Desktop Connection due to which the error message is generated.
  • Windows Policy: In some cases, the error message is because of a Windows Security Policy which prevents non-admin users from signing in.

Now that you know the causes of the error message, you can follow the solutions provided down below to resolve your issue. Please make sure you follow the given solutions in the same order as provided.

Solution 1: Reverting Username

As we have mentioned, the error message is sometimes caused because the user you are trying to connect from does not exist on the Remote Desktop server. This happens when you try to change your username or install a fresh copy of Windows. Changing your username does not necessarily change it for Remote Desktop Connection and thus, your credentials will be incorrect as the user is not on the server. Thus, to isolate the issue, you will have to revert to the username that you had been using prior to the appearance of the error message.

Solution 2: Editing Windows Security Policy

There is a Windows Security Policy for Remote Desktop Connection that does not allow non-Admin users to log in using RDP. Thus, if you want to login using a non-admin user account, you will have to grant the remote desktop users access. Here is how to do it:

  1. Press Windows Key + R to open the Run dialog box.
  2. Type in ‘secpol.msc’ and press Enter. This will open up the Local Security Policy window.
  3. Expand Local Policies and then select User Rights Assignment.
  4. On the right-hand side, locate and double-click either ‘Allow log on through Remote Desktop Services’ or ‘Allow log on through Terminal Services’.
  5. Click Add User or Group and then type in Remote Desktop Users.
    Remote Desktop connection no credentials are available in the security package
    Adding User to Grant Access
  6. Click OK, hit Apply and then click OK again.
    Remote Desktop connection no credentials are available in the security package
    Allowing Remote Desktop Users Access
  7. Restart your system for the change to take effect.
  8. Check if it isolates the issue.

Solution 3: Editing Local Group Policy

If the above-mentioned solutions do not work out for you, you can try to isolate the issue by modifying a few Local Group Policies. Basically what you will have to do is give a set of Credential Delegation policies a specific value which will most likely fix your issue. Here’s how to do it:

  1. Press Windows Key + R to open Run.
  2. Type in ‘gpedit.msc’ to open the Local Group Policy Editor.
  3. Afterward, 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.
    Remote Desktop connection no credentials are available in the security package
    Editing Local Group Policy
  6. Double-click under Value, type in TERMSRV/* and then click OK.
    Remote Desktop connection no credentials are available in the security package
    Adding Server to the List
  7. Do the same for the following policies as well:Allow delegating default credentials Allow delegating saved credentials Allow delegating saved credentials with NTLM-only server authentication
  8. Finally, close the Local Group Policy Editor and restart your system.
  9. Check if the issue persists.

Solution 4: Editing Registry

In some cases, making some changes in the registry might get rid of the error. Therefore, in this step, we will be changing some configurations in the registry. For that:

  1. Press “Windows” + “R” to open the registry.
  2. Type in “Regedit” and press “Enter”.
    Remote Desktop connection no credentials are available in the security package
    Opening the Registry Editor
  3. Navigate to the following address.Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  4. Click on the “LsaCompatiblityLevel” option.
  5. Double-click on the “REG_DWORD” option and change the Value to “1”.
  6. Check to see if the issue persists.

Note: Also make sure that you are logging in locally and not through a Remote Desktop Connection because it might not work with Two factor Authentication enabled.

Solution 5: Disabling Windows Hello sign-in (If applicable)

Sometimes the Windows Hello sign-in can be problematic. Therefore, in this step, we will be replacing the Windows Hello sign-in with the normal Password. Try this:

    1. Press and hold the “Windows” + “I” keys together to open the Settings app.
    2. Once the Settings app is opened, Navigate to “Accounts > Sign-in options“. Now Disable Windows Hello sign-in.
      Remote Desktop connection no credentials are available in the security package
      Turning off Windows Hello sign-in
    3. Now we will set a normal password, for doing that click on the “Password” option then click on “Add”.
      Remote Desktop connection no credentials are available in the security package
      Settings a normal Password
    4. Once you press the “Add” button you will get a pop-up asking for your new “Password” and a Hint for that password. It should look like this.
      Remote Desktop connection no credentials are available in the security package
      Creating a new password
    5. Now simply put the new password and the hint for it and you should be good to go.
    6. Check to see if the issue persists.