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 occasionally crashes/disconnect with no apparent reason.

Some note on why: RDP Session provide session level isolation. Application running on one session is reasonably isolated from other including mouse/keyboard actions.

I am looking for alternate tools that can do the same.

  • 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... Commented Aug 28, 2016 at 13:18

2 Answers 2


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
    Commented Aug 28, 2016 at 9:29
  • You could automate your tests with SikuliX - sikulix.com Commented Aug 28, 2016 at 9:39

In the end you are going to execute a command on the target machine.

In this case why don't you just use PowerShell?

Otherwise if you prefer a GUI approach you ca go for Sikuli.

  • Updated question to indicate a session isolation (also removed references to older windows version)
    – Jayan
    Commented Nov 29, 2021 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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