Regards
netsvc "Microsoft Exchange Connector for Lotus cc:Mail" \\servername /stop
netsvc "Microsoft Exchange Internet Mail Service" \\servername /stop
waitsecs 5
netsvc "Microsoft Exchange Message Transfer Agent" \\servername /stop
waitsecs 1
netsvc "Microsoft Exchange Information Store" \\servername /stop
waitsecs 30
netsvc "Microsoft Exchange Directory" \\servername /stop
waitsecs 5
netsvc "Microsoft Exchange System Attendant" \\servername /stop
Replace SERVERNAME with the name of your MSX server. If you don't have
NETSVC, it can be found on the NT 4.0 Res Kit. You may need to change the
time specified by WAITSECS here to get each one to stop in time.
Alternatively, stop the "System Attendant" service, which will stop all other
services one by one.
If your batch file is to be run FROM the server, do this :
net stop "Microsoft Exchange Service"
hope this helps
Mark.
In article <01be8bdb$50cd8ee0$a91dcb6f@SERVER2>,
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
REM // stop all services
echo Stopping Services...
net stop MSExchangeMSMI
net stop MSExchangePCMTA*
net stop MSExchangeFB
net stop MSExchangeDX
net stop MSExchangeIMC
net stop MSExchangeMTA
net stop MSExchangeIS
net stop MSExchangeDS
net stop MSExchangeSA
REM - call the shutdown command here. (This command requires that you
have the Windows NT Resource Kit compact disc.)
*service name is user defined
Cheers,
Kimmo
MOR User <m...@sim.net.tr> wrote in message
news:01be8bdb$50cd8ee0$a91dcb6f@SERVER2...
Yes, the same line three times.
--Pam McMickin
MOR User wrote in message <01be8bdb$50cd8ee0$a91dcb6f@SERVER2>...