[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Exchange Shutdown/Restart is very slow

Published on
8,326 Points
3 Endorsements
Last Modified:
When you try to shut down or Restart the Exchange Server 2003, it takes age to shutdown due to some of the important processes get killed during shutdown and which makes other process to get hung making the shutdown slower.
Use the below code of the batch file and put that file in the Shutdonw Script.
net stop MSExchangeES /y
net stop MSExchangeIS /y
net stop MSExchangeMTA /y
net stop MSExchangeSA /y
net stop WinHttpAutoProxySvc /y

Open in new window


Expert Comment

Looks good...
LVL 14

Author Comment

by:Dhiraj Mutha
Try it out, it will be good. I have used it and found usefull.
LVL 33

Expert Comment

Till date I always used to follow this simple batch file presented at

But will try to check if working with your script is faster or slower.
LVL 58

Expert Comment


Just to point out, the reason behind slow shutdowns on a DC running Exchange is due to the way by which Exchange integrates with Active Directory. When you restart a DC running Exchange, the Active Directory services shutdown before the Exchange services close down. Thus, the Exchange DSACCESS routine, used by Exchange to integrate with Active Directory, tries to contact Active Directory, fails (the service has already shut down) and you must wait for DSACCESS to timeout before the server will restart.

By stopping the Exchange services before Active Directory shuts down, you eliminate this problem. And remember, with Exchange on a member server, this should not be necessary.

LVL 33

Expert Comment

Agree with you on that. !!! Same is the situation when the box reboots - you would always find a delay in starting up for similar reasons.

Featured Post

Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month