3. To reduce confusion in shared filesystems, it is important for the modification times to be consistent, regardless of what machine the filesystems are on.
In the pane on the right, right-click AnnounceFlags, and then click Modify. In Edit DWORD Value, type 5 in the Value data box, and then click OK.
In the pane on the right, right-click Enabled, and then click Modify .In Edit DWORD Value, type 1 in the Value data box, and then click OK.
peers: time.windows.com or time.nist.gov
net stop w32time & net start w32time
Make an exception in your firewall to allow UDP port number 123.
Now we have to tell the client computers to obtain the time from the NTP Server. The policy is applied via GPO. The procedure is as follows:
1. Locate the Group Policy Object : Computer configuration/ Policies/Administrative Templates/ System /Windows Time Services/ Time providers
2. Enable the below settings:
Configure Windows NTP Client (In our case, it is the IP of the PDC)
Enable Windows NTP Client
Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
In the right-pane, right-click AnnounceFlags, and then click Modify.
In Edit DWORD Value, type A in the Value data box, and then click OK.
Close Registry Editor.
At the command prompt, type the following command to restart the Windows Time service:
net stop w32time && net start w32time
By accomplishing the above tasks you can configure an NTP server in your domain.
For more information about NTP you can visit : http://www.ntp.org/