node-rdpjs
node-rdpjs copied to clipboard
rdp Win2003,show ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
rdp Win2003 ,show error:
[node-rdpjs] ERROR: NODE_RDP_PROTOCOL_X224_NEG_FAILURE()
Error
at new ProtocolError (file:///C:/Users/Administrator/Hozz5/app/main.js:138510:9)
at Client.recvConnectionConfirm (file:///C:/Users/Administrator/Hozz5/app/main.js:156822:10)
at TPKT.
This is because node rdp doesn't support old version of RDP protocol.
Change the settings on your server like this:

Hi,
This is because old RDP protocol is not supported on node-rdpjs.
Sorry
I set Allow remote connections to this computer. But still it throws same error. Old RDP protocol is not supported on node-rdpjs, so how can we solved this issue. My destination server is windows 2012 r2
After doing configuration in machine, it works for me. However I have dynamic server creation in cloud and I can't go into server every time and change configuration. Which windows OS is supported @citronneur ?
Following is my windows machine configuration
UPDATE :
I have checked version of RDP and it shows me 10.2.
@sonianand11 You can add the following line to your provisioning of your cloud servers
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
After that I was able to use node-rdpjs with a Windows Server 2016 running in Azure.
@StefanScherer Thank you for reply. I am also using azure. I am creating windows instance by Ruby SDK . Can you please also suggest which part of configuration I need to add that line ?
@sonianand11 I don't know the Ruby client, but I can show you how to run scripts within a "Deploy to Azure button" configuration azuredeploy.json I did a while ago in github.com/StefanScherer/docker-windows-azure repo.
@StefanScherer Thank you. This helps me. I will look more into it. I will also update if anything works for me via Ruby SDK
I think ntlm auth la needed but not implemented . In next release.
What are the roadblocks to supporting older versions of the rdp protocol? I've been wanting to help code something, and I think adding support for this could be a good place to start.
@sonianand11您可以将以下行添加到您的云服务器配置中
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
之后,我能够在 Azure 中运行的 Windows Server 2016 中使用 node-rdpjs。
it works, thx