Slow shutdown of Windows 2003 Server after installing Exchange 2003 Server

Author:

Yuval Sinay MVP

COMMUNITY SOLUTIONS CONTENT DISCLAIMER

MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

SUMMARY

After installing Exchange 2030 on Windows 2003 server (especially if this server fumctions as a domain controller) the shutdown time of the server increses significantly.

SYMPTOMS

After installing Exchange 2003 Server on Windows 2003 Server, the shutdown time of the server increses significantly.

CAUSE

This happens with Exchange 2003 (and sometimes even with Exchange 2000 for that matter), because Active Directory services shuts down before Exchange services shut down.  It happens more often on Exchange 2003 because service shutdown in Windows 2003 has been accelerated.

RESOLUTION

There are few options to fix/avoid this problem:
 
1.  Shutdown Exchange services by using a batch command, before you shutdown the server.
 
       The following command can be used:
 
          net stop "Microsoft Exchange System Attendant" /y
 
2. Stop "WinHTTP Web Proxy Auto-Discovery Service" service manually, before you shutdown the server.
 
        The following command can be used:
 
          net stop "WinHTTP Web Proxy Auto-Discovery Service" /y
 
3. Decrease the value of "WaitToKillServiceTimeout" in the registry:
 
         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout
 
       The default value of "WaitToKillServiceTimeout" are: 600000 and should be changed to lower number.
 
       This value should be found by experiments and may impact other services in the system and this change is not
 
       supported by Microsoft.
 
4. Change the location of Exchange database to other partition then system partition.
 
Note: If the problem occur on Windows Small Business Server 2003, please review:
 
           
 
5. Review: Faster reboot on Exchange Server 2003 servers that are also Domain Controllers knowlagebase:
 
          
 
Note: You may need to install the latest Exchange 2003 Service Pack to reslove this issue.
 
 
Properties

Article ID: 555025 - Last Review: 14 Feb 2017 - Revision: 1

Microsoft Exchange Server 2003 Enterprise Edition, Microsoft Windows Server 2003, Datacenter Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Standard Edition (32-bit x86)

Feedback