Are there any free /commercial tool that can connect to windows server (logon using rdp) and execute a command ?

I have program that require a GUI to run. That makes testing difficult. One way this is archived is using properrdp client(http://properjavardp.sourceforge.net/). This accepts a usual credentials and command line program (which is batch file on the server). The tool occationally crashes/disconnect with no apparent reason.

I am looking for alternate tools that can do the same. The solution must run on windows (7, 2000 etc) and must have command line to control the target shell.

  • 1
    I didn't get it. You need a console to interact with the program but it also has a GUI? How does that work? Why do you specifically ask for RDP, why ain't any other technology possible? Why does the built-in solution of Windows not work, since it can also start programs? You really need Windows 2000 Support? Extended support of XP ended in 2014... Aug 28 '16 at 13:18

If you enable it Windows Remote Management, WinRM, then you can use WinRM scripting objects, the WinRM command-line tool, or the Windows Remote Shell command line tool WinRS which should be pre-installed on most versions of Windows.

This will allow the direct execution of power shell scripts, batch files or individual commands.

  • Thanks. The application require "GUI shell"..hence my need for rdp client. That way when multiple sessions are running they do not interact.
    – Jayan
    Aug 28 '16 at 9:29
  • You could automate your tests with SikuliX - sikulix.com Aug 28 '16 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.