Open xiaoshengduan opened 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
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'
winserver 2016 throw error NODE_RDP_PROTOCOL_X224_NEG_FAILURE() , but winserver 2019 can work