Windows server 2012 + 2016 two domain controllers in LAN without internet access. How to properly configure NTP server and client.

Eduard Martinenko 111 Reputation points
2021-08-04T10:11:16.787+00:00

We have two domain controllers
First one: windows server 2012 physical server. Let's name it the main domain controller; DC1
Second one: windows server 2016 virtual machine on a hyper-v host (which is not in the domain). DC2

The main problem is that we don't have internet access, so we have to manually adjust the time on the main server.
But now when I adjust time DC1, this doesn't apply to DC2.
Even if I type w32tm /resync command on DC2 - it says it has been completed successfully, but the time still stays the same.
How do I properly set the NTP server and clients, so if I change time on DC1 it gets synchronized with DC2 and all the clients?
What is the proper way to do that? Via GPOs?
Can you please share the settings for this installment?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-08-06T14:53:44.613+00:00

    Some general info

    on all but the PDC emulator

    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /syncfromflags:domhier /update
    net stop w32time
    net start w32time
    then check
    w32tm /query /source
    w32tm /query /configuration

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

    0 comments No comments

Your answer

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