Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

To change "windows service" default recovery option

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
Mushq
Asked:
Mushq
  • 2
1 Solution
 
QPRCommented:
double click the service and got to the "recovery" tab.
Use the drop down boxes to select the values you need
0
 
MushqAuthor Commented:
Sorry I want to do that programmatically.
0
 
QPRCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now