Guide

Set the domain time source

The first domain controller holds the PDC emulator role. Every other computer in the domain sets its clock from it, so it must take its own time from the internet.

10 minutesRun as CONTOSO\Administrator on CON-DC-01
What improves

Every computer in the domain keeps the same, correct time.

Why it matters

Sign-in fails when clocks drift more than five minutes apart.

How you do it

Point the first domain controller at internet time servers and check it syncs.

Every name, address and value in this guide is an example. Replace them with your own.

Why time matters

Kerberos, the system that signs people in, refuses tickets when two clocks differ by more than five minutes. A drifting DC clock shows up as staff who cannot sign in and errors that mention trust or tickets.

Point it at internet time

CON-DC-01
w32tm /config /manualpeerlist:"uk.pool.ntp.org,0x8 time.windows.com,0x8" /syncfromflags:manual /reliable:yes /update
Restart-Service w32time
w32tm /resync /rediscover
PartMeaning
manualpeerlistThe time servers to ask, in order.
0x8Ask them in client mode, which public time servers expect.
reliable:yesTells the domain this server is a trustworthy time source.

Allow the time traffic

The firewall must let this server reach the internet on UDP 123. Block UDP 123 for pupil devices if you can; they take time from the DCs.

Check it

CON-DC-01
w32tm /query /status
w32tm /query /source
w32tm /stripchart /computer:uk.pool.ntp.org /samples:3 /dataonly

Done when

Check

The source shows uk.pool.ntp.org or time.windows.com, and the stripchart offsets are under one second. "Local CMOS Clock" or "VM IC Time Synchronization Provider" means it is not working yet; see Problems and fixes in the Create the first domain controller guide.

Your progress is kept in this browser only.