How to Configure an Authoritative Time Server in Windows Server 2008

Time synchronization in modern computer networks is important for all computers need to know the time as many applications is to send an email to store information depends on the PC knowing when the event took place.

Microsoft Windows Server 2000 onwards has a time synchronization utility is built into the operating system called Windows Time (w32time.exe) which can be configured to function as a network time server.

Windows Server 2008 can easily set the system clock to use UTC (Coordinated Universal Time, the world time standard) by opening an Internet source (either: time.windows.com, or time.nist.gov).

To achieve this, a user simply double clicks the clock on their desktop and adjust the settings in Internet Time tab.

It should be noted that Microsoft and other operating system manufacturers strongly advise that external timing references should be used as Internet sources can not be approved.

If you want to configure Windows Time service to use an external time source, click Start, Run and type regedit then click OK.

Locate the following subkey:

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

In the right pane, right-click Type then click Modify in edit Value type NTP in the Value data box then click OK.

Locate the following subkey:

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

In the right pane, right-click AnnounceFlags and click Edit. The 'AnnounceFlags' registry entry indicates whether the server is a trusted time reference, 5 indicates a trusted source, so in the Edit DWORD Value box, under Value Data, type 5, and then click OK.

Network Time Protocol (NTP) is an Internet protocol used to transfer precise time providing time information along so that a precise time can be obtained

To enable the Network Time Protocol; NTPServer, locate and click:

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

In the right pane, right-click Enabled, and then click Modify.

In the Edit DWORD Value OK type 1 under Value data, and then click.

Now go back and click

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ Parameters \ NtpServer

In the right pane, right-click NtpServer, then click Edit in the Edit DWORD Value under Value Data in the right pane, right-click NtpServer, then click Edit in the Edit DWORD Value under Value Data type the Domain Name System (DNS), each DNS must be unique, and you must enclose the 0x1 at the end of each DNS name otherwise changes will not take effect.

Now click Ok.

Locate and click on the following

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ TimeProviders \ NtpClient \ Special Poll Interval

In the right pane, right-Special Poll Interval, and then click Edit.

In the Edit DWORD Value box, look under Value data, type the number of seconds, for each poll, ie 900 will poll every 15 minutes, and then click OK.

To configure the time correction will find:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ config

In the right pane, right-click MaxPosPhaseCorrection, then click Edit in the Edit DWORD Value under Value Data, click Decimal, under Value Data, type a time in seconds by 3600 (one hour) and then click OK.

Now go back and click:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ config

In the right pane, right-click MaxNegPhaseCorrection, then click Edit.

In the Edit DWORD box under base, click Decimal under Value Data time in seconds that you want to poll as 3600 (polls in one hour)

Exit Registry Editor

Now, restart the Windows Time service, click Start, click Run (or alternatively use the command prompt facility) and type:

net stop w32time & & net start w32time

And it is your time server should now be up and running.