Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sequence stopping exchange 5.5 1

Status
Not open for further replies.

damien12345

Technical User
Jul 25, 2002
2
NL
Do anybody know the right sequence of stopping exchange 5.5 services , so you don't get the question do wish to stop x services also?

i'm using a batch file with a net stop command ..


thnx
 
IMC
MTA
Event service
information store
directory service
system attendant

Alternatively, use
net stop "Microsoft Exchange System Attendant" /yes
which will stop the all the services at once (the /yes answers yes to the queries 'stop all these services as well').
 
if you're going to batch chis, you'll need to repeat the command 3 times -- otherwise they won't all stop (trust me)

NSP
 
HI.

Here is a sample, note that 3rd party add-ons like anti virus should also be considered:

REM - NET STOP NavExchange /YES
REM - NET STOP MSExchangeINS /YES
REM - NET STOP MSExchangeDXA /YES
NET STOP MSExchangeIMC /YES
NET STOP MSExchangeES /YES
NET STOP MSExchangeMTA /YES
NET STOP MSExchangeIS /YES
NET STOP MSExchangeDS /YES
NET STOP MSExchangeSA /YES

NET START MSExchangeSA
NET START MSExchangeDS
NET START MSExchangeIS
NET START MSExchangeMTA
NET START MSExchangeES
NET START MSExchangeIMC
REM - NET START MSExchangeDXA
REM - NET START MSExchangeINS
REM - NET START NavExchange

Notes:
In some occasions the services might hang during the stopping phase, and you'll need to restart the server.
In most cases it works fine.

You can find here Exchance.CMD and Exdefrag.CMD that can automate offline backup and or offline defrag of exchnage in a batch file:

Bye


Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top