First of all i downloaded rdpy from here:
https://github.com/citronneur/rdpyNow i create a .bat script to run over 2000 servers, something like this:
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 23.228.142.165
rdpy-rdpscreenshot.py -w 2000 -l 1200 -o C:/tmp/ 63.248.225.81
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 24.73.34.125
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 63.249.40.114
here a succesull line:
https://pastebin.com/XqWpn3RUhere that error,the problem is batch not progressin anymore, stops to that line with this error:
https://pastebin.com/daRqSV0Yi used a small tool to compare the 2 files and the diference is this:
r
dpy.core.error.RDPSecurityNegoFail: negotiation failure code 5[*] INFO: save screenshot into C:/tmp/24.73.34.125.jpg
i forgot, rdpscreenshot.py downlaod link:
https://hostr.co/DbIlikz8a0PKand here rdpscreenshot.pyc (complied file):
https://hostr.co/PxhPC81sjDk7