Stopping/restarting services: order important ?

Hi,

I need to run 2 batch files: one thay stop Exchanges services and one that 
start them up.

This is the batch that stop them:

start /min net stop MSExchangeMGMT /yes
start /min net stop RESvc /yes
start /min net stop POP3Svc /yes
start /min net stop IMAP4Svc /yes
start /min net stop NntpSvc /yes
start /min net stop SMTPSVC /yes

net stop MSExchangeES /yes
net stop MSExchangeIS /yes
net stop MSExchangeMTA /yes
net stop MSExchangeSA /yes

And the batch that start them up:

start /min net start MSExchangeMGMT /yes
start /min net start RESvc /yes
start /min net start POP3Svc /yes
start /min net start IMAP4Svc /yes
start /min net start NntpSvc /yes
start /min net start SMTPSVC /yes

net start MSExchangeES /yes
net start MSExchangeIS /yes
net start MSExchangeMTA /yes
net start MSExchangeSA /yes

Am I stopping/restarting them in the right order ?

Thanks a lot !

0
2/11/2005 2:53:02 PM
exchange.admin 57650 articles. 2 followers. Follow

2 Replies
638 Views

Similar Articles

[PageSpeed] 50

I don't know that it much matters in terms of order stopping them, but if 
you stop the System Attendant first, it will stop all of the other services 
for you, or at least those that depend on the System Attendant.

As far as order of starting up, I'd imagine that most of the services you 
have listed depend on the System Attendant, so by the time it tries to start 
the SA, it would have already been started.  If you held the command prompt 
window open, or started the batch file from an open command prompt window, I 
imagine you'd see that shown as well (service already started).

-- 
Ben Winzenz
Exchange MVP


"Simon Renshaw" <SimonRenshaw@discussions.microsoft.com> wrote in message 
news:08139E08-8452-4FBB-971F-59C79D91F916@microsoft.com...
> Hi,
>
> I need to run 2 batch files: one thay stop Exchanges services and one that
> start them up.
>
> This is the batch that stop them:
>
> start /min net stop MSExchangeMGMT /yes
> start /min net stop RESvc /yes
> start /min net stop POP3Svc /yes
> start /min net stop IMAP4Svc /yes
> start /min net stop NntpSvc /yes
> start /min net stop SMTPSVC /yes
>
> net stop MSExchangeES /yes
> net stop MSExchangeIS /yes
> net stop MSExchangeMTA /yes
> net stop MSExchangeSA /yes
>
> And the batch that start them up:
>
> start /min net start MSExchangeMGMT /yes
> start /min net start RESvc /yes
> start /min net start POP3Svc /yes
> start /min net start IMAP4Svc /yes
> start /min net start NntpSvc /yes
> start /min net start SMTPSVC /yes
>
> net start MSExchangeES /yes
> net start MSExchangeIS /yes
> net start MSExchangeMTA /yes
> net start MSExchangeSA /yes
>
> Am I stopping/restarting them in the right order ?
>
> Thanks a lot !
> 


0
Ben
2/11/2005 3:31:22 PM
Ok thanks, I'll do some more tests.

I'll stop/start the System Attendant first and see what it will do.

"Ben Winzenz [Exchange MVP]" wrote:

> I don't know that it much matters in terms of order stopping them, but if 
> you stop the System Attendant first, it will stop all of the other services 
> for you, or at least those that depend on the System Attendant.
> 
> As far as order of starting up, I'd imagine that most of the services you 
> have listed depend on the System Attendant, so by the time it tries to start 
> the SA, it would have already been started.  If you held the command prompt 
> window open, or started the batch file from an open command prompt window, I 
> imagine you'd see that shown as well (service already started).
> 
> -- 
> Ben Winzenz
> Exchange MVP

0
2/11/2005 4:01:04 PM
Reply:

Similar Artilces:

disable snap-to while dragging tab stops?
How do I drag a tab stop to arbitrary position without it snapping to the tick marks on the ruler? I tried holding down shift, ctrl, alt. None of them works. I even turned off everything in the arrange->snap menu. Publisher 2003. Set the tab to about where you want it, zoom to 200%, open the tab dialog and input the number where you want the tab positioned, click set. The tab button can be dragged to your toolbar by customizing. This is the best that Publisher can do... -- Mary Sauer MSFT MVP http://office.microsoft.com/ http://msauer.mvps.org/ news://msnews.microsoft.com "p...

stops responding
A few days ago while trying to balance one of my accounts, Money would start hanging and I had to kill the process and created a LRD file. My file is only 12MB and it has been fine until recently. I am using Money 2007. I should have put my system specs. I have a P4 3.8GHZ w/ 2GB RAM running XP Pro. When I have Money open, I typically only have Messenger, a browser, and sometimes Acroabat Reader running also. "Casey" wrote: > A few days ago while trying to balance one of my accounts, Money would start > hanging and I had to kill the process and created a LRD file. ...

blue stop screen 0x0000007E
stop error code after windows installs drivers. this is new hdd and mobo but problem persists.oxoooooo7e (oxf748eobf oxf78da2o8,oxf78d9fo8....was doing it with last mobo and hdd...help please!!! -- thanks one and all for your helping hands xerxies wrote: > stop error code after windows installs drivers. this is new hdd and > mobo but problem persists.oxoooooo7e (oxf748eobf > oxf78da2o8,oxf78d9fo8....was doing it with last mobo and hdd...help > please!!! That *is* a driver issue. You are installing the incorrect drivers or need to contact the manufacturer of said ...

outlook mail services by default
I want use outlook for my mails, but outlook express is my mail services by default. How i can restore my outlook in default mail services? ...

Windows Service problem
Hello all, I have a program that I'm running as a service on a Window's NT machine, I used 'Srvany.exe' to install it, and it's running fine. But, when I try to do the same thing on a Window's 2000 machine, I get a "Error 1053: The service did not respond to the start or control request in a timely fashion". Does anybody have any ideas why this same program will not work on different operating systems? ...

Service Industry and Billing
If you are in the Trade or Professional Services Industry, what is your company using for invoicing its' customers? (i.e. Sales Order Processing, Invoicing, or non-GP application) Also, do you have a Job Cost or Project Management application? -- Shiela Fabre ************ This posting is provided "AS IS" with no warranties, and confers no rights. I have a large client in the proffesional services industry, and they use Great Plains Project Accounting, for all project billings. Works great. "Shiela Fabre [MSFT]" wrote: > If you are in the Trade or Professio...

Work Orders
On the Detailed Work Order report, it does not give you an option to print the "Reference #" on the report, as it is not in the selection option. It is, however in the Work Order Summary Report. Please add this field to the report ASAP. -- Thanks, joel ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then c...

recipient policy stopped working
Hello All, I'm seeing an issue in my Exchange 2003 environment where an admin will create a new account and the recipient policy does not populate the users email address. This just started happening a few days ago here in the US... It happened in our UK office last week but I thought that might have been user error on the admin. We are in mixed mode with Exchange5.5, which we have been for almost a year. I did how ever remove some old 5.5 servers but the last one I removed was almost a month ago, so i don't think it would be that. I know you need to ask this question so yes th...

Problem with Import Data path
In Excel 2002 (Windows XP Pro OS), is there a way to have the Import External Data path default to the last folder visited (the way it did in Excel 97), rather than going to "My Data Sources" each time? All my text data files are organized deep under several layers of folders withing my general "Data" folder, and as it stands now, I need to navigate through the same set of multiple folders every time I want to import four or five seperate data files which all reside in the same folder. I don't see a way to change Excel's behavior. You could navigate to your...

Changing the Password for the Mail Services Account
Is there an issues with doing this on an exchange 5.5 server. I think not, but figure I would ask first. Thanks, SRG Actually, yes there are issues. In addition to changing the password from within User Manager, you would also need to change the password on all of the Exchange Services in the Services applet (Control Panel, Services) as they run under the context of that user account, and also in Exchange Admin on the properties of the Configuration container, Service Account Password tab. -- Ben Winzenz Exchange MVP "SRG" <mlaufer@srg.com> wrote in message news:ae...

How do I stop a cc email to myself from going to deleted folder
Sometimes when I send an email, I want to keep a copy ofr myself. When I enter my email address in the cc part, this always goes straight to the deleted folder, even though I have my email listed as a safe sender. Any suggestions? On 13/03/2010 01:53, technochallenged wrote: > Sometimes when I send an email, I want to keep a copy ofr myself. Outlook automatically keeps a copy of every email you send in the Sent Items folder. There is no need to cc yourself. "technochallenged" <technochallenged@discussions.microsoft.com> wrote in message news:D4...

3197: The microsoft Jet Database Engine stopped the process because you and another user are attempting to change the same data at the same time
Hello, I have a fairly large (For Access - its slated to be transferred to MySQL) backend that allows the user to use the database's front end normally to store and retrieve data. However when I try to open the database I get the Error "The microsoft Jet Database Engine stopped the process because you and another user are attempting to change the same data at the same time". This isn't true because I have it on my local computer. I've tried importing to a new DB file and I get the same error. The original DB will not open to allow import (show table list) and show er...

553-This target address is not our MX service
Dear all, What is the meaning of below error message? 1.553-This target address is not our MX service 2.This is an automatically generated Delivery Status Notification. THIS IS A WARNING MESSAGE ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. Delivery to the following recipients has been delayed. Pls advise! In news:%23MVl0sEuGHA.4748@TK2MSFTNGP03.phx.gbl, Stanley <holunking@gmail.com> typed: > Dear all, > > What is the meaning of below error message? > > 1.553-This target address is not our MX service > > 2.This is an automatically generated Delivery Stat...

problem with using data import with arabic
when use data import in crm 4.0 using csv file which has data in arabic language the arabic data is not inserted correctly instead rubish data is added can any body tell me if there is a fix for this Best regards On Jan 29, 9:12=A0pm, Marwa <Ma...@discussions.microsoft.com> wrote: > when use data import in crm 4.0 using csv file which has data in arabic > language > the arabic data is not inserted correctly instead rubish data is added > can any body tell me if there is a fix for this > > Best regards Rather than using CSV for your source, use a unicode txt file. In...

Stop all macros
I have a button on a form, which should do different things depending on 1. The data contained within the current record; 2. Whether the current record is a 'new record'; 3. Whether the current record is the first record in the form. On click, an embedded macro is initiated. Each step in the embedded macro has a condition and a corresponding 'RunMacro' action. All the conditions are mutually exclusive, and each sub-macro has a final step of 'StopAllMacros'. So the embedded macro should trigger one, and only one sub-macro. However, it appears that what is act...

Stopping the scroll bar
Hi all, this is my first time. I don't know if this is the right place for this problem but here I go. I have created a template of an invoice the size of an A4 and would like to stop the scroll bar moving both horizantally and vertically in normal view just as if it was in print view. Is that possible through VBA and if yes what is the code that I would need to achieve such task. Thanks in advance --- Message posted from http://www.ExcelForum.com/ Not too sure what you are after but you can remove the scrollbars with <Tools - Options> and then in the View tab, at the bottom,...

I would Like to Receive the Windows Update Services for my Account
Thanks for your service... I would like to receive the Windows Updates for this acco unt at any time; please, take note about it. Thanks. -- FCAMPBELL01 Signatureship: ix/lc=1030 wcfla/lc=xxx-xx60310. fset/lc=xxx-xx25377. FCAMPBELL01 wrote: > Thanks for your service... I would like to receive the Windows > Updates for this acco > unt at any time; please, take note about it. I have taken note. Many others that are your peers likely will as well. However - I would bet the question would be, "Why should we care?" This is a peer-to-peer newsgroup - a foru...

Stopping a Campaign Temporarily
Hi, My client has executed the campaign in Jan 1st 2006 and the end date is Dec 31st 2006. But he wants to stop the campaign temporarily from 15th July 2006 and again start it from 1st Aug 2006. So what is that I need to do for this thing, i have never come across this kind of situation before. Thanks in advance. Regards, Shabbir. ...

Would you stop for a moment?!
Excuse me!! Would you stop for a moment?! O...man...Haven't you thought-one day- about yourself ? Who has made it? Have you seen a design which hasn't a designer ?! Have you seen a wonderful,delicate work without a worker ?! It's you and the whole universe!.. Who has made them all ?!! You know who ?.. It's "ALLAH",prise be to him. Just think for a moment. How are you going to be after death ?! Can you believe that this exact system of the universe and all of these great creation will end in in nothing...just after death! Have you thought, for a second, How to save you...

NNTP Service Configuation
Hey All, I configured an NNTP feed for my exchange 2003 installation. Unfortunately, I wasn't bright enough to realize I should limit my newsgroups at the feed level. Eventually, I went back and set limits on the groups I pull, but now I have the structure for ALL groups available from my upstream server. I haven't been able to find a good method of deleteing the groups that aren't being served by my server. Any ideas would be appreciated. TIA, ~Mike Hi Michael, The only way to do this is to manually delete them from under the NNTP Virtual Server and then do it again...

Cannot start Workflow Service 05-18-05
Hi there I cannot start the Workflow Service anymore. If i reboot the server the status of the service is starting. After a few minutes the service is stopped. If i try to restart the service i'll get the following error message: "The Microsoft CRM Workflow Service service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." In the event viewer i'll see the following message: "The Microsoft CRM Workflow Service service terminated with the following error: The ...

Stop
I have two items in my register, one a transfer to my bank and another a deposited item. I made one bank deposit for the combined amount. When it cleared, I matched it against the two items and all seemed fine. Problem is that every day Money shows the item again as an unmatched item and I have to delete it constantly. I realise this system isn't to well written, but is there any way to have this not show up. After all it was matched and accepted once. In microsoft.public.money, John Barnes wrote: >I have two items in my register, one a transfer to my bank and another a &g...

Work Order and Discounts
Hi, I am encountering a problem whereby I have an item on a Discount such as Buy 1 get 1 free. This works okay on a normal transaction. However, when I use these items on a Work Order, the discount does not appear. It does not matter whether I use WOrk Order first, then scan or vice versa. RMS Version 2.0.0109. Is anyone else having this issue? Thanks ...

Sending and Receiving Email stops after installing Exchange 2003 SP1
I've installed Exchange 2003 SP1 and sending and receiving email has stopped. All services are running. Messages seem to be in the local delivery queue. Any suggestions? Thanks. I've been fighting the same thing. Users get -- 800ccc0f or 8004210 Machine is DC, running ADC --- HELP ! ! ! Hi Dan Had same problem, try to stop all Exchange and web (IIS especialy) manualy. ' Then reinstalle PS1, it solved my problem. Carsten "Dan" <dslaby.no2spam@evergreeninfo.biz> wrote in message news:<Ov0nh5DREHA.3732@TK2MSFTNGP11.phx.gbl>... > I've install...

Loss of data while importing into Excel
Hi can anyone tell me why the following data from the xml file is not displayed in Excel whem importing it from the GetData menu ? file: http://www.sec.gov/Archives/edgar/data/106618/000092189503000689/kle1.xml missing data item in Excel: <rptOwnerName>KLEIN LOUIS JR</rptOwnerName> Many thanks, Oliver chs245@yahoo.com (chs245) wrote in message news:<f05ec318.0310030121.7dbcb9f9@posting.google.com>... > Hi > > can anyone tell me why the following data from the xml file is not > displayed in Excel whem importing it from the GetData menu ? > > file: ht...