I am trying to use a script (kindly provided by Evan Anderson in another thread) to shut down a couple of Windows 2000 Servers which run our Cisco Unity system, in the event that our environmental monitoring software detects a problem such as a air con failure.
The script is:-
net use \x.x.x.x\ipc$ /user:administrator password shutdown -s -t 10 -f -m \x.x.x.x met ise \x.x.x.x\ipc$ /delete
When the script runs windows logs off but then comes up with a message telling me "it is now safe to turn off your computer" screen. The weird thing is that I can shut down the computer using start Shutdown and when I do so the server powers off so I know that the hardware is capable of being shut off.
I have checked in the BIOS and advanced power management is switched on. I have looked in the control panel but there is no entry for power management.
I have added the REG_SZ value "PowerdownAfterShutdown" in "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" and set it to "1" but still get the same behaviour.
Since the whole point is to prevent the servers from frying if the room over heats I really need to get them to power off. Does anyone have any ideas?
Many thanks
Shaz