The client is Windows XP SP1.
In the properties of the service, under the recovery tab, I want to
modify the following:
first failure: Restart the service
second failure: restart the service
subsequent failure: restart the service

Can this be done with vbs scripting?
--
Eric Sabo
NT Administrator

Help with a script dealing with services by nicolas

nicolas
Mon Apr 26 14:18:47 CDT 2004

Hello,

The simpliest way for you is to use sc.exe, which allows=20
natively to do that.
cf http://www.jsiinc.com/SUBM/tip6300/rh6385.htm


Cheers,

Nicolas Di=E9trich
RightVision
France

>-----Original Message-----
>The client is Windows XP SP1.
> In the properties of the service, under the recovery=20
tab, I want to
>modify the following:
> first failure: Restart the service
> second failure: restart the service
> subsequent failure: restart the service
>
>Can this be done with vbs scripting?
>--=20
>Eric Sabo
>NT Administrator
>
>
>.
>