1

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... – Thomas Weller Aug 28 '16 at 13:18
0

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 – Steve Barnes Aug 28 '16 at 9:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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