Running Windows xp bat script remotely from an ubuntu machine

Is it possible to remotely run Windows xp bat script remotely from an ubuntu computer via the command line?

0
source share
3 answers

This is possible if an ssh server is running on WinXP. It is trivial to configure such a server if you installed Cygwin . It is well described here .

Then from the Ubuntu command line (or cron job) you run

ssh user@winxp command 

Make sure your .bat has executable permissions.

+2
source

I think the technology you are using is WMI . I see that there is an ubuntu package called wmi-client, which you can sudo apt-get install and try to do for you. Some quick searches, and I can’t find the details, but maybe this will lead you somewhere ....

+1
source

Perhaps you would use something like Remote Desktop, and if you did, that would work, but your question is not very specific.

0
source

Source: https://habr.com/ru/post/915832/


All Articles