Board index » delphi » Startup and Shut Down Computer and Application Remotely...

Startup and Shut Down Computer and Application Remotely...

hi All,
   I was told by someone on the WinAPI newsgroup that I might get a bit
more help on this subject from this mailing list.

I would like to write an application that has an admistration program on
the server and a client program installed on the users machine. From the
Administration program on the server I would like to be able to to
Startup and Shutdown a particular machine on the network and also
startup and shut down a particluar program on that user's machine all
from my administration program on the server.

Firstly is this possible and secondly where should I start looking to
find out how to do this sort of thing.

Thanks

Dominique.

 

Re:Startup and Shut Down Computer and Application Remotely...


1. Start up - you would need Wake on Lan enabled cards then send a magic
packet to start the machine
2. Shut down - do not use the InitiateSystemShutdown api - your best bet is
to write a service for nt or an invisible app or as you are in oleautomation
a com server (i know nothing about these) we currently use a small
windowless app ( a kind of deamon) on the client that we send a specific
command to shut down
3 and 4 don't know. but you could run a program in the same way you shut
down in 2 above
--
Brian Slack LL.B., LL.M.
Digital Wired Limited
http://www.digitalwired.net
Quote
> I would like to write an application that has an admistration program on
> the server and a client program installed on the users machine. From the
> Administration program on the server I would like to be able to to
> Startup and Shutdown a particular machine on the network and also
> startup and shut down a particluar program on that user's machine all
> from my administration program on the server.

> Firstly is this possible and secondly where should I start looking to
> find out how to do this sort of thing.

Other Threads