Solved

To change "windows service" default recovery option

Posted on 2009-03-31
3
481 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

770 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