Reputation: 6685
I've got a situation where i have one system running a master application that communicates with slave applets on other systems, problem is, i can't guarentee that the slave applets will be running, nor that an operator can physically utilize the system to start the applet (and I'm also assuming they don't know how to use Remote desktop, these are minimum wage test operators)
Is there an easy way to remotely launch an executeable on another system?
security is not a concern here as this is a closed network.
Upvotes: 6
Views: 11887
Reputation: 1
another simple solution if you're not on the same network (accessing your home computer to run teamviewer for example) is to create a rule in Outlook (if you have it) whereas if you receive an email say from yourself, you can have it start an application if there are certain pieces of text in the message body or subject line, for example:
Create a mailbox rule: Step 1 - Conditions: From & With specific words in the body (from being your mail address and the message body: Start Teamviewer Step 2 - Start Application (browse to the location of the .exe you want to launch) Step 3 - enable that bad boy!
Obviously, you have to have Outlook open and accepting incoming mail in order for this to work.
you can tailor this to your requirements, ie: if Start Teamviewer is too easy, you can put codes or passwords in there too, so when the email arrives, it'll read the message, recognise the info based on the rule, and launch the application. :)
Upvotes: 0
Reputation: 119856
WMI is your friend. See the following article which covers starting processes locally and remotely using WMI:
How To: (Almost) Everything In WMI via C# Part 2: Processes (CodeProject)
Kev
Upvotes: 5
Reputation: 161831
Any chance of converting the remote applets into Windows services? They can be configured to start when the system starts; to retry if they fail; and to notify someone if there are problems. They're quite trivial to create with Visual Studio.
Upvotes: 1
Reputation: 2285
You can use the Windows AT command to schedule tasks on a remote machine.
Upvotes: 1
Reputation: 5651
here's a 2 step solution
Honestly, I would suggest the PsExec solution by Piskvor. But you can try out this as well ;)
Upvotes: 0
Reputation: 92792
If you're on the same network and have access credentials (username+password) to the remote computer, then Mark Russinovich's PsExec is just the tool you need.
Upvotes: 7