Time does not sync.
Server is 2008 r2 it seems to not keep time and the network drifts due to this.
I have specified in the registry below 2 external time sources, see in the registry below bolded.
What am i missing to keep time?
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"DisplayName"="@%SystemRoot%\\system32\\w32time.dll,-200"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\
00,65,00,00,00
"Description"="@%SystemRoot%\\system32\\w32time.dll,-201"
"ObjectName"="NT AUTHORITY\\LocalService"
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000020
"ServiceSidType"=dword:00000001
"RequiredPrivileges"=hex(7):53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,\
00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,\
61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,\
00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,\
61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,\
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\
72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\
00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,79,00,73,00,74,00,65,00,6d,00,\
54,00,69,00,6d,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,\
00,00,00,00,00
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,60,ea,00,00,01,00,00,00,c0,d4,01,00,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]
"FrequencyCorrectRate"=dword:00000004
"PollAdjustFactor"=dword:00000005
"LargePhaseOffset"=dword:02faf080
"SpikeWatchPeriod"=dword:00000384
"LocalClockDispersion"=dword:0000000a
"HoldPeriod"=dword:00000005
"PhaseCorrectRate"=dword:00000007
"UpdateInterval"=dword:00000064
"EventLogFlags"=dword:00000002
"AnnounceFlags"=dword:00000005
"TimeJumpAuditOffset"=dword:00007080
"MinPollInterval"=dword:00000006
"MaxPollInterval"=dword:0000000a
"MaxNegPhaseCorrection"=dword:0002a300
"MaxPosPhaseCorrection"=dword:0002a300
"MaxAllowedPhaseOffset"=dword:0000012c
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,33,00,32,00,74,00,69,00,6d,00,65,00,2e,00,64,00,6c,00,6c,00,00,00
"ServiceMain"="SvchostEntry_W32Time"
"ServiceDllUnloadOnStop"=dword:00000001
"Type"="NTP"
"NtpServer"="24.56.178.140,0x01 198.60.73.8,0x01"
"LocalNTP"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]
"DllName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,\
00,33,00,32,00,74,00,69,00,6d,00,65,00,2e,00,64,00,6c,00,6c,00,00,00
"Enabled"=dword:00000001
"InputProvider"=dword:00000001
"AllowNonstandardModeCombinations"=dword:00000001
"CrossSiteSyncFlags"=dword:00000002
"ResolvePeerBackoffMinutes"=dword:0000000f
"ResolvePeerBackoffMaxTimes"=dword:00000007
"CompatibilityFlags"=dword:80000000
"EventLogFlags"=dword:00000001
"LargeSampleSkew"=dword:00000003
"SpecialPollInterval"=dword:00000e10
"SpecialPollTimeRemaining"=hex(7):00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer]
"DllName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,\
00,33,00,32,00,74,00,69,00,6d,00,65,00,2e,00,64,00,6c,00,6c,00,00,00
"Enabled"=dword:00000001
"InputProvider"=dword:00000000
"AllowNonstandardModeCombinations"=dword:00000001
"EventLogFlags"=dword:00000000
"ChainEntryTimeout"=dword:00000010
"ChainMaxEntries"=dword:00000080
"ChainMaxHostEntries"=dword:00000004
"ChainDisable"=dword:00000000
"ChainLoggingRate"=dword:0000001e
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Enum]
"0"="Root\\LEGACY_W32TIME\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
C:\>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Policy)
AnnounceFlags: 10 (Policy)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 6 (Policy)
MaxPollInterval: 10 (Policy)
MaxNegPhaseCorrection: 172800 (Policy)
MaxPosPhaseCorrection: 172800 (Policy)
MaxAllowedPhaseOffset: 300 (Policy)
FrequencyCorrectRate: 4 (Policy)
PollAdjustFactor: 5 (Policy)
LargePhaseOffset: 50000000 (Policy)
SpikeWatchPeriod: 900 (Policy)
LocalClockDispersion: 10 (Policy)
HoldPeriod: 5 (Policy)
PhaseCorrectRate: 1 (Policy)
UpdateInterval: 100 (Policy)
[TimeProviders]
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Policy)
InputProvider: 1 (Local)
June 8th, 2011 11:02pm
Hello,
is this in a domain and this is the PDCEmulator?
Are this physical machines or virtual? If the latter are the integration tools or VMware tools or other set to NOT sync the time with the host machine?Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
June 9th, 2011 10:03am
It is a Physical box and is DC holding all fsmo roles for the time being.
June 9th, 2011 6:30pm
Hello,
well, i never use the registry for time configuration since 10 years, only if special settings must be made.
In your case with problems i suggest that you start from scratch using the w32tm command line tool only. Therefore run the following commands:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
Now go on with:
w32tm /config /manualpeerlist:PEERS /syncfromflags:manual /reliable:yes /update
Please set for PEERS the time source as listed above, either with it’s ip address or DNS name. If more then one is needed separate them with a space in between and don't forget the quotes: "time.domain.com time1.domain.com"
Internet Time servers you can find here:
http://www.pool.ntp.org/
More details in:
http://msmvps.com/blogs/mweber/archive/2010/06/27/time-configuration-in-a-windows-domain.aspxBest regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
June 9th, 2011 11:34pm
Meinolf,
My time seems like it is working somewhat but drifting. right now it is about 30 seconds slow after a reset 5 days earlier, PC's are getting time from the server, the
server is drifting however!
Your syntax corrected would be
w32tm /config /manualpeerlist:"24.56.178.140,0x01 198.60.73.8,0x01"/syncfromflags:manual /reliable:yes /update
Is this correct?
What would cause the drift in synchronization?
Here is a great link for Time in the US,
http://tf.nist.gov/tf-cgi/servers.cgi It also give status of them.
What would be a better time sync, one of the nist.gov sites or one of the ntp.org sites 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org
3.north-america.pool.ntp.org?
If I run w32tm /monitor
I:\>w32tm /monitor
Data2.HDH.local *** PDC ***[[2002:aae5:b0a::aae5:b0a]:123]:
ICMP: 0ms delay
NTP: +0.0000000s offset from Data2.HDH.local
RefID: 'LOCL' [0x4C434F4C]
Stratum: 1
DCSERVER.HDH.local[170.229.11.2:123]:
ICMP: 0ms delay
NTP: +153.7736250s offset from Data2.HDH.local
RefID: (unspecified / unsynchronized) [0x00000000]
Stratum: 0
w32tm /resync
Sending resync command to local computer
The computer did not resync because no time data was available.
Also my issue looks a lot like this!
http://social.technet.microsoft.com/Forums/pl-PL/winservergen/thread/0636cf0a-f1ff-441f-b2c6-68b2a13dfe11
June 24th, 2011 10:07pm
Meinolf,
I did this as you suggested and nothing has changed.
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /config /manualpeerlist:0.north-america.pool.ntp.org,0x01 1.north-america.pool.ntp.org,0x01 2.north-america.pool.ntp.org,0x01/syncfromflags:manual
/reliable:yes /update
I ran this.....
w32tm /resync /rediscover
Sending resync command to local computer
The computer did not resync because no time data was available.
w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 1 (primary reference - syncd by radio clock)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0000000s
Root Dispersion: 10.0000000s
ReferenceId: 0x4C4F434C (source name:
"LOCL")
Last Successful Sync Time: 6/27/2011 9:35:18 AM
Source: Free-running System Clock
Poll Interval: 6 (64s)
I have also tried this below and it didn't work.
Configuring the Windows Time service to use an external time source
http://support.microsoft.com/kb/816042 and
ran the fixit for me without any improved timekeeping.
and this.....
w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Policy)
AnnounceFlags: 10 (Policy)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 6 (Policy)
MaxPollInterval: 10 (Policy)
MaxNegPhaseCorrection: 172800 (Policy)
MaxPosPhaseCorrection: 172800 (Policy)
MaxAllowedPhaseOffset: 300 (Policy)
FrequencyCorrectRate: 4 (Policy)
PollAdjustFactor: 5 (Policy)
LargePhaseOffset: 50000000 (Policy)
SpikeWatchPeriod: 900 (Policy)
LocalClockDispersion: 10 (Policy)
HoldPeriod: 5 (Policy)
PhaseCorrectRate: 1 (Policy)
UpdateInterval: 100 (Policy)
[TimeProviders]
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
NtpClient (Local)
DllName: C:\Windows\system32\time.dll (Local)
Enabled: 0 (Policy)
InputProvider: 1 (Local)
Also tried the Atomic Clock Sync...
http://www.worldtimeserver.com/atomic-clock/
Could a group policy be overriding time since nothing else seems to work when making changes to the registry?
I have removed the time settings in the default domain controllers policy , there are no time settings in the GP.
On PDC
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config, and verify that the value of
AnnounceFlags is 5. Expand TimeProviders key, click NtpServer, and then ensure that the value of
Enabled is 1.
On the second DC
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config, and verify that the value of
AnnounceFlags is 0x0000000a (10). Click Parameters under the w32time key, and verify that the value of
Type is NT5DS. Expand TimeProviders key, click NtpClient, and then ensure that the value of
Enabled is 1.
After that, restart the W32time service on both DCs, run w32time /resync /rediscover on the second DC and check the result.
w32tm /resync /rediscover
Sending resync command to local computer
The computer did not resync because no time data was available.
w32tm /query /source
Local CMOS Clock
Still no joy, what am I missing?
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2011 8:23pm