NTP Sync Issue

Hammoudeh 346 Reputation points
2021-04-16T12:16:04.193+00:00

Hello all,

I have 2 DCs "2019" i configured the primary DC "holding PDC" as NTP server by running the following commands:

w32tm /config /manualpeerlist:dc1.com,0x8 /syncfromflags:manual /reliable:yes /update

Then i run: The command completed successfully.

C:\Users\Administrator>w32tm /resync /rediscover
Sending resync command to local computer
The command completed successfully.

C:\Users\Administrator>net stop w32time && net start w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.

The Windows Time service is starting.
The Windows Time service was started successfully.

Then i run: w32tm /query /source
dc1.com.local,0x8

C:\Users\Administrator>w32tm /query /configuration
[Configuration]

EventLogFlags: 2 (Local)
AnnounceFlags: 5 (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)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 1024 (Local)
Type: NTP (Local)
NtpServer: dc1.com,0x8 (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)

The issue is not all servers getting the time from dc1 "NTP server". for example:

88633-image.png

What else can i do to fix this issue.

Thank you

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,187 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,617 questions
{count} votes

Accepted answer
  1. Hammoudeh 346 Reputation points
    2021-04-21T09:55:03.847+00:00

    Did not work unfortunately. it keeps taking server battery. It worked after i applied the solution on the following article:

    https://theitbros.com/configure-ntp-time-sync-group-policy/

    it worked only via group policy NOT CMD by adding :

    us.pool.ntp.org,0x1 1.us.pool.ntp.org,0x1 2.us.pool.ntp.org,0x1 3.us.pool.ntp.org,0x1;

    89847-image.png

    89932-image.png

    then followed mentioned steps on the article.

    Thank you

    0 comments No comments

12 additional answers

Sort by: Most helpful
  1. Hammoudeh 346 Reputation points
    2021-04-16T12:18:32.777+00:00

    All our server are VMs "including DCs"

    0 comments No comments

  2. Anonymous
    2021-04-16T13:13:22.177+00:00

    Seems a little odd pointing the PDC emulator to another domain controller (dc1)? In this case using NT5DS may be more apropriate.

    Some general info

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  3. Hammoudeh 346 Reputation points
    2021-04-16T14:07:03.717+00:00

    DC1 is the primary domain controller "PDC". some servers pointing to it, others not

    0 comments No comments

  4. Anonymous
    2021-04-16T14:11:23.543+00:00

    Then I guess it sounds like you're trying to point the "PDC" to itself? Generally you'll want the PDC emulator to point to an external NTP source.
    https://tf.nist.gov/tf-cgi/servers.cgi

    https://blogs.technet.microsoft.com/nepapfe/2013/03/01/its-simple-time-configuration-in-active-directory/

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

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.