Thursday, December 17, 2009

Speed up your SBS 2008 slow shutdown

A new build of SBS 2008 can shut down really slow. I mean reallllly slow. 15 or 20 minutes. This is Exchange having problems shutting down while all the other services shut down as well. The fix is simple. Add a script to shutdown in group policy that will shutdown Exchange first.

First create a file named Exchstop.cmd and save it to C:\Windows\Exchstop.cmd. In this file needs to be the following.

net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y


Now in the Default Domain Controller Policy go to

Computer Configuration > Policies > Windows Setting > Scripts > Shutdown

Click Add and browse to c:\windows\Exchstop.cmd

Click OK

Now see how fast your server shuts down.

7 comments:

Anonymous said...

Small typo in the article. First part calls the file exchshut.cmd. The second part with the GPO, you are calling the file exchstop.cmd.

DuncanOrr1002 said...

辛苦了!祝你愈來愈好!........................................

Arik said...

Make sure you only apply the GPO to the PDC (use WMI filter or create a new GPO that will apply to this server only) as other DCs in the SBS domain will not have the Exchange services.

如此的 said...

廢話不多,祝你順心~^^........................................

Anonymous said...

hi

no major problem if you have not exchange
the service just dont exist so nothing to shutdown.
only some errors on event viewer

thanks

Anonymous said...

Heres some more information that might be helpfull,

Exchange - Slow Shutdown and Reboot on a Domain Controller

Pete
PeteNetLive

Anonymous said...

had to do a "gupdate /force" afterwards - now it only takes 1:40 instead 4:05 min:s, thanks