Blog

SBS 2008 Shutdown/Restart Scripts

Doing a shutdown or restart on SBS 2008 can be a slow process (and even slower when users are waiting on the server to come back up!).  Stopping the exchange services is a big part of the slowness.  Below are a couple of bat file I use that helps a good bit.  There’s no difference between the two other than whether it’s a shutdown or a restart of the server.

 

ServerShutdown.bat

net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y
shutdown /s /t 00

 

ServerRestart.bat

net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y
shutdown /r /t 00