DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Python,rdpy-rdpscreenshot.py negotiation failure code 5,problem,Help!  (Read 5,517 times)

johnny09033

  • Participant
  • Joined in 2017
  • *
  • Posts: 5
First of all i downloaded rdpy from here: https://github.com/citronneur/rdpy
Now i create a .bat script to run over 2000 servers, something like this:
Code
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/XqWpn3RU
here that error,the problem is batch not progressin anymore, stops to that line with this error: https://pastebin.com/daRqSV0Y

i used a small tool to compare the 2 files and the diference is this:
r
Code
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/DbIlikz8a0PK
and here rdpscreenshot.pyc (complied file): https://hostr.co/PxhPC81sjDk7

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: Python,rdpy-rdpscreenshot.py negotiation failure code 5,problem,Help!
« Reply #1 on: September 10, 2017, 10:05 PM »
I've not got Python installed... May I suggest trying RDCMan instead? It's got a live thumnail preview of all connected servers.

Original address: https://www.donationcoder.com/forum/index.php?topic=44300.0