net stop MSExchangeES /y
net stop MSExchangeIS /y
net stop MSExchangeMTA /y
net stop MSExchangeSA /y
net stop WinHttpAutoProxySvc /y
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (5)
Commented:
Author
Commented:Commented:
http://www.petri.co.il/slow_shutdown_of_exchange_2003_server_installed_on_dc.htm
But will try to check if working with your script is faster or slower.
Commented:
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.
-tigermatt
Commented: