Network question

A

Adrian

In a network I have a W98 PC that I want to close down from another PC in
the network. I have found out that the following command will close down the
W98 PC:

rundll32 krnl386.exe,exitkernel

How do I close down the W98 using that command in C# code from another
(non-W98) PC (specifically an XP or a Vista) in the network?

Could someone please come up with a suggestion?
Many thanks,
Adrian.
 
N

Nicholas Paldino [.NET/C# MVP]

Adrian,

You will have to have a process on the W98 machine which will wait for a
signal from your other machine to shut down. When the process on the W98
receives the signal (through remoting, or some other inter-machine
communication), it will execute a process with the command line that you
posted originally.
 
A

Adrian

Nicholas Paldino said:
Adrian,

You will have to have a process on the W98 machine which will wait for
a signal from your other machine to shut down. When the process on the
W98 receives the signal (through remoting, or some other inter-machine
communication), it will execute a process with the command line that you
posted originally.

Thank you Nicholas.
Adrian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top