Random Tech Tips

Brian Alaway Consulting – Overdelivering Technology For Your Business

Speed Up Exchange Shutdown

Posted on | March 25, 2009 | No Comments

Anyone who’s ever rebooted a box running Exchange knows how agonizingly slow the wait can be. The slow shutdown is especially pronounced when Exchange is installed on a domain controller – i.e. SBS. Use this simple batch file to speed up the process by stopping Exchange services before Windows shutdown.

Exchange 2003:
net stop MSExchangeES /y
net stop MSExchangeIS /y
net stop MSExchangeMTA /y
net stop MSExchangeSA /y
net stop WinHttpAutoProxySvc /y

Exchange 2007:
net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y

On a typical SBS 2003 box, I prefer to automate this further by calling the batch file via the shutdown group policy:
Default Domain Controller Policy>Computer Configuration>Windows Settings>Scripts (Startup/Shutdown)>Shutdown.

Comments

Leave a Reply