6

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)?

Bertolt
  • 297
  • 3
  • 10

4 Answers4

5

I'm a big fan of winexe it's basically psExec that you can run from a *nix box.

Zypher
  • 37,405
  • 5
  • 53
  • 95
  • 1
    Wow, I have a hacky screen-scraping RDP client that installs SSH that I'm never using again. – geocar Feb 01 '10 at 17:49
0

Perhaps you could use DoIt or the openssh windows port.

Alex M
  • 111
  • 3
0

From a Windows machine you can use BeyondExec to execute anything on a Windows machine with a proper user name and password. So if you set up a VM with Windows and BeyondExec on the Linux machine, you should be able to do what you want.

Note that some virus scanners don't like BeyondExec. Which is hardly a surprise. :)

Kara Marfia
  • 7,892
  • 5
  • 33
  • 57
Sebastiaan M
  • 292
  • 1
  • 2
  • 9
0

doit is great, 10x Pi

yoshco
  • 113
  • 4