top of page
Writer's pictureRadhakrishnan Govindan

How to configure an authoritative time server in Windows Server

In this article we see how to configure the Windows Time service and troubleshoot when the Windows Time service is not working correctly.

To check the PDC Server for Time Synchronization and to configure the PDC master server by using an internal hardware clock, follow these below steps: Open Registry on the PDC Role holder domain controller,

Note: Please do backup of the existing registry before modifying any settings.

Go the following path in the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags

Right-click Announce Flags, and then select Modify Change the type Value asand click on OK.


2

Close Registry console.

open the command prompt, type the following command to restart the Windows Time service, and then press Enter:

net stop w32time && net start w32time

Follow the below Steps to configure an internal time server to synchronize with an external time source:

Step 1:

Open the Registry on PDC Holder Domain Controller,

Go the below registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type

Right-click Type, and then select Modify.

Change the value as NTP to Enable NTPServer.

Step 2:

Select Start > Run, type regedit, and then select OK.

Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer

 Right-click Enabled, and then select Modify In Edit DWORD Value, type 1 in the Value data box, and then select OK.

Specifying  the time sources

Select Start > Run, type regedit, and then select OK.

Go to the below path in the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

 Right-click NtpServer, and then select Modify Type Peers in the Value data box, and then select OK.

Selecting the poll interval.

Select Start > Run, type regedit, and then select OK.

Go to the below path in the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval

 Right-click SpecialPollInterval, and then select Modify. Type TimeInSeconds in the Value data box, and then select OK.

Configuring the time correction settings:

Select Start > Run, type regedit, and then select OK.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrection

Right-click MaxPosPhaseCorrection, and then select Modify click to select  Decimal in the Base box Type TimeInSeconds in the Value data box, and then select OK.

Locate and click the following registry subkey

Select Start > Run,  type regedit, and then select OK.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxNegPhaseCorrection

Right Click on MaxNegPhaseCorrection, and then select Modify. Select Decimal in the Base box and type TimeInSeconds in the Value data box and then select OK.

7

Close Registry Editor.

At the command prompt, type the following command to restart the Windows Time service and enter,

net stop w32time && net start w32time

14 views0 comments

Recent Posts

See All
bottom of page