citronneur / node-rdpjs

Remote Desktop Protocol for Node.js
GNU General Public License v3.0
887 stars 154 forks source link

winserver 2016 show NODE_RDP_PROTOCOL_X224_NEG_FAILURE() #47

Open xiaoshengduan opened 3 years ago

xiaoshengduan commented 3 years ago

winserver 2016 throw error NODE_RDP_PROTOCOL_X224_NEG_FAILURE() , but winserver 2019 can work

276408869 commented 3 years ago

node-rdpjs support only SSL security layer,so the server needs to apply for SSL security certificate. And then you should set Windows remote desktop (RDP) connection security layer to SSL (TLS 1.0). View links https://docs.microsoft.com/en-us/troubleshoot/windows-server/remote/incorrect-tls-use-rdp-with-ssl-encryption

276408869 commented 1 year ago

If the above method does not work, right-click on My Computer - Properties - Advanced System Settings - Remote - uncheck 'Only allow computer connections that run remote desktops using network level authentication'