Open the Registry and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time
Nearly all of the configuration will take place here
First setup the AnnounceFlag to tell the network you are a time server
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Edit AnnounceFlags
Edit Hexadecimal, Value = 5
(This value announces there is an NTP Time Server on the Network)
Now we need to configure the server values
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Edit Type
Edit Data, Value = NTP
(This value sets the Time Server type as NTP)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Edit Enabled
Edit DWORD Value =
(This value enables the NTP Server Function)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Edit NtpServer
Edit Data, Value = tick.usno.navy.mil, 0x9 pool.ntp.org, 0xa in the Value data box, and then click OK
(This value holds the NTP time servers, the Hex value before the server name determine which is the primary and if the server should use the special pol interval along with a host of other options. Options are combined by adding them together, i.e 0x08 Client + 0x01 SpecialInterval = 0x9 or 0x08 Client + 0x02 UseAsFallbackOnly = 0xa)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
Edit SpecialPollInterval
Edit DWORD Change to Decimal, Value =
00(This value determines how often Windows will update the time from the time server, Default is 15 minutes. I use 5 minutes)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Edit MaxPosPhaseCorrection
Edit DWORD Change to Decimal, Value = 72800
(This value determine how much time can pass before Windows can no longer correct the time, the default on 2008 R2 is 48 Hours)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Edit MaxNegPhaseCorrection
Edit DWORD Change to Decimal, Value = 72800
(This value determine how much time can pass before Windows can no longer correct the time, the default on 2008 R2 is 48 Hours)
Open a Command Prompt and type
net stop w32time && net start w32time
Now we need to edit the DHCP Server
Open DHCP Server and right click on Server Options
Add Server Type “
04 Time Server”
Add the Server IP Address of the Server you are editing to be the NTP Time Server
Open a Command Prompt on each workstation and type
net stop w32time && net start w32time
Or Run a Kaseya Script
Microsoft Guide to setup NTP Time Server
http://support.microsoft.com/kb/816042
—————————————————————————————————————————————————————-
If you want to manually set the clients to use the local server for time and not rely on DHCP to tell the clients to use the local server you can follow these steps in editing the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient
Edit Enabled
Edit DWORD Value =
(This value enables the NTP Client Function)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient
Edit SpecialPollInterval
Edit DWORD Change to Decimal, Value =
00(This value determines how often Windows will update the time from the time server, Default is 15 minutes. I use 5 minutes)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Edit Type
Edit Data, Value = NTP
(This value sets the Time Server type as NTP)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Edit NtpServer
Edit Data, Value = LOCAL SERVER IP ADDRESS, 0x01 in the Value data box, and then click OK
(This value holds the NTP time servers, Use the local server IP Address followed by ,0x01)
Resync the time with the following command
w32tm /resync /nowait
You can check a client’s configuration with the following commands
Check Source
w32tm /query /Computer:127.0.0.1 /Source
Check Configuration
w32tm /query /Computer:127.0.0.1 /Configuration
More Commands
http://technet.microsoft.com/en-us/library/cc773263(v=ws.10).aspx