Remote Desktop Services – Connection Errors

KB ID 0001132


Below is not an exhaustive list of connection errors, it’s just a some things that have tripped me up. If you have a nasty error that you have fixed, feel free to drop me a line, send me some screenshots and the fix, and I’ll add them as well.

General Errors
server you are connecting to error

Your computer can’t connect to the remote computer because an error occurred on the remote computer that you want to connect to. Contact your network administrator for assistance.

Solution for Windows 10: I struggled with this for a while, all forum posts refer to windows 7/8 and the problem was caused by a windows update (KB2592687), that needed to be removed. But I was connecting with Windows 10? This  was the resolution;

Windows 10 RDP Error

Create/Edit a 32 bit DWORD value called RDGClientTransport in your registry at;

HKCU > SOFTWARE  >Microsoft > Terminal Services Client

Set its value to ‘1’ (one).

Also See Remote Desktop Web Access – Connection Error

Remote Network Access Protection Error

Your computer can’t connect to the remote computer because your computer or device did not pass the Network Access Protection requirements set by your network administrator.Contact your network administrator for assistance.

You normally see this error if one (or more), of your Remote Desktop Role servers does not have the correct certificate installed on it, (or the certificate it does has has expired).

Server Manager > Remote Desktop Services > Collection > Task > Select your collection > Task > Edit Deployment Settings > Certificates > Check and reinstall each one as required.

RDS Certs

Remote Desktop Gateway Errors

RemoteApp Error RDSG

Your computer can’t connect to the remote computer because the Remote Desktop Gateway server address is unreachable or incorrect. Type a valid Remote Desktop Gateway server address.

RemoteApp Error Gateway

Your computer can’t connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable. Try reconnecting later or contact your network administrator for assistance.

IIS Settings remote desktop gateway name

The machine trying to connect needs to be able to resolve the ‘public name’ of the Remote Desktop Gateway server. And this may not be the hostname of the server! As you can see in the image above the Gateway server name is set to The important thing is when I ping this name, it resolves to the correct IP address, (mine responds to pings, yours probably wont if you’re connecting though a firewall.)

IIS Settings remote desktop gateway

In some cases you need to set the public name of the the Remote Desktop Gateway server, in the servers IIS Settings. On the Gateway server > Start > Administrative Tools > Internet Information Services (IIS) Manager > {Server-name} > Sites > Default Website > RDWeb > Pages  > Application Settings > Set ‘DefaultTSGateway’ to the public name of the gateway server. Then from command line run ‘iisreset‘ to restart the web services.

Gateway Server Certificate Expired

Your computer can’t connect to the remote computer because the Remote Desktop Gateway server’s certificate has expired or has been revoked. Contact your network administrator for assistance.

In most cases this should be easy to fix, if you use self signed certificates make sure your CRL settings and/or OCSP settings are correct. If you use a publicly signed cert make sure your client can contact the publishers CRL (look on the properties of the certificate).

Check the Obvious: It saying the RDG cert has expired, make sure it’s in date! In the Gateway Server Launch Server Manager > Remote Desktop Services > Collections > {Collection-name} > Tasks > Edit Deployment Properties.

Remote Desktop Services Certificate Settings

Certificates > RD Gateway > View Details > Is it in date?

Remote Desktop Services Change Certificates

Everything is OK? But I’m Still Getting This Error? Are you publishing the Gateway with something else like Web Application Gateway? Threat Management Gateway? Load Balancer? Look in that direction.

Also See Remote Desktop Web Access – Connection Error

Related Articles, References, Credits, or External Links


Author: PeteLong

Share This Post On


  1. Hello Pete,

    Thanks for this article.
    This registery entry fixed my error.
    I was wondering tho what this entry actually does in the background for troubleshooting reasons and because this kinda is a work arround and not fixing the cause of the issue.
    I am looking forward to your reply.

    Kind regards,


    Post a Reply
    • If I had to guess, I would say it allows RDP session to be sent via a gateway server (by default). In some cases you only have one RDP server, with all the roles on so, that would appear not to make sense.

      Post a Reply
  2. Thank you so much for this article!! I’ve been trying to fix this issue for weeks since I upgraded to Windows 10.

    Post a Reply
  3. This registry entry fixed my error as well. Thanks so much for this post!

    Post a Reply
  4. Hi Peter,

    We have had the “Your computer can’t connect to the remote computer because an error occurred on the remote computer that you want to connect to. Contact your network administrator for assistance.” since windows 10 anniversary update.

    First we found solution to replace c:\windows\system32\ mstsc.exe and mstscax.dll with original non anniversary update files, witch worked fine, for a while. Until recently a new update.

    Your reg tips completly solved our problem!

    Thank your for the solution!

    I would realy like to know if there could be a soluton on the server side.

    Regards Johan

    Post a Reply
    • Great News, Thanks for the feedback!

      Post a Reply
  5. Your registry solution fixed the issue. thanks.

    Can you suggest any permanent solution that can be done at server side as we need to fix this for many users? thanks in advance

    Post a Reply
  6. Hi,

    Great post, it helped me a lot, thank you very much.

    Post a Reply
  7. I am getting error while I try to connect my server by mstsc “The server name on the certificate is incorrect” in windows 10 after the feature update of 1803.

    Before the updating its working fine. Can you help me please.

    Post a Reply
    • Have you chosen to secure RDP with SSL?

      Post a Reply
  8. Reg entry worked on my win 10 laptop. Thanks was a frustrating problem 🙂

    Post a Reply
  9. I have renewed by Https wildcard certificate used to access an application using Microsoft RDP. The certificate shows the renewal date correctly inside the network, but it still shows the old renewal date while accessing the RDP outside of the office. Can anyone point me in the right direction as to what I’m doing wrong. Thank you.

    Post a Reply
  10. Hi Pete, I had the same issue with a Windows 7 machine not connecting to a newly built Server 2019 gateway, I removed the KB as per your article but then was given an error to say the cert had expired (which it hadn’t)

    I then did some research what pointed towards it being an issue with TLS, I found the following fix that works a treat:

    1.apply this KB ->

    2. apply the fix in this link ->

    Once applied all issues were fixed.

    Thought id mention it in case any others were having the same issue.

    Post a Reply
  11. This occurred for me. I had installed a certificate on the RDG server.

    Once I browsed to the certification authority’s web site on the RDG server, then rebooted the RDG server, it started working.

    I’ve seen this before; while I had the certificate, the RDG server didn’t have all the certificate authority certificates in the hierarchy. So, when the RDP client was negotiating TLS, it was being aborted because the server wasn’t presenting it’s certification authority certificates. This TLS negotiation happens very early, before Windows does anything else. So, nothing is ever logged on the server. You’ll only see things if you enable SCHANNEL logging.

    By browsing to the certification authority’s web site, Windows add the right certificates to the local computer certificate store; the right certificates go in the right location. Then, on a reboot, RDG can gather the right certificates and present them to connecting client computers. Client computers can now connect successfully.

    Post a Reply
    • Hi Anwar, thanks for the feedback, you can probably get round this by ’embedding’ the intermediate CA cert (NOT the root CA Cert) in the RDG certificate. I have to do this for my cert on this website so you can see it in action! You can literally do that with Notepad.

      Post a Reply
  12. Hiya Pete,

    One remote user is getting the “Your computer can’t connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable.” Its a third party supplier who connects through F5, he can get in the first part via the F5 weblink to the RDP session but he receives the error when trying the second part, RDP. I can test this from various machines and it connects fine. We suspect the problem is on his machine.

    Any Ideas?



    Post a Reply
    • If it’s one user I would agree with you, If you use his creds on one of your machines, does it work, If so Remote him onto one of ‘your’ Laptops outside the LAN and get him to try it from there. (At this point I would have tried from the laptop with his creds to ensure it works). Then you have proven the fault is either his LAN or his Laptop.

      Post a Reply
  13. Hi,

    Unable to access RD when on a private or public network, but fine when on the domain.
    I have turned the firewall off but no difference. Appears to be a registry issue but can’t see what it is.

    ‘Your computer can’t connect to the remote computer because a security package error occured in the transport layer’

    Post a Reply
    • Make sure the remote user has NO Cachhed credentials on their machine! Also I’m assuming you have TCP port 443 (HTTPS,) open to the Gateway server?

      Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *