Skip to main content
scerazy
Visitor III
June 1, 2017
Question

HTML5 RDP Windows 10/Server 2016 Connection Terminated

  • June 1, 2017
  • 15 replies
  • 37049 views

I can fill credentials (username/password), but all I get is error that connection is terminated

 

Anybody any ideas?

 

Connection to Server 2012 R2/W7/W8.x works fine from web VPN

    15 replies

    MattM
    New Member
    June 7, 2017

    I had this issue when the Network Level Authentication settings didn't match between the server and the HTML5 RDP connection.  On Windows I set RDP security to "Allow connections from computers running any version of Remote Desktop (less secure)" and set the HTML5 RDP shortcut to use Standard RDP Encryption.

    That allowed me to connect.

     

    scerazy
    scerazyAuthor
    Visitor III
    June 8, 2017

    Network Level Authentication for Remote Desktop Services Connections is already turned OFF!

    That is the first thing I did check!

     

    The settings (wording used) you mentioned is for Windows Vista/7/2008

     

    For Windows 8/8.1/2012/10/2016 it is (untick):

     

    Allow remote connections only from computers running Remote Desktop with Network Level Authentication (recommended)

     

    as per: http://www.lazywinadmin.com/2014/04/powershell-getset-network-level.html

     

    While it works fine connecting to Server 2012 R2, it does NOT connect to Windows 10/Server 2016

     

    Seb

     

     

    abeggled
    New Member
    June 9, 2017

    Connection to Windows 10/Server 2016 works for me with the following configuration:

     

    Windows:

    [ul]
  • NLA activated[/ul]

    Bookmark:

    [ul]
  • Host: xxx.xxx.xxx.xxx (only IP-Adress works for me)
  • Username: leave empty
  • Password: leave empty
  • Security: Allow the server to choose the type of security[/ul]

     

    Drawback: You loose SSO

     

  • bhwong
    New Member
    June 20, 2018

    Under Security for RDP, you have to select Network Level Authentication and enter your username to be saved. I didn't tick the recommended NLA in Windows Server 2016 as well, but it will only connect when security is set to NLA.

    Cohmert
    New Member
    October 4, 2018

    Hello, i have the same issue.

    I could solve it but i am not satisfied.

    The problem with connecting only affects win10 clients. I have serveral clients where the connection settings are set to:

    [ul]
  • Type:rdp
  • Host: hostename or IP - both works
  • Port: 3389
  • Username: mydomain\
  • Passwort: empty
  • Keyboardlayout: German
  • Security: Standard RDP encription[/ul]

    But somehow, on a few clients it just wont work. When the user tries to connect, the user will get displayed "connection closed" immediately.

     

    I tried to set it to NLA with the same result. All win10 clients have the NLA box unchecked in the remote connection settings.

     

    Then i found out, that when i use the QuickConnection button and set it all to RDP with NLA and leave the credentials empty, i could connect to the client. The NLA box ist still unchecked and should work without it

    (As long the user is allowed and member in the Remotedesktop user group on the client)

     

    [ul]
  • The i changed the Portal settings to NLA and left the user/password section empty. No success
  • The i changed the Portal settings to NLA and filled in the name of one of the allowed users without the mydomain\ part. Only the username. Password still empty. Works[/ul]

    The NLA boxes are unchecked on all clients. All clients on same Patchlevel and winver.

     

    Does anybody has a sugesstion why it is different on the clients and why some need the NLA, even if it is deactivated on the client.

     

     

     

     

  • thomasevig
    New Member
    January 23, 2019

    Cohmert wrote:

    Hello, i have the same issue.

    I could solve it but i am not satisfied.

    The problem with connecting only affects win10 clients. I have serveral clients where the connection settings are set to:

    [ul]
  • Type:rdp
  • Host: hostename or IP - both works
  • Port: 3389
  • Username: mydomain\
  • Passwort: empty
  • Keyboardlayout: German
  • Security: Standard RDP encription[/ul]

    But somehow, on a few clients it just wont work. When the user tries to connect, the user will get displayed "connection closed" immediately.

     

    I tried to set it to NLA with the same result. All win10 clients have the NLA box unchecked in the remote connection settings.

     

    Then i found out, that when i use the QuickConnection button and set it all to RDP with NLA and leave the credentials empty, i could connect to the client. The NLA box ist still unchecked and should work without it

    (As long the user is allowed and member in the Remotedesktop user group on the client)

     

    [ul]
  • The i changed the Portal settings to NLA and left the user/password section empty. No success
  • The i changed the Portal settings to NLA and filled in the name of one of the allowed users without the mydomain\ part. Only the username. Password still empty. Works[/ul]

    The NLA boxes are unchecked on all clients. All clients on same Patchlevel and winver.

     

    Does anybody has a sugesstion why it is different on the clients and why some need the NLA, even if it is deactivated on the client.

     

     

     

     

  • thank you so much!!!

    i've been searching for this for so long , my client couldn't work with

    ForticLient , therefore had to solve this somehow!!

     

     

    I'm very thankful

    gguilmette
    New Member
    February 13, 2019

    I have found that setting the bookmark security option to "Let Remote Server Decide" helps in this situation. I've not dug around in the configurations enough to know if the other secure options possibly require a domain certificate or other handshaking requirements. 

    scerazy
    scerazyAuthor
    Visitor III
    March 17, 2019

    While it works on current 6.0.4 when connecting to Server OS, it NO LONGER works if connecting to Windows 10 CLIENT (tested connection to 1607, LTSB 2016) machine

     

    No matter what settings are used, I always end up with

    Connection closed

     

    Hence the few users that used to be able to connect to they workstation, can no longer do it Seb

    chimera
    New Member
    August 26, 2019

    This was very frustrating, but I eventually found the solution for me (if not using SSO) is instead of using:

    AD-DOMAIN\username

    as the format for the username, instead I used:

    username@AD-domain.local

    (or whatever the FQDN of your Active Directory is) along with Security to "Allow the server to choose..."

     

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.