Home > Tips > Restart Exchange 2003 script

Restart Exchange 2003 script

October 21st, 2009 Leave a comment Go to comments

If you need an easy way to restart Exchange 2003 services, copy and paste the following two scripts into text files and name them Exchange-stop.cmd and Exchange-start.cmd (alternatively combine them into one and call it Exchange-restart.cmd). Then run them to stop and start Exchange.

net stop “Microsoft Exchange Information Store” /y
net stop “Microsoft Exchange System Attendant” /y
net stop “Microsoft Exchange IMAP4” /y
net stop “Microsoft Exchange Routing Engine” /y
net stop “Microsoft Exchange POP3” /y
net stop “Microsoft Exchange Management” /y

net start “Microsoft Exchange Information Store”
net start “Microsoft Exchange System Attendant”
net start “Microsoft Exchange MTA Stacks”
net start “Microsoft Exchange IMAP4”
net start “Microsoft Exchange Routing Engine”
net start “Microsoft Exchange POP3”
net start “Microsoft Exchange Management”

Another quick little tip for you, if you’ve got Exchange installed on your Domain Controller with Active Directory, remember to stop Exchange before you shutdown (or add the script to the shutdown procedure) and it will increase the machines shutdown time immensely.

Categories: Tips Tags: ,
  1. Steve
    March 29th, 2012 at 20:18 | #1

    I’ve been using this very tip from you for quite a while (combined into one script) since our flagging 2003 needs to restart in the early hours daily (long story…)

    However, today the emails where down in the morning and when I checked the script mysteriously was no longer working.

    I added ‘pause’ to the end of the script and saw the errors where all like this:
    net stop “Microsoft Exchange Information Store” /y
    System error 2 has occurred

    the system cannot find the file specified.

    I don’t suppose you have any idea why that might be?

  2. March 29th, 2012 at 20:22 | #2
  3. March 7th, 2013 at 17:42 | #3

    Great tip, thanks. Was tired of looking up the correct order and was doing this manually. I just might automate it once a month in the middle of the night.

  1. No trackbacks yet.