Click to See Complete Forum and Search --> : Remote Terminate/Run exe


penina
January 15th, 2003, 10:47 AM
Hello.

I want to start running an exe on a remote PC. I found a way to do that with sa.exe (ITaskScheduler interface). Is there a different way? more direct?
(without having a "deamon" server on the remote PC that listens to messages and runs the desired exe).

How do I terminate an exe that runs on a remote PC?
(I know how to do that through the task manager in a local PC - with PSAPI.DLL).

Caprice
January 16th, 2003, 01:09 AM
DCOM . I don't know, maybe, that's exactly the "deamon" you so afraid. :) I'd like to write an object, register it on the second computer and communicate with it. But what the "deamon" must listen - I don't understand :).

deadman
January 16th, 2003, 01:17 PM
The whole program is allready built for you :) Try to download PCtools or ptools. But if you want to program it by yourself try to do someting with NETBios server.