Re: Disable Service Using SMS Installer
- From: "Derek" <garionb@xxxxxxxxx>
- Date: Wed, 15 Jun 2005 11:41:15 -0500
Thanks Terry, that is simplicity at it's best :)
"Terry Matthews" <nospam@xxxxxxxxxxx> wrote in message
news:%23QrVBcccFHA.3912@xxxxxxxxxxxxxxxxxxxxxxx
> Basically if you edit the registry there are a couple keys to help you.
>
> Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
>
> In there look at the various services (names might not look how they show
> up in the Services GUI) and you'll see a value called "Start" with 2-4.
> These values tell the machine what to set the start up as to:
> 2 = Automatic
> 3 = Manual
> 4 = Disabled
>
> In your SMS Installer script just edit the registry for the name you want
> and set that value. I would then put a stop\start service command for
> your service. That should work. If not you may need to do a reboot.
>
> Terry
>
>
> "Derek" <garionb@xxxxxxxxx> wrote in message
> news:%235Rb9FccFHA.2664@xxxxxxxxxxxxxxxxxxxxxxx
>> Hello,
>> Can anyone help me with finding a way to DISABLE a service or set a
>> service to MANUAL using SMS INSTALLER? Any help would be appreciated,
>> thanks.
>>
>> Derek
>>
>
>
.
- References:
- Disable Service Using SMS Installer
- From: Derek
- Re: Disable Service Using SMS Installer
- From: Terry Matthews
- Disable Service Using SMS Installer
- Prev by Date: Re: Disable Service Using SMS Installer
- Next by Date: Re: Creating software packages - what to use
- Previous by thread: Re: Disable Service Using SMS Installer
- Next by thread: Re: Disable Service Using SMS Installer
- Index(es):
Relevant Pages
|