Exchange Shutdown/Restart is very slow

Published on
8,068 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Join & Write a Comment

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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month