Window server 2016 date-time out of sync to year 2169

RejithRaj 0 Reputation points
2023-02-13T05:20:13.5033333+00:00

Hi All,
We have an AWS EC2 Instance with Version 1607 OS Build: 14393.5648. We had an incident where the server time was auto adjusted to year 2169. Further to which the time sync stopped working and the connection was lost to the domain controller (event log indicates ID 24

Time Provider NtpClient: No valid response has been received from domain controller WIN-XXXX.bxxxx.local after 8 attempts to contact it. This domain controller will be discarded as a time source and NtpClient will attempt to discover a new domain controller from which to synchronize. The error was: The peer is unreachable.).

User's image

User's image

User's image

The server uses Amazon Time Sync Service is available through NTP at the 169.254.169.123 (As instance does not require access to the internet, and do not have to configure security group rules or network ACL rules to allow access.) and the domain controllers (AWS managed) use the same IP address for time sync using GPO.

No other servers on the domain were impacted during the time (AD is single forest with single domain)

  1. How can we understand what caused the issue of server date change? as per the event log, we cannot identify.
  2. How can we prevent it?

More Details:

C:\Windows\system32>w32tm /dumpreg

Value Name Value Type Value Data


Start REG_DWORD 2

DisplayName REG_SZ @%SystemRoot%\system32\w32time.dll,-200

ErrorControl REG_DWORD 1

ImagePath REG_EXPAND_SZ %SystemRoot%\system32\svchost.exe -k LocalService

Type REG_DWORD 32

Description REG_SZ @%SystemRoot%\system32\w32time.dll,-201

ObjectName REG_SZ NT AUTHORITY\LocalService

ServiceSidType REG_DWORD 1

RequiredPrivileges REG_MULTI_SZ SeAuditPrivilege, SeChangeNotifyPrivilege, SeCreateGlobalPrivilege, SeSystemTimePrivilege

FailureActions REG_BINARY 80510100000000000000000003000000140000000100000060EA000001000000C0D401000000000000000000

C:\Windows\system32>w32tm /query /status

Leap Indicator: 0(no warning)

Stratum: 4 (secondary reference - syncd by (S)NTP)

Precision: -6 (15.625ms per tick)

Root Delay: 0.0005382s

Root Dispersion: 7.7667947s

ReferenceId: 0xA9FEA97B (source IP: 169.254.169.123)

Last Successful Sync Time: 2/13/2023 3:07:22 AM

Source: 169.254.169.123,0x9

Poll Interval: 6 (64s)

C:\Windows\system32>w32tm /query /configuration

[Configuration]

EventLogFlags: 2 (Local)

AnnounceFlags: 10 (Local)

TimeJumpAuditOffset: 28800 (Local)

MinPollInterval: 6 (Local)

MaxPollInterval: 10 (Local)

MaxNegPhaseCorrection: 4294967295 (Local)

MaxPosPhaseCorrection: 4294967295 (Local)

MaxAllowedPhaseOffset: 300 (Local)

FrequencyCorrectRate: 4 (Local)

PollAdjustFactor: 5 (Local)

LargePhaseOffset: 50000000 (Local)

SpikeWatchPeriod: 900 (Local)

LocalClockDispersion: 10 (Local)

HoldPeriod: 5 (Local)

PhaseCorrectRate: 1 (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: AllSync (Local)

NtpServer: 169.254.169.123,0x9 time.windows.com,0x8 (Local)

VMICTimeProvider (Local)

DllName: C:\Windows\System32\vmictimeprovider.dll (Local)

Enabled: 1 (Local)

InputProvider: 1 (Local)

NtpServer (Local)

DllName: C:\Windows\system32\w32time.dll (Local)

Enabled: 0 (Local)

InputProvider: 0 (Local)

User's image

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,512 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,134 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,346 Reputation points
    2023-02-13T17:13:48.9633333+00:00

    Hello there,

    Have you done any recent in-place updates?

    This article describes an issue in which Windows Time service settings are disabled in the registry after you upgrade to Windows Server 2016 or Windows 10 Version 1607. Windows Time Service settings aren't preserved during an in-place upgrade to Windows Server 2016 or Windows 10 Version 1607 https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/windows-time-service-values-reverted

    Similar discussion here https://learn.microsoft.com/en-us/answers/questions/294850/window-server-time-2016-out-of-sync-on-particular

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.