1. remote computer shutdown

I've got a network between 2 computers (10baseT)... and I need to be able to 
shut down 1 computer from the other. File sharing is active, and the 
computer that I want to run the program has full access rights on the other.

ie...

computer 1                          computer 2
__________       network        ______________
|   runs   |_______|hub|_________|             |
| program  |                     | *shuts down*|
|__________|                     |_____________|

it's ok if the program is stored on computer 2.


Any ideas people? Also, a program to prevent the modem from reconnecting 
(temporary) would be great.

thanks in advance.....

++++++++++++++
MrTrick

new topic     » topic index » view message » categorize

2. Re: remote computer shutdown

If you have network file sharing operating then run a program on computer2
that looks to see if a file in one of the network shares exists - when this
file exists remove it and then initiate a shutdown.  Do this check in a
"busy" loop with a, say, five second wait in the loop to save CPU cycles.
Also put an entry in your Windows Startup folder to start this program on
every boot up.

Now all computer1 has to do is create the file on the share in question and
within five seconds computer2 will have started to shutdown.

This is fine for a small home network.  A larger environment would probably
need something a little more secure of course but, as always, YMMV.

Regards.

Andy Cranston.

At 01:13 05/04/02 +1000, you wrote:
>
>I've got a network between 2 computers (10baseT)... and I need to be able to 
>shut down 1 computer from the other. File sharing is active, and the 
>computer that I want to run the program has full access rights on the other.
>
>ie...
>
>computer 1                          computer 2
>__________       network        ______________
>|   runs   |_______|hub|_________|             |
>| program  |                     | *shuts down*|
>|__________|                     |_____________|
>
>it's ok if the program is stored on computer 2.
>
>
>Any ideas people? Also, a program to prevent the modem from reconnecting 
>(temporary) would be great.
>
>thanks in advance.....
>
>++++++++++++++
>MrTrick
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu