[ntp:questions] Re: Specifying command line parameters for ntpd running as a w2k service?

Martin Burnicki martin.burnicki at meinberg.de
Mon Jan 17 08:28:29 UTC 2005


Terje Mathisen wrote:
> Martin Burnicki wrote:
>> would it be an acceptable solution to read the command line parameters
>> under Windows from a registry string?
>> I know you're very busy, and have a large todo list for NTP, so could I
>> help you to integrate such code?
> I suggest you take a look at what I believe is a possible workaround:
> Using SRVANY.EXE (freeware from the resource kit), any executable can be
> turned into a service.
> SRVANY uses a list of registry values to determine what to do:
> Parameters is the actual application name.
> AppParameters are the command line to be passed to the app.
> Terje

This would be a nice workaround. However, for the long term I think it would
be easier to handle if the NTP service and installer would handle that

Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont

More information about the questions mailing list