none
The time source of RODC become "Local CMOS Clock" after run w32tm /unregister and w32tm /register

    Question

  • I used command "w32tm /unregister" to unregister the time service then user "w32tm /register" to re-register time server in my RODC server, after that, I found the time source become "Local CMOS Clock" instead of my DC, then the server could sync the time, when i use w32tm /resync, it should "The computer did not resync because no time data was available", please help
    johnson
    Friday, April 15, 2011 7:48 AM

All replies

  • Try what is mentioned in this Microsoft article:

    http://support.microsoft.com/kb/929276

    Please use regedit and make sure that in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters the Type = NT5DS.

     


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner

    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration

    Friday, April 15, 2011 8:33 AM
  • Is port 123UDP is opened because its is required for time sync from other DC. Is you PDC syncing the time from external source & all other DC configure to sync from PDC. If not configure the time heirachy following KB816042. Make sure Rodc point to local dns server only.

    Run the below cmd one more time, if it doesn't follow the KB option.

    net stop w32time
    w32tm /unregister
    w32tm /register
    net start w32time

    If the above issue doesn't resolve thne configure the registry value following the below KB.

    http://support.microsoft.com/kb/816042


     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Friday, April 15, 2011 8:35 AM
    Moderator
  • I have performed below action and i have capture some configuration as below

    1. stop the w32time service

    2. unregister w32time service

    3. register w32time service

    4 start the w32time service

     

    C:\Users\administrator.MACAUSJM>net stop w32time
    The Windows Time service is not started.

    More help is available by typing NET HELPMSG 3521.


    C:\Users\administrator.MACAUSJM>w32tm /unregister
    W32Time successfully unregistered.

    C:\Users\administrator.MACAUSJM>w32tm /register
    W32Time successfully registered.

    C:\Users\administrator.MACAUSJM>net start w32time
    The Windows Time service is starting.....
    The Windows Time service was started successfully.


    C:\Users\administrator.MACAUSJM>w32tm /query /source
    Local CMOS Clock

    C:\Users\administrator.MACAUSJM>w32tm /query /configuration
    [Configuration]

    EventLogFlags: 2 (Local)
    AnnounceFlags: 10 (Local)
    TimeJumpAuditOffset: 28800 (Local)
    MinPollInterval: 6 (Local)
    MaxPollInterval: 10 (Local)
    MaxNegPhaseCorrection: 172800 (Local)
    MaxPosPhaseCorrection: 172800 (Local)
    MaxAllowedPhaseOffset: 300 (Local)

    FrequencyCorrectRate: 4 (Local)
    PollAdjustFactor: 5 (Local)
    LargePhaseOffset: 50000000 (Local)
    SpikeWatchPeriod: 900 (Local)
    LocalClockDispersion: 10 (Local)
    HoldPeriod: 5 (Local)
    PhaseCorrectRate: 7 (Local)
    UpdateInterval: 100 (Local)


    [TimeProviders]

    NtpClient (Local)
    DllName: C:\Windows\system32\w32time.DLL (Local)
    Enabled: 1 (Local)
    InputProvider: 1 (Local)
    CrossSiteSyncFlags: 2 (Local)
    AllowNonstandardModeCombinations: 1 (Local)
    ResolvePeerBackoffMinutes: 15 (Local)
    ResolvePeerBackoffMaxTimes: 7 (Local)
    CompatibilityFlags: 2147483648 (Local)
    EventLogFlags: 1 (Local)
    LargeSampleSkew: 3 (Local)
    SpecialPollInterval: 3600 (Local)
    Type: NT5DS (Local)

    NtpServer (Local)
    DllName: C:\Windows\system32\w32time.DLL (Local)
    Enabled: 1 (Local)
    InputProvider: 0 (Local)
    AllowNonstandardModeCombinations: 1 (Local)

    VMICTimeProvider (Local)
    DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
    Enabled: 1 (Local)
    InputProvider: 1 (Local)


    johnson
    Friday, April 15, 2011 9:23 AM
  • Follow the below link to configure the registry key to sync the time from PDC also make sure port 123 UDP is opened in firewall.

    http://technet.microsoft.com/en-us/library/cc758905%28WS.10%29.aspx

    http://support.microsoft.com/kb/816042

     

    Ace has got much detailed explanation.

    https://msmvps.com/blogs/acefekay/archive/2009/09/18/configuring-the-windows-time-service-for-windows-server.aspx

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Friday, April 15, 2011 9:59 AM
    Moderator
  • Same issue after run w32tm /config /syncfromflags:domhier /update

    C:\Users\administrator.MACAUSJM>w32tm /config /syncfromflags:domhier /update
    The command completed successfully.

    C:\Users\administrator.MACAUSJM>
    C:\Users\administrator.MACAUSJM>w32tm stop w32time
    The command stop is unknown.

    C:\Users\administrator.MACAUSJM>net stop w32time
    The Windows Time service is stopping.
    The Windows Time service was stopped successfully.


    C:\Users\administrator.MACAUSJM>net start w32time
    The Windows Time service is starting.....
    The Windows Time service was started successfully.


    C:\Users\administrator.MACAUSJM>w32tm /resync
    Sending resync command to local computer
    The computer did not resync because no time data was available.

    C:\Users\administrator.MACAUSJM>w32tm /query /status
    Leap Indicator: 3(last minute has 61 seconds)
    Stratum: 0 (unspecified)
    Precision: -6 (15.625ms per tick)
    Root Delay: 0.0000000s
    Root Dispersion: 0.0000000s
    ReferenceId: 0x00000000 (unspecified)
    Last Successful Sync Time: unspecified
    Source: Local CMOS Clock
    Poll Interval: 6 (64s)


    C:\Users\administrator.MACAUSJM>w32tm /query /source
    Local CMOS Clock


    johnson
    • Edited by johnsoniks Friday, April 15, 2011 10:52 AM
    Friday, April 15, 2011 10:34 AM
  • My server is a Read Only DC running on windows 2008, and the PDC is a windows 2003,the PDC is sync with an internal NTP server
    johnson
    Friday, April 15, 2011 10:37 AM
  • Did you check the registry value on the RODC is according to the article.

    Please provide some more info like no forest/domain, no. of DC's, OS of DC's & SP level, DFL/FFL.

    Why don't you keep the FSMO role on windows 2008 DC.

    Upload dcdiag /v /c /d /e >>C:\dcdiag.log on skydrive only. Do not post the Dcdiag result here use skydrive only for uploading the info.

    /e switch will scan all the DC's in the forest, so its better to run at non business hours.

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Friday, April 15, 2011 11:09 AM
    Moderator
  • Hello,

    it sounds that there is connection problem to the main site.

    What about the already asked question for the firewall port UDP 123 which MUST be open to achive the connection for the time service? And there are also some other ports to be open for AD itself: http://technet.microsoft.com/en-us/library/dd772723(WS.10).aspx


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Saturday, April 16, 2011 11:38 AM
  • Hi,

     

    In addition, please also refer to the following thread to troubleshoot this issue.

     

    Computer did not resync because no time data was available

    http://social.technet.microsoft.com/Forums/en/winservergen/thread/853c95d9-8309-470b-a419-4f4df53ddd72

     

    For more troubleshooting information, please also refer to the following Microsoft KB article:

     

    Windows Time Synchronization does not work on the PDC Operations Master role Domain Controller of the Forest Root Domain

    http://support.microsoft.com/kb/969304

     

    Regards,


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, April 18, 2011 9:18 AM
    Moderator
  • I have checked in the registry, the type already is NT5DS

    The question is

    The time service is having problem after run w32tm /unregister && w32tm /register, but it is normally before, is there any missing registry after unregister and re-register?

    I have compared the registry between a normal client and my RODC server, and i found there are some registry were missing


    johnson
    Monday, April 18, 2011 3:10 PM
  • You need to make sure the registry entries are present described in the below article.

     http://support.microsoft.com/kb/816042

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Monday, April 18, 2011 3:29 PM
    Moderator
  • Thanks Awinish, but the article is talking about the PDC, my problem is in RODC, i think it should sync the time from my PDC
    johnson
    Monday, April 18, 2011 3:37 PM
  • Yes, the only difference between PDC & RODC or another clients is NtpServer & Type registry key. The NtpServer registry key should be name of PDC & type should be NT5DS for RODC or another clients & rest of all the keys are same.

    You can use Mr FIXIT from below.

    http://technet.microsoft.com/en-us/library/cc758905%28WS.10%29.aspx

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Monday, April 18, 2011 3:46 PM
    Moderator
  • ok, then, i found the Ntpserver registry key is missing, so, i need to add this key by myself and set the value to my PDC's hostname, right?
    johnson
    Monday, April 18, 2011 3:55 PM
  • Yes, that's right, can you make sure port 123 UDP is opened on firewally for time sync with PDC.

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Monday, April 18, 2011 3:57 PM
    Moderator
  • After i added the Ntpserver registry key and set the value to my PDC's hostname, type is also NT5DS, but still fail, the source still show "Local CMOS Clock"

    C:\Users\administrator.MACAUSJM>w32tm /resync /rediscover
    Sending resync command to local computer
    The computer did not resync because no time data was available.

    C:\Users\administrator.MACAUSJM>w32tm /query /source
    Local CMOS Clock

    But if i change the type to NTP, then it seem work, i found the event id 37 in event view

    "The time provider NtpClient is currently receiving valid time data from xxxxxx.com (ntp.m|0x0|0.0.0.0:123->xx.xx.xx.xx:123)."


    johnson
    Monday, April 18, 2011 4:30 PM
  • You need to check port 123 UDP is opened for RODC to communicate to PDC for time sync. Can you post below results.

    w32tm /resync /nowait

    w32tm /dumpreg /subkey:parameters

    w32tm /monitor /domain:mydomain.com

    w32tm /resync /nowait /computer:computername

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

     

    Tuesday, April 19, 2011 6:57 AM
    Moderator
  • below is the result when i set the type the NTP

    C:\Users\administrator.mydomain>w32tm /resync /nowait
    Sending resync command to local computer
    The command completed successfully.

    C:\Users\administrator.mydomain>w32tm /dumpreg /subkey:parameters

    Value Name                 Value Type          Value Data
    ------------------------------------------------------------

    ServiceDllUnloadOnStop     REG_DWORD           1
    ServiceMain                REG_SZ              SvchostEntry_W32Time
    ServiceDll                 REG_EXPAND_SZ       C:\Windows\system32\w32time.DLL
    Type                       REG_SZ              NTP
    NtpServer                  REG_SZ              mydomain.com

    C:\Users\administrator.mydomain>w32tm /monitor /domain:mydomain.com
    pdc.mydomain.com *** PDC ***[xx.xx.xx.10:123]:
        ICMP: 2ms delay
        NTP: +0.0000000s offset from pdc.mydomain.com
            RefID: clock.mydomain.com [xx.xx.xx.38]
            Stratum: 12
    dc2.mydomain.com[xx.xx.xx.11:123]:
        ICMP: 2ms delay
        NTP: +0.0136599s offset from pdc.mydomain.com
            RefID: clock.mydomain.com [xx.xx.xx.38]
            Stratum: 12
    dc3.mydomain.com[xx.xx.xx.12:123]:
        ICMP: 2ms delay
        NTP: -0.0135526s offset from pdc.mydomain.com
            RefID: pdc.mydomain.com [xx.xx.xx.10]
            Stratum: 13
    rodc1.mydomain.com[xx.3.xx.10:123]:
        ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
        NTP: error ERROR_TIMEOUT - no response from server in 1000ms
    rodc2.mydomain.com[xx.4.xx.10:123]:
        ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
        NTP: error ERROR_TIMEOUT - no response from server in 1000ms
    rodc3.mydomain.com[[fe80::3882:b621:9cdb:e2ba%12]:123]:
        ICMP: 0ms delay
        NTP: +0.0148818s offset from pdc.mydomain.com
            RefID: dc3.mydomain.com [xx.xx.xx.12]
            Stratum: 14

    Warning:
    Reverse name resolution is best effort. It may not be
    correct since RefID field in time packets differs across
    NTP implementations and may not be using IP addresses.

    C:\Users\administrator.mydomain>w32tm /resync /nowait /computer:rodc3
    Sending resync command to rodc3...
    The command completed successfully.


    johnson
    Tuesday, April 19, 2011 7:56 AM
  • below is the result when the type set to NT5DS,

    C:\Users\administrator.mydomain>w32tm /resync /nowait
    Sending resync command to local computer
    The command completed successfully.

    C:\Users\administrator.mydomain>w32tm /dumpreg /subkey:parameters

    Value Name                 Value Type          Value Data
    ------------------------------------------------------------

    ServiceDllUnloadOnStop     REG_DWORD           1
    ServiceMain                REG_SZ              SvchostEntry_W32Time
    ServiceDll                 REG_EXPAND_SZ       C:\Windows\system32\w32time.DLL
    Type                       REG_SZ              NT5DS
    NtpServer                  REG_SZ              mydomain.com


    C:\Users\administrator.mydomain>w32tm /monitor /domain:mydomain.com
    pdc.mydomain.com *** PDC ***[xx.xx.xx.10:123]:
        ICMP: 10ms delay
        NTP: +0.0000000s offset from pdc.mydomain.com
            RefID: clock.mydomain.com [xx.xx.xx.38]
            Stratum: 12
    dc2.mydomain.com[xx.xx.xx.11:123]:
        ICMP: 10ms delay
        NTP: +0.0056578s offset from pdc.mydomain.com
            RefID: clock.mydomain.com [xx.xx.xx.38]
            Stratum: 12
    dc3.mydomain.com[xx.xx.xx.12:123]:
        ICMP: 10ms delay
        NTP: +0.0656854s offset from pdc.mydomain.com
            RefID: pdc.mydomain.com [xx.xx.xx.10]
            Stratum: 13
    rodc1.mydomain.com[xx.3.xx.10:123]:
        ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
        NTP: error ERROR_TIMEOUT - no response from server in 1000ms
    rodc2.mydomain.com[xx.4.xx.10:123]:
        ICMP: error IP_REQ_TIMED_OUT - no response in 1000ms
        NTP: error ERROR_TIMEOUT - no response from server in 1000ms
    rodc3.mydomain.com[[fe80::3882:b621:9cdb:e2ba%12]:123]:
        ICMP: 0ms delay
        NTP: +0.0570593s offset from pdc.mydomain.com
            RefID: (unspecified / unsynchronized) [0x00000000]
            Stratum: 0

    Warning:
    Reverse name resolution is best effort. It may not be
    correct since RefID field in time packets differs across
    NTP implementations and may not be using IP addresses.

    C:\Users\administrator.mydomain>w32tm /resync /nowait /computer:rodc3

    Sending resync command to rodc3...
    The command completed successfully.

    C:\Users\administrator.mydomain>/w32tm /query /status
    '/w32tm' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\administrator.mydomain>w32tm /query /status
    Leap Indicator: 3(last minute has 61 seconds)
    Stratum: 0 (unspecified)
    Precision: -6 (15.625ms per tick)
    Root Delay: 0.0000000s
    Root Dispersion: 0.0000000s
    ReferenceId: 0x00000000 (unspecified)
    Last Successful Sync Time: unspecified
    Source: Local CMOS Clock
    Poll Interval: 6 (64s)


    johnson
    Tuesday, April 19, 2011 8:06 AM
  • From w32tm /monitor /domain:mydomain.com & w32tm /dumpreg /subkey:parameters output, it shows me that it receives the time from PDC.

    Since, i got XP, so cmd w32tm /query /source doesn't work here.

    I guess you are good to go with this settings.

    If you stop & start time what event you get in the event viewer related to time.

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Tuesday, April 19, 2011 8:39 AM
    Moderator
  • If the type is set to NT5DS, there is an error id 129 shown after restart the time service, seems still not working, the error as below.

    NtpClient was unable to set a domain peer to use as a time source because of discovery error. NtpClient will try again in 3473457 minutes and double the reattempt interval thereafter. The error was: The entry is not found. (0x800706E1)


    johnson
    Tuesday, April 19, 2011 9:50 AM
  • I would suggest you need to verify the firewall & port are opened from network guys, the only option remaining is that only.

     

    Regards


    Awinish Vishwakarma| MY Blog

    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    Tuesday, April 19, 2011 9:58 AM
    Moderator
  • I am sure that the UDP 123 port is enable, because there are some other servers with same subnet can sync the time with my PDC, moreover, if i try to set the type to NTP and the NTPserver set to mydomain, the time sync will run normally, it is very strange. 
    johnson
    • Proposed as answer by Donny_Wright Monday, May 27, 2013 4:01 AM
    Tuesday, April 19, 2011 10:26 AM