Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

To change "windows service" default recovery option

Posted on 2009-03-31
3
482 Views
Last Modified: 2012-05-06
Hi,
Two screen shots attached one shows the default recovery settings (ServiceOptionBeforeupdatesetting.JPG) and second shows my updated setting (ServiceOptionAfterupdatesettings.JPG), can anyone please guide me how to update those settings according to that updated settings screen shot.



Regards,
Mushi
ServiceOptionBeforeupdatesetting.JPG
ServiceOptionAfterupdatesettings.JPG
0
Comment
Question by:Mushq
  • 2
3 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 24027330
double click the service and got to the "recovery" tab.
Use the drop down boxes to select the values you need
0
 
LVL 6

Author Comment

by:Mushq
ID: 24027335
Sorry I want to do that programmatically.
0
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 24027372
ahhhh I did wonder how you took the screenshot if you didn't know how to change the values :)
I have never tried/tested this but....
http://www.codeproject.com/KB/install/sercviceinstallerext.aspx
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question