Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

To change "windows service" default recovery option

Posted on 2009-03-31
3
Medium Priority
?
488 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 1500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
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…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

886 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