hoe to turn off or hibernate a system when the network is off..please help i am using win xp 64 bit and vista 34 bit
-
What do you mean by 'when the network is off'?
Are you trying to remote shut down a system you don't have access to? -
hi,i dont mean so.actually wat i mean is that i leave my laptop at home when i go to office (making it download some movies from torrents).i aym using a cable broad band connection when power failure occurs my dsl modem switches off(network off) so i get a notification network cable unplugged.so when this happens i dont want my system running wastely.so i need smething to turn it off or hibernate when this happens.plz help
-
if i remeber correctly VNC offers somethign like this?
-
Some programs like uTorrent will keep the computer from being detected as idle, but I think you can disable that in uTorrent settings. -
actually my problem is not only power failure at my home .but the power failure at the main server
i just wann to shut down my sys when this happens (network cable unplugged) -
Write a monitoring utility that runs in the background, and when it detects that the network is no longer responsive, it triggers the shutdown routine.
-
-
-
usapatriot Notebook Nobel Laureate
Some programs have an autoshutdown option that will activate one it's finished downloading/scanning or whatever.
I know utorrent has that option and so do most anti virus programs. -
-
please guyz help me..........
-
Ok, I've been thinking about it a bit, and, depending on what OS you're running, there are several different ways to do this. The difficult part is just making sure that you've written something that shuts down or hibernates only when you want it to, but that does so every time the right sequence of events occurs.
So, the first question is: What OS (name and service pack) are you running?
Second question is: If you're running XP, do you have the Powershell script console installed (it's automatically included in _Vista, as far as I know)?
Third question is: Which do you want, shutdown or hibernation?
Fourth question is: How customizable do you want it (e.g., different shutdown times, different triggering criteria, different time-outs for polling the network connection's existence, etc)?
Please keep in mind, though, that I'm doing this for free, and largely out of curiousity/teaching myself the innards of Windows, so you're not my client or customer, and if you don't like what I have the time and/or skill to produce, oh well. Ok? -
Well, the OP seems to have skedaddled, even after taking all the trouble to bump his thread up a few days back.
At any rate, if the OP comes back, I've a little Powershell script (please don't take me to task for poor code-writing, it was a dashed-off bit of stuff) that will do the basics of what he wants - poll for a good network connection, and then commence a shutdown once network connectivity is lost (provided the script is running at the time).
Anyways, here it is: View attachment Get-NetworkStatus.ps1.txt
In order to get it to work, you'll have to have Powershell installed (for XP, I believe it comes natively with _Vista), you'll also have to set the execution settings to permit execution of the script, which you should cut-n-paste into your own document just to stay away from the restrictions in Powershell on running unsigned scripts you downloaded. Also, save it without the ".txt" extension - that's there just to make the NBR filters happy.
Any problems and I'll be happy to return the money you paid me for it
how to turn off or hibernate a system when the network is off
Discussion in 'Windows OS and Software' started by neo143, Jun 21, 2009.