• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • 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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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