Forum Discussion

Tim Hunter's avatar
Tim Hunter
Iron Contributor
Apr 21, 2020
Solved

Setting Time on Domain

I am wanting to configure Time on my Domain Controller running Server 2016 so that all my other servers and workstations show the same time. Are there any simple step by step instructions on how to do this? Thank you!

  • for all domain members (aside from PDCe) should have happened by default but you can confirm by running;

    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /syncfromflags:domhier /update
    net stop w32time
    net start w32time
    then check
    w32tm /query /source
    w32tm /query /configuration
     -----------------------------------------------
    for the PDCe
    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /manualpeerlist:<preferred ip address> /syncfromflags:manual /reliable:yes /update
    net stop w32time
    net start w32time
     
    then check
     
    w32tm /query /source
    w32tm /query /configuration
     
     
     (please don't forget to mark helpful replies)
     
     
     

     

3 Replies

  • for all domain members (aside from PDCe) should have happened by default but you can confirm by running;

    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /syncfromflags:domhier /update
    net stop w32time
    net start w32time
    then check
    w32tm /query /source
    w32tm /query /configuration
     -----------------------------------------------
    for the PDCe
    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /manualpeerlist:<preferred ip address> /syncfromflags:manual /reliable:yes /update
    net stop w32time
    net start w32time
     
    then check
     
    w32tm /query /source
    w32tm /query /configuration
     
     
     (please don't forget to mark helpful replies)
     
     
     

     

    • Darren Durgha's avatar
      Darren Durgha
      Copper Contributor

      Dave Patrick.

      Thank you . I recently had few issues with  PDC  time sync  which points  to  infoblox ntp  and used a lot command on your list,  the stratum numbering help resolved my issue . 

       

      The highest stratum supported is 15,  and my  Infoblox  stratum was showing 14, which makes the PDC a stratum 15 – all other DCs will be a Stratum 16 or more which is unsupported. 

       

      Just a tip in case anyone run into Domain hierarchy time  issues using third party ntp time source  

  • Dave101's avatar
    Dave101
    Copper Contributor

    Tim Hunter 

    All machines that are domain members should automatically sync their time with the domain controller that they authenticated against last. Those DCs will sync from the DC with the PDC Emulator role on it. That machine should be pulling time from an external source (make sure firewall is open). I believe it defaults to time.windows.com. This can be customized.

    A good reference is here:
    https://docs.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-top

     

Resources