Istanbul/Turkey

How To Set External NTP For Domain Controller (PDC Emulator Role Owner)

First make sure Time Zone is set correctly on your Domain Controller.

 

Lets first start by displaying the current source for the time by running the below command. Result is Local CMOS Clock. When we finish the configuration, this will be the address we specified for ntp source.

w32tm /query /source

 

 

Start cmd as administrator

net stop w32time

w32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org

w32tm /config /reliable:yes

net start w32time

 

Query the Configuration and see the settings.

w32tm /query /configuration

 

 

Run Regedit.exe, go to branch  

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider and change the value for the Enabled parameter to 0.

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\ SpecialPollInterval   Set this to 900 

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxNegPhaseCorrection Set this to 0xFFFFFFFF by entering FFFFFFFF

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrectionSet this to 0xFFFFFFFF by entering FFFFFFFF

 

Then run the following commands

net stop w32time

net start w32time

w32tm /resync /force

 

Let's see the source for NTP by running this command

w32tm /query /source

 

If you have any other domain controllers in your environment, run the following command on these domain controllers and you are done.

w32tm/config /syncfromflags:DOMHIER /update 

  • Hits: 6225