We help IT Professionals succeed at work.
Get Started

Windows 2003 Remote Shutdown Script

818 Views
Last Modified: 2012-05-11
We have three servers in or network (1-2008, 2-2003). The UPS software that performs the automated shutdown in case of a power failure didn't work quick enough yesterday when we had a power outage. I was not there to manually shut them down and two went down hard before the UPS shutdown completed.

I have a restart script that use for remote maintenance and just modified it for shutdown instead of restart. I've put it on the server 2008 desktop for the office mgr to use incase of an emergency. Now I'd like to create a script she can execute to manually shutdown the two other servers.

Here is a quick script that runs on the 2008 server.

cd\
net stop "AeLookupSvc" /y
net stop "AppHostSvc" /y
net stop "QuickBooksDB20" /y
net stop "QBCFMonitorService" /y
net stop "Spooler" /y
....
shutdown /s /t /30 /f /d /p:4:1

I have a shutdown file very simular to this on the two 2003 servers in the domain. How do I automate the remote shutdown of both of them from the 2008 server properly?
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 3 Answers and 11 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE