Custom Input Time Provider for W32Time or Custom C# Service

Discussion in 'Active Directory' started by YeeManB, May 23, 2008.

  1. YeeManB

    YeeManB Guest


    I have a piece of hardware that can provide very precise time. I would like
    to sync my windows system time to it. 2 solutions that I can think of are
    1) write a custom input time provider for W32Time.
    2) write a custom c# service to call SetSystemTime at specified intervals.

    Is there another option? Is there an advantage to option 1?

    YeeManB, May 23, 2008
    1. Advertisements

  2. YeeManB

    Chad Hooper Guest

    How does the device provide the time?
    If it is a device that plugs in to your network and offers time via NTP,
    then on your Windows system, you could run
    'net time /setsntp:<device_address>'
    Chad Hooper, May 24, 2008
    1. Advertisements

  3. YeeManB

    YeeManB Guest

    It is a PCI card with a really good internal clock and can sync time with
    external devices via IEEE 1588. The hardware provider exposed a C API. It
    does not support NTP.

    YeeManB, May 27, 2008
  4. YeeManB

    Chad Hooper Guest

    So am I right in saying that this device will sync the clock of your PC to
    accurate time?

    If so, can you set that machine as your time provide? Ie, on your other
    machines, run 'net time /setsntp:<pc_with_time_device>'

    If the above is a no go as well, can you give me some details on the card,
    and I'll see if I can come up with another solution.

    Just out of interest, is there any reason why you would rather use this than
    one of the publicly available time servers that do support NTP?
    Chad Hooper, May 27, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.