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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange script

Status
Not open for further replies.

dgallegos

MIS
Aug 22, 2003
28
US
Does anyone know how to set up a script to stop the exchange services so the backup can backup all of the exchange files
 
Create a BAT file with these commands:

net stop MSExchangeMSMI /y
net stop MSExchangePCMTA /y
net stop MSExchangeFB /y
net stop MSExchangeDX /y
net stop MSExchangeIMC /y
net stop MSExchangeMTA /y
net stop MSExchangeIS /y
net stop MSExchangeDS /y
net stop MSExchangeSA /y

This should stop the exchange services. You may not have all of these running, so delete the ones that aren't. You can verify that they've stopped by looking in the control panel services. To start them after the backup has finished, create a BAT file with these entries:

net start MSExchangeSA
net start MSExchangeDS
net start MSExchangeIS
net start MSExchangeMTA
net start MSExchangeIMC
net start MSExchangeDX
net start MSExchangeFB
net start MSExchangePCMTA
net start MSExchangeMSMI


Hope this helps.

Regards,

mapman04
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top