none
windows server2012 R2 Standard 时间自动往后跳8或者16个小时 RRS feed

  • 问题

  • 新安装的系统,不定时会出现时间改变情况,也参考过之前论坛上一些做法,开了w32time的Debug,抓取了一些日志,烦请帮忙分析。因字数限制及认证问题,没办法上传图片,w32time.log内容如下:

    152567 02:07:58.4638839s - ---------- Log File Opened -----------------
    152567 02:07:58.4638839s - CurSpc:15625000ns  BaseSpc:15625000ns  SyncToCmos:Yes
    152567 02:07:58.4638839s - PerfFreq:2143270c/s
    152567 02:07:58.4638839s - ReadConfig: Found provider 'NtpClient':
    152567 02:07:58.4638839s - ReadConfig:   'Enabled'=0x00000001
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'InputProvider'=0x00000001
    152567 02:07:58.4638839s - ReadConfig:   'RunOnVirtualOnly'=0x00000000
    152567 02:07:58.4638839s - ReadConfig: Found provider 'NtpServer':
    152567 02:07:58.4638839s - ReadConfig:   'Enabled'=0x00000000
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - ReadConfig:   'InputProvider'=0x00000000
    152567 02:07:58.4638839s - ReadConfig:   'RunOnVirtualOnly'=0x00000000
    152567 02:07:58.4638839s - ReadConfig: Found provider 'VMICTimeProvider':
    152567 02:07:58.4638839s - ReadConfig:   'Enabled'=0x00000001
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\System32\vmictimeprovider.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\System32\vmictimeprovider.dll'
    152567 02:07:58.4638839s - ReadConfig:   'DllName'='C:\Windows\System32\vmictimeprovider.dll'
    152567 02:07:58.4638839s - ReadConfig:   'InputProvider'=0x00000001
    152567 02:07:58.4638839s - ReadConfig:   'RunOnVirtualOnly'=0x00000001
    152567 02:07:58.4638839s - ReadConfig:  not running on a VM - overriding 'Enabled' setting to 0 (FALSE) for provider VMICTimeProvider
    152567 02:07:58.4638839s - ReadConfig: 'PhaseCorrectRate'=0x00000001 (2)
    152567 02:07:58.4638839s - ReadConfig: 'UpdateInterval'=0x00057E40 (2)
    152567 02:07:58.4638839s - ReadConfig: 'FrequencyCorrectRate'=0x00000004 (2)
    152567 02:07:58.4638839s - ReadConfig: 'PollAdjustFactor'=0x00000005 (2)
    152567 02:07:58.4638839s - ReadConfig: 'LargePhaseOffset'=0x02FAF080 (2)
    152567 02:07:58.4638839s - ReadConfig: 'SpikeWatchPeriod'=0x00000384 (2)
    152567 02:07:58.4638839s - ReadConfig: 'HoldPeriod'=0x00000005 (2)
    152567 02:07:58.4638839s - ReadConfig: 'MinPollInterval'=0x0000000A (2)
    152567 02:07:58.4638839s - ReadConfig: 'MaxPollInterval'=0x0000000F (2)
    152567 02:07:58.4638839s - ReadConfig: 'AnnounceFlags'=0x0000000A (2)
    152567 02:07:58.4638839s - ReadConfig: 'LocalClockDispersion'=0x0000000A (2)
    152567 02:07:58.4638839s - ReadConfig: 'MaxNegPhaseCorrection'=0x0000D2F0 (2)
    152567 02:07:58.4638839s - ReadConfig: 'MaxPosPhaseCorrection'=0x0000D2F0 (2)
    152567 02:07:58.4638839s - ReadConfig: 'EventLogFlags'=0x00000002 (2)
    152567 02:07:58.4638839s - ReadConfig: 'MaxAllowedPhaseOffset'=0x00000001 (2)
    152567 02:07:58.4638839s - ReadConfig: 'TimeJumpAuditOffset'=0x00007080 (2)
    152567 02:07:58.4638839s - lastClockRate=156250, clockPrecision=-6
    152567 02:07:58.4638839s - SetTimeSlipNotification succeeds with 0x00000000.
    152567 02:07:58.4638839s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
    152567 02:07:58.4638839s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
    152567 02:07:58.4638839s -   DomainHierarchy: LSA role change notification. Redetecting.
    152567 02:07:58.4638839s - ClockDisciplineThread: Starting: SetUnsync: LI:3 S:0 RDl:0 RDs:0 TSF:0x0
    152567 02:07:58.4638839s - Starting Providers.
    152567 02:07:58.4638839s - Starting 'NtpClient', dll:'C:\Windows\system32\w32time.dll'
    152567 02:07:58.4638839s - LoadLibrary
    152567 02:07:58.4638839s - NtpTimeProvOpen("NtpClient") called.
    152567 02:07:58.4638839s - StartNtpProv
    152567 02:07:58.4638839s - sysPrecision=-6, systmeClockResolution=156250
    152567 02:07:58.4638839s - NtpProvider: Created 2 sockets (0 listen-only): [::]:123<0x0>, 0.0.0.0:123<0x0>
    152567 02:07:58.4638839s - StartListeningThread completed!
    152567 02:07:58.4638839s - PeerPollingThread: waiting forever
    152567 02:07:58.4638839s - StartPeerPollingThread completed!
    152567 02:07:58.4638839s - ReadConfig: 'AllowNonstandardModeCombinations'=0x00000001 (2)
    152567 02:07:58.4638839s - ReadConfig: 'CompatibilityFlags'=0x80000000 (2)
    152567 02:07:58.4638839s - ReadConfig: 'SpecialPollInterval'=0x00093A80 (2)
    152567 02:07:58.4638839s - ReadConfig: 'ResolvePeerBackoffMinutes'=0x0000000F (2)
    152567 02:07:58.4638839s - ReadConfig: 'ResolvePeerBackoffMaxTimes'=0x00000007 (2)
    152567 02:07:58.4638839s - ReadConfig: 'EventLogFlags'=0x00000001 (2)
    152567 02:07:58.4638839s - ReadConfig: 'LargeSampleSkew'=0x00000003 (2)
    152567 02:07:58.4638839s - ReadConfig: 'SignatureAuthAllowed'=0x00000001 (2)
    152567 02:07:58.4638839s - ReadConfig: 'Type'=NTP (2)
    152567 02:07:58.4638839s - ReadConfig: 'NtpServer'=time.windows.com,0x9 (2)
    152567 02:07:58.4638839s - ReadConfig: 'ManualPeerList'(parsed)='time.windows.com,0x9'
    152567 02:07:58.4638839s - AddNewPendingPeer: manual
    152567 02:07:58.4638839s - StartListeningThread completed!
    152567 02:07:58.4638839s - PeerPollingThread: waiting 0.000s
    152567 02:07:58.4638839s - StartPeerPollingThread completed!
    152567 02:07:58.4638839s - NtpClient started.
    152567 02:07:58.4638839s - Successfully started 1 providers.
    152567 02:07:58.4638839s - PeerPollingThread: PeerListUpdated
    152567 02:07:58.4638839s - PeerPollingThread: WaitTimeout
    152567 02:07:58.4638839s - Resolving manual peer: time.windows.com,0x9
    152567 02:07:58.4638839s - PeerPollingThread: waiting forever
    152567 02:07:58.4638839s - W32TmServiceMain: waiting i16.000s (1024.000s)
    152567 02:07:58.4638839s - W32TmServiceMain: Network Topology Change
    152567 02:07:58.4638839s - TimeProvCommand([NtpClient], TPC_NetTopoChange) called.
    152567 02:07:58.4638839s - W32TmServiceMain: Network Topology Change
    152567 02:07:58.4638839s - TimeProvCommand([NtpClient], TPC_NetTopoChange) called.
    152567 02:07:58.4795002s - Association: (Local) 0.0.0.0:123 => 52.163.118.68:123 (Remote)
    152567 02:07:58.4795002s - Created reachability group: (
    152567 02:07:58.4795002s - 52.163.118.68:123,
    152567 02:07:58.4795002s - )
    152567 02:07:58.4795002s - PeerPollingThread: waiting 0.000s
    152567 02:07:58.4795002s - PeerPollingThread: WaitTimeout
    152567 02:07:58.4795002s - Reachability: Attempting to contact peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).
    152567 02:07:58.4795002s - Polling peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123)
    152567 02:07:58.4795002s - Sending packet to time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123) in Win2K detect mode, stage 1.
    152567 02:07:58.4795002s - Peer poll: Max:604800.0000000s (special) Cur:00.0000000s
    152567 02:07:58.4795002s - PeerPollingThread: waiting 604800.000s
    152567 02:07:58.4795002s - NtpProvider: Network Topology Change
    152567 02:07:58.4795002s - Reachability:  removing peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).  LAST PEER IN GROUP!
    152567 02:07:58.4795002s -   Peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123) never sync'd, resync now!
    152567 02:07:58.4795002s -   Peers reset: p-p:0 a-p:1 a-x:0
    152567 02:07:58.4795002s - NtpProvider: Created 2 sockets (0 listen-only): [::]:123<0x0>, 0.0.0.0:123<0x0>
    152567 02:07:58.4795002s - StartListeningThread completed!
    152567 02:07:58.4795002s - PeerPollingThread: waiting 1.500s
    152567 02:07:58.4795002s - StartPeerPollingThread completed!
    152567 02:07:58.4795002s - W32TmServiceMain: waiting i16.000s (1024.000s)
    152567 02:07:58.4795002s - PeerPollingThread: PeerListUpdated
    152567 02:07:58.4795002s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
    152567 02:07:58.4795002s - Logging error: NtpClient has been configured to acquire time from one or more time sources, however none of the sources are currently accessible and no attempt to contact a source will be made for 1 minutes. NTPCLIENT HAS NO SOURCE OF ACCURATE TIME.
    152567 02:07:58.4795002s - PeerPollingThread: waiting 1.500s
    152567 02:07:58.4795002s - NtpProvider: Network Topology Change
    152567 02:07:58.4795002s -   Peer  never sync'd, resync now!
    152567 02:07:58.4795002s -   Peers reset: p-p:1 a-p:1 a-x:0
    152567 02:07:58.4795002s - NtpProvider: Created 2 sockets (0 listen-only): [::]:123<0x0>, 0.0.0.0:123<0x0>
    152567 02:07:58.4795002s - StartListeningThread completed!
    152567 02:07:58.4795002s - PeerPollingThread: waiting 1.500s
    152567 02:07:58.4795002s - StartPeerPollingThread completed!
    152567 02:07:58.4795002s - W32TmServiceMain: waiting i16.000s (1024.000s)
    152567 02:07:58.4795002s - W32TmServiceMain: RequestNetTopoChangeNotification Succeed
    152567 02:07:58.4795002s - PeerPollingThread: PeerListUpdated
    152567 02:07:58.4795002s - Logging error: NtpClient has been configured to acquire time from one or more time sources, however none of the sources are currently accessible and no attempt to contact a source will be made for 1 minutes. NTPCLIENT HAS NO SOURCE OF ACCURATE TIME.
    152567 02:07:58.4795002s - PeerPollingThread: waiting 1.500s
    152567 02:07:59.9795487s - PeerPollingThread: WaitTimeout
    152567 02:07:59.9795487s - Resolving manual peer: time.windows.com,0x9
    152567 02:07:59.9795487s - Association: (Local) 0.0.0.0:123 => 52.163.118.68:123 (Remote)
    152567 02:07:59.9795487s - Created reachability group: (
    152567 02:07:59.9795487s - 52.163.118.68:123,
    152567 02:07:59.9795487s - )
    152567 02:07:59.9795487s - PeerPollingThread: waiting 0.000s
    152567 02:07:59.9795487s - PeerPollingThread: PeerListUpdated
    152567 02:07:59.9795487s - Reachability: Attempting to contact peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).
    152567 02:07:59.9795487s - Polling peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123)
    152567 02:07:59.9795487s - PeerPollingThread: WaitTimeout
    152567 02:07:59.9795487s - Sending packet to time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123) in Win2K detect mode, stage 1.
    152567 02:07:59.9795487s - PeerPollingThread: waiting forever
    152567 02:07:59.9795487s - Peer poll: Max:604800.0000000s (special) Cur:00.0000000s
    152567 02:07:59.9795487s - PeerPollingThread: waiting 604800.000s
    152567 02:08:00.0264239s - ListeningThread -- DataAvailEvent set for socket 1 (0.0.0.0:123)
    152567 02:08:00.0264239s - ListeningThread -- response heard from 52.163.118.68:123 <- 10.1.2.88:123
    152567 02:08:00.0264239s - /-- NTP Packet:
    152567 02:08:00.0264239s - | LeapIndicator: 0 - no warning;  VersionNumber: 3;  Mode: 4 - Server;  LiVnMode: 0x1C
    152567 02:08:00.0264239s - | Stratum: 2 - secondary reference (syncd by (S)NTP)
    152567 02:08:00.0264239s - | Poll Interval: 17 - out of valid range;  Precision: -23 - 119.209ns per tick
    152567 02:08:00.0264239s - | RootDelay: 0x0000.3B0Ds - 0.230667s;  RootDispersion: 0x0007.CE30s - 7.80542s
    152567 02:08:00.0264239s - | ReferenceClockIdentifier: 0x81060F1E - source IP: 129.6.15.30
    152567 02:08:00.0264239s - | ReferenceTimestamp:   0xDF4C9BE8597DA115 - 13181824616349573200ns - 152567 09:56:56.3495732s
    152567 02:08:00.0264239s - | OriginateTimestamp:   0xDF4C2DFFFAC3B41F - 13181796479979548700ns - 152567 02:07:59.9795487s
    152567 02:08:00.0264239s - | ReceiveTimestamp:     0xDF4C9E80B564E55C - 13181825280708570800ns - 152567 10:08:00.7085708s
    152567 02:08:00.0264239s - | TransmitTimestamp:    0xDF4C9E80B56521C2 - 13181825280708574400ns - 152567 10:08:00.7085744s
    152567 02:08:00.0264239s - >-- Non-packet info:
    152567 02:08:00.0264239s - | DestinationTimestamp: 152567 02:08:00.0264239s - 0xDF4C2E0006C3B77A152567 02:08:00.0264239s -  - 13181796480026423900ns152567 02:08:00.0264239s -  - 152567 02:08:00.0264239s
    152567 02:08:00.0264239s - | RoundtripDelay: 46871600ns (0s)
    152567 02:08:00.0264239s - | LocalClockOffset: 28800705586300ns - 480:00.705586300s
    152567 02:08:00.0264239s - \--
    152567 02:08:00.0264239s - Peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123) is not Win2K. Setting compat flags.
    152567 02:08:00.0264239s - Peer poll: Max:604800.0000000s (special) Cur:604799.9531248s
    152567 02:08:00.0264239s - Response from peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123), ofs: +28800.7055863s
    152567 02:08:00.0264239s - 5 Age:5 Ofs:+00.0000000s Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s Pnt:00.0000020s Dst:16.0000020s FDsp:08.0000000s
    152567 02:08:00.0264239s - 4 Age:4 Ofs:+00.0000000s Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s Pnt:00.0000020s Dst:16.0000020s FDsp:12.0000000s
    152567 02:08:00.0264239s - 3 Age:3 Ofs:+00.0000000s Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s Pnt:00.0000020s Dst:16.0000020s FDsp:14.0000000s
    152567 02:08:00.0264239s - 2 Age:2 Ofs:+00.0000000s Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s Pnt:00.0000020s Dst:16.0000020s FDsp:15.0000000s
    152567 02:08:00.0264239s - 1 Age:1 Ofs:+00.0000000s Dly:+00.0000000s RDly:+00.0000000s Dsp:16.0000000s RDsp:00.0000000s Pnt:00.0000020s Dst:16.0000020s FDsp:15.5000000s
    152567 02:08:00.0264239s - 0 Age:0 Ofs:+28800.7055863s Dly:+00.0468716s RDly:+00.2306671s Dsp:00.0156256s RDsp:07.8054199s Pnt:00.0000000s Dst:00.0390614s FDsp:07.7500000s
    152567 02:08:00.0264239s - Reachability:  peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123) is reachable.
    152567 02:08:00.0264239s - Logging information: NtpClient is currently receiving valid time data from time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).
    152567 02:08:00.0264239s - W32TmServiceMain: resync req, irreg already pending.
    152567 02:08:00.0264239s - W32TmServiceMain: waiting i14.453s (1022.453s)
    152567 02:08:14.4901736s - W32TmServiceMain: timeout
    152567 02:08:14.4901736s - Sample Prepared at 131817964944901736 for peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123)
    152567 02:08:14.4901736s - NtpClient returned 1 samples.
    152567 02:08:14.4901736s - Sample 0 offset:+28800.7055863s delay:+00.2775387s dispersion:15.5712129s
    152567 02:08:14.4901736s - Intersection successful with 0 dropped samples.
    152567 02:08:14.4901736s -   0: Sample:0 SyncDist:477099822 SelectDisp:0
    152567 02:08:14.4901736s - Sample 0 chosen. Select Dispersion:00.0000000s STC:964722
    152567 02:08:14.4901736s - ClockDispln Update: SO:288007055863 KPhO:0 *PhO:288007055863 uT:100 SD:77856064 LI:0 S:3 RDl:2775387 RDs:155812129 TSF:0x0 Unset->Hold
    152567 10:08:15.1939165s - ClockDispln Discipline: *SET*TIME* - PhCR:800019 KPho:288007055863
    152567 10:08:15.1939165s - ClockDispln Discipline: *SKEW*TIME* - PhCRR:0 CR:156250 PhCR:800019 UI:360000 phcT:1026 KPhO:0
    152567 10:08:15.1939165s - Logging information: The time service is now synchronizing the system time with the time source time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).
    152567 10:08:15.1939165s - TimeProvCommand([NtpClient], TPC_TimeJumped) called.
    152567 10:08:15.1939165s - W32TmServiceMain: ********** Time Slip Notification **********
    152567 10:08:15.1939165s - PeerPollingThread: PeerListUpdated
    152567 10:08:15.1939165s - PeerPollingThread: waiting 575984.786s
    152567 10:08:15.1939165s - ClockDispln TimeSlip: SetUnsync: LI:3 S:0 RDl:2775387 RDs:155812129 TSF:0x0 ReleaseClock2CMOS
    152567 10:08:15.1904376s - TimeProvCommand([NtpClient], TPC_TimeJumped) called.
    152567 10:08:15.1904376s - W32TmServiceMain: waiting i16.000s (1024.000s)
    152567 10:08:15.1904376s - PeerPollingThread: PeerListUpdated
    152567 10:08:15.1904376s - PeerPollingThread: waiting 575984.786s
    152567 10:08:15.1904376s - W32TmServiceMain: waiting 1024.000s
    152567 10:11:45.0611827s - RPC Caller is WINDOWS-3KQJ2OO\Administrator (S-1-5-21-3140632497-908174110-4176683075-500)
    152567 10:11:45.0611827s - RPC Call Attribute is local=1, kernel=0, session=0, authentication=6, protocol=3, OpNum=2
    152567 10:11:45.0611827s - RPC Call - Query provider status
    152567 10:11:45.0611827s - TimeProvCommand([NtpClient], TPC_Query) called.
    152567 10:11:45.0611827s - RPC Caller is WINDOWS-3KQJ2OO\Administrator (S-1-5-21-3140632497-908174110-4176683075-500)
    152567 10:11:45.0611827s - RPC Call Attribute is local=1, kernel=0, session=0, authentication=6, protocol=2, OpNum=6
    152567 10:11:45.0611827s - RPC Call - Query Status
    152567 10:11:46.2487149s - RPC Call - Query provider status
    152567 10:11:46.2487149s - TimeProvCommand([NtpClient], TPC_Query) called.
    152567 10:11:46.2487149s - RPC Call - Query Status
    152567 10:11:47.9831347s - W32TimeHandler called: SERVICE_CONTROL_STOP
    152567 10:11:47.9987282s - shutdown in service control handler, w/o restart service async152567 10:11:47.9987282s - NotifyShutdown: error = 0
    152567 10:11:47.9987282s - Service shutdown initiated with exit code: 0.
    152567 10:11:47.9987282s - ClockDisciplineThread: hShutDownEvent signaled. Exiting.
    152567 10:11:47.9957381s - RemoveProviderFromList: NtpClient
    152567 10:11:47.9957381s - Stopping 'NtpClient', dll:'C:\Windows\system32\w32time.dll'
    152567 10:11:47.9957381s - NtpTimeProvClose("0000000000000002") called.
    152567 10:11:47.9957381s - NtpTimeProvClose([NtpClient]) called.
    152567 10:11:47.9957381s - Reachability:  removing peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123).  LAST PEER IN GROUP!
    152567 10:11:47.9957381s - StartListeningThread completed!
    152567 10:11:47.9957381s - PeerPollingThread: waiting forever
    152567 10:11:47.9957381s - StartPeerPollingThread completed!
    152567 10:11:47.9957381s - StopNtpProv
    152567 10:11:47.9957381s - PeerPollingThread: PeerListUpdated
    152567 10:11:47.9957381s - PeerPollingThread: waiting forever

    2018年9月26日 2:34

全部回复

  • 您好,

    根据您的日志来看,win32time 所需的123端口已经开启。Time.windows.com的时间肯定是没有偏差的,那么问题就出在本地的server上。根据:

    152567 02:08:00.0264239s - Response from peer time.windows.com,0x9 (ntp.m|0x9|0.0.0.0:123->52.163.118.68:123), ofs: +28800.7055863s

    这条log表明servertime.windows.com上接收到时间信息后,自动偏移增加了28800秒,即8小时。所以我建议您查看本地server的时区问题。是否误操作将时区设置为其他区域。

    如果我的回答对您有帮助的话,请记得将答复标注为答案。

    Best Regards,

    Roger



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年9月26日 6:39
  • 时区这个肯定是设置了的,还特意去确认过,而且我记得我同步过时间,同步完成后是正常的,并没有像你说的产生偏移,但是过了一两个小时后就自动改变了,很是奇怪。
    2018年9月26日 7:23
  • 您好,

    我建议您可以在出现问题的server上输入以下命令来帮助我们更好的搜集问题。

    1.tzutil /g   显示当前时区

    2.w32tm /monitor /computers:time.windows.com,cn.ntp.org.cn  对比本地时间与NTP server的误差时间,其中time.windows.comcn.ntp.org.cn都是提供时间服务的server,您也可以搜索更多的server来进行对比。

    命令完成后,请将结果贴到本帖,我们将继续为您提供解决方案。

    如果我的回答对您有帮助的话,请记得将答复标注为答案。

    Best Regards,

    Roger


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年9月26日 8:59
  • 我也按照你说的进行命令了,你看下具体是什么问题

    C:\Users\Administrator>tzutil /g
    China Standard Time

    C:\Users\Administrator>w32tm /monitor /computers:time.windows.com,cn.ntp.org.cn
    time.windows.com[52.163.118.68:123]:
        ICMP: 错误 IP_REQ_TIMED_OUT - 没有响应 1000ms
        NTP: +28799.7844469s 本地时钟的偏移量
            RefID: (未知) [0x54418C33]
            层次: 3
    cn.ntp.org.cn[120.25.108.11:123]:
        ICMP: 22ms 延迟
        NTP: +28799.7897095s 本地时钟的偏移量
            RefID: (未知) [0x0735890A]
            层次: 2
    警告:
    遍历名称解析是最大努力。它可能不正确,
    因为时间数据包中的 RefID 字段在不同
    NTP 实施间不同,可能没有使用 IP 地址。
    C:\Users\Administrator>

    2018年9月28日 9:08
  • 您好,

    我建议您尝试重新配置w32time。

    请注意:修改注册表前,请提前备份相关参数以免造成不必要的影响。

    1.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type

    type设置为NTP。

    2.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags

    键值设为5。

    3.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer

    右侧窗口中enable设置为1。

    4.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

    右侧窗口中右击Ntpserver输入cn.ntp.org.cn,0x1。

    5.完成后关闭并重新开启w32tm 服务。

    如果仍未解决同步问题,希望您可以再次提供debug日志以及w32tm /monitor /computers:time.windows.com,cn.ntp.org.cn

    net time

    命令的运行结果,以帮助我们进一步分析。

    如果我的回答对您有帮助的话,请记得将答复标注为答案。


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2018年9月28日 15:43