Discussion Locked

Start a process on a remote machine

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to start a process on a remote machine from my local machine. Both are in the same network.

For eg. I want to run some executable(say notepad.exe) on Machine A from Machine B.

I know this can be done using Sockets. But the problem is, Idon't want any listener process running on the remote machine.

Is there any way I can do it? Any ideas/code samples will be greatly appreciated.

-Jagadish

13 replies

by lastorck

if your remote Machine works under OS like NT or UNIX - no problem, use telnet or DCOM.
if its like WIN95 (without such servises like telnet or DCOM) your own first process on remote Machine must be start manualy (or by startup) and that first process may start other apps in response your communications from Machine B. i think you can't run anithing remotely without deamon on target that can do it
Regards

by pvp

"I don't want any listener process running on the remote machine."

Then you don't want to do this. SOMETHING has to be listening, or your "talking" goes nowhere.

by jagadish

Thanx for ur suggestion. I have found a solution using the Schedule service.

What I meant by "No listener process on the remote machine" is non-system process. It is OK for some NT service to act as a daemon.

by cratem

Dear Jagadish,
if you want to run any application from your machine, you don't need to write code. You can buy PC Anywhere and can use your remote PC locally. If you want to write your own applications, you have to have something on the Rempote that will listen to the local commands. In Windows NT 2000 you can do Telnet with no code at all. In UNIX you can also Telnet.

by james_randy

Use a keyboard extension cord. If that doesn't work, perhaps you should consider calling your local super-hero.

by tjc

How did you get the Schedual Service to run on a remote computer? How did you get the second comptuer to talk to the Schedual Service? Or did you just go to the local computer and set it up?

This discussion is closed to new replies.