none
NtpServer Registry Key

    Question

  • I have following registry value across all the servers and desktops in Mydomain except PDC.Does it mean that all the servers and desktops taking time from time.windows.com instead of PDC? If clients sync from its DC(http://blogs.msdn.com/b/w32time/archive/2007/09/04/keeping-the-domain-on-time.aspx) ,what is the purpose of below registry key? Can someone help me to understand?

     Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\NtpServer time.windows.com,0x9


    Karthik R
    • Moved by Bruce-Liu Thursday, January 05, 2012 1:46 AM (From:General)
    Wednesday, January 04, 2012 9:34 PM

Answers

  • No - the determination whether the NTPServer entry is relevant is based on the value of Type registry value. If this value is set to Nt5DS (rather than NTP), then the domain hierarchy is used

    details at http://support.microsoft.com/kb/223184

    hth
    Marcin

    • Marked as answer by Bruce-Liu Friday, January 06, 2012 6:30 AM
    Thursday, January 05, 2012 3:07 AM
  • Marcin is correct it depends upon the type registry value set in HLMC\SYSTEM\Currentcontrolset\Services\W32time\Parameters on client PC.By default the value is set to Nt5DS hence it will sync time from DC.

    Nt5DS = synchronize to domain hierarchy [default]
    NTP = synchronize to manually configured source
    NoSync = do not synchronize time

    Hope this helps

    Regards,
    Sandesh Dubey.
    -------------------------------
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator
    My Blog: http://sandeshdubey.wordpress.com
    This posting is provided AS IS with no warranties, and confers no rights.

    • Marked as answer by RKART Thursday, January 05, 2012 12:28 PM
    Thursday, January 05, 2012 4:49 AM

All replies

  • By default domain client sync time with DC.

    You need to configure authorative time server on the PDC role holder server below is the KB article for the same.
    http://support.microsoft.com/kb/816042.

    To check which server is PDC role holder run netdom query fsmo.

    Make sure that below parameters are set correctly on PDC Server.
    1.Change the server type to NTP
    2.Set AnnounceFlags to 5
    3.Enable NTPServer
    4.Specify the time sources.eg time.windows.com,0x1
    5Configure other paratmeters as well.

    Restart the windows time service.Ran w32tm /resync /rediscover command.

    Check the system log you will get event id 35 and 37 related to time sync.

    Also point the other DC to point to PDC server for time sync.
    Server type to NT5DS
    Set Ntpserver -->PDCservername,0x1 eg DC,0x1
    Set AnnounceFlags to 10 by default it is 10
    Restart the windows time service.Ran w32tm /resync /rediscover command

    Hope this helps

    Regards,
    Sandesh Dubey.
    -------------------------------
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator
    My Blog: http://sandeshdubey.wordpress.com
    This posting is provided AS IS with no warranties, and confers no rights.

    • Proposed as answer by Bracut80 Tuesday, July 16, 2013 7:30 PM
    Thursday, January 05, 2012 2:07 AM
  • No - the determination whether the NTPServer entry is relevant is based on the value of Type registry value. If this value is set to Nt5DS (rather than NTP), then the domain hierarchy is used

    details at http://support.microsoft.com/kb/223184

    hth
    Marcin

    • Marked as answer by Bruce-Liu Friday, January 06, 2012 6:30 AM
    Thursday, January 05, 2012 3:07 AM
  • Marcin is correct it depends upon the type registry value set in HLMC\SYSTEM\Currentcontrolset\Services\W32time\Parameters on client PC.By default the value is set to Nt5DS hence it will sync time from DC.

    Nt5DS = synchronize to domain hierarchy [default]
    NTP = synchronize to manually configured source
    NoSync = do not synchronize time

    Hope this helps

    Regards,
    Sandesh Dubey.
    -------------------------------
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator
    My Blog: http://sandeshdubey.wordpress.com
    This posting is provided AS IS with no warranties, and confers no rights.

    • Marked as answer by RKART Thursday, January 05, 2012 12:28 PM
    Thursday, January 05, 2012 4:49 AM
  • By default, PDC syncs the time from the external or reliable source and the time server is defined in the NtpServer key where as for for domain clients its NT5DS means domain hierarchy is used because kerosene authentication depends on the time sync b/w the domain client and DC if there is time skew of 5min authentication will fail.

    Windows Time Server Role in AD Forest/Domain

    http://awinish.wordpress.com/2011/10/07/time-server-role-in-forestdomain/ 

     

    Regards


    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com


    This posting is provided AS-IS with no warranties/guarantees and confers no rights.
    Thursday, January 05, 2012 9:06 AM
    Moderator
  • Awinish,

    as I pointed out earlier, the fact that NtpServer registry value is set, has no relevance - since this concerns configuration on the clients - not the PDC Emulator.

    Type registry entry dictates whether domain hierarchy is being used or not...

    cheers,
    Marcin

    Thursday, January 05, 2012 6:40 PM
  • In addition: The only server that should have NTP set rather than NT5DS is the forest root domain PDC (if you have multiple domains) – a common mistake is to configure each PDC in the forest to use NTP.
     
     
    ----------------------------------------------------------

    Enfo Zipper
    Christoffer Andersson – Principal Advisor
    "Sandesh Dubey" wrote in message news:08dc5ffe-4c7d-4482-9964-06d2ebf0d77f...

    Marcin is correct it depends upon the type registry value set in HLMC\SYSTEM\Currentcontrolset\Services\W32time\Parameters on client PC.By default the value is set to Nt5DS hence it will sync time from DC.

    Nt5DS = synchronize to domain hierarchy [default]
    NTP = synchronize to manually configured source
    NoSync = do not synchronize time

    Hope this helps

    Regards,
    Sandesh Dubey.
    -------------------------------
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator
    My Blog: http://sandeshdubey.wordpress.com
    This posting is provided AS IS with no warranties, and confers no rights.


    Enfo Zipper Christoffer Andersson – Principal Advisor
    Friday, January 06, 2012 12:40 AM
  • Marcin, agreed with you and and i was on the same page with you but i might have not expressed properly in my statement.

     

    Regards


    Awinish Vishwakarma

    MY BLOG:  awinish.wordpress.com
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.
    Friday, January 06, 2012 4:18 AM
    Moderator