views:

56

answers:

3

I am looking for a way in Linux to run a batch script on a remote Windows machine. I already searched some forums and the Internet and found e.g. this question.

It seems that the easiest way so far is using ssh. But do Linux or Windows also offer some built-in tools to solve this problem (something like at-command for Linux-to-Windows)?

A: 

Have a look at this. It seems to be the linux counter part to the Windows Sysinternals PsExec tool. .

Frank Bollack
Seems good, but it is also a tool that I have to install. I am looking for a built-in solution.
Bertolt
You do not have to install anything on the remote machine (windows). Of course, you need the tool to be present on the linux box.
Frank Bollack
A: 

Another option is to use ad-hoc services for remote execution, e.g. Nagios NRPE for windows. It is not exactly what the developers had in mind, but it can be (ab)used in this way.

Dan Andreatta
A: 

Use one of the security leaks in IE that allows you to run anything :D