Hi Guys.
I have a Windows 2003 Server connected to a APC UPS and when the power fails it will run a script. I also have a second machine and switch powered from the same UPS. When the power fails I want to run the script and in that script send a command to machine2 (a Windows 2000 Server) to shutdown. According to some stuff I've found on Google I should be able to do this using the shutdown.exe program in the system32 directory. The command that I believe is correct is:
shutdown /s /m \\servername
I have tried this from the command line to test it, but I always get the following error message:
servername: The entered computer name is not valid. Check the name and then try again or contact your system
administrator.(53)
However, if I do
ping servername
it finds the server ok.
Is there some sort of permissions I need to change to get the other server to accept this shutdown command?
Thanks in advanced.
Andrew.
I have a Windows 2003 Server connected to a APC UPS and when the power fails it will run a script. I also have a second machine and switch powered from the same UPS. When the power fails I want to run the script and in that script send a command to machine2 (a Windows 2000 Server) to shutdown. According to some stuff I've found on Google I should be able to do this using the shutdown.exe program in the system32 directory. The command that I believe is correct is:
shutdown /s /m \\servername
I have tried this from the command line to test it, but I always get the following error message:
servername: The entered computer name is not valid. Check the name and then try again or contact your system
administrator.(53)
However, if I do
ping servername
it finds the server ok.
Is there some sort of permissions I need to change to get the other server to accept this shutdown command?
Thanks in advanced.
Andrew.