Re: start service with parameters on restart
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Tue, 19 Aug 2008 11:59:26 +0200
"exotericist" <nospamthanks@xxxxxxxxxxx> wrote in message
news:4210AAC2-EAF6-4D94-B5E3-2F4E95D9852D@xxxxxxxxxxxxxxxx
i'm charged with maintaining an application which has multiple listener
services.
the first service can be set to auto.
subsequent services need to be passed a parameter to start.
in 2003 i've used sc.exe to pass a parameter to a service on startup and
this works fine. i could set it so that the services were started by the
act
of logging in.
however, i'd like the services to come up automatically on restart without
the need for user intervention, since that's what services are supposed to
do.
my question is, therefore, the one in the title:
how can i start a service in windows server 2003 on machine restart and
pass
it a parameter?
many thanks,
e.
Have a look at the Windows Time service. It starts automatically at boot
time and it uses parameters.
HKLM\SYSTEM\CurrentControlSet\Services\W32Time
.
- Follow-Ups:
- Re: start service with parameters on restart
- From: exotericist
- Re: start service with parameters on restart
- References:
- start service with parameters on restart
- From: exotericist
- start service with parameters on restart
- Prev by Date: Re: WIndows updates - web sites for patches?
- Next by Date: Re: WIndows updates - web sites for patches?
- Previous by thread: start service with parameters on restart
- Next by thread: Re: start service with parameters on restart
- Index(es):
Relevant Pages
|