Windows Server 2022 – How to Sync Time from External Time Source?

This is a quick post showing how you can sync your domain controllers with an external time source like time.windows.com or ntp.pool.org. By default, all machines in the domain will sync time from the domain controller which is the internal time server. If you have more than one DC then time will sync from the DC that holds the PDC emulator FSMO role. To check which DC is the PDC emulator in your domain you need to run:

command in PowerShell like so:

Once the PDC emulator role is established there are a few commands we need to run in order for time to sync. These are (run on the PDC emulator in PowerShell):

If you need to add more than one NTP server then the peer list entries are space delimited like so:

Once completed, the Windows time service should begin synchronizing time on the domain controller(s) with an external source. To view the time configuration you can use:

command. In my case, my time was not synced with the external time server on the left screenshot and after I made the changes on the right screenshot:

all was set to sync from time.windows.com. From a workstation point of view to configure a client computer for automatic domain time synchronisation:

and to check if it’s syncing:

and to re-sync:

NTP port 123 needs to be open between clients and the PDC emulator as well as the PDC emulator and the internet. /stripchart switch of w32tm command is very handy for connectivity tests:

If there’re any errors then these will be written to Event Viewer – please check if you’re having issues.

Comments, questions and concerns? Please leave them below!

One thought on “Windows Server 2022 – How to Sync Time from External Time Source?

  1. John

    So i did this – and time is syncing perfectly.
    Annnnnd – it broke my server with a slew of errors from : Schanel, DNS, hell, even the IP’s changed on my LACP group. It appears the PDC Emulator demoted everything.
    Any idea how to reverse this?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.