NTP Server Setup
1. determine that two hosts are in the same network segment and can ping each other
2. Click start , click run , type regedit, and then click " Determine " .
3. Locate and click the following registry subkey:Hkey_local_machine\system\currentcontrolset\services\w32time\parameters\type
4. in the right pane, right-click the Type, and then click Modify .
5. " edit value " " numeric data " NTP, " OK ".
6. Modify the keys of the following options hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserver Span style= "COLOR: #444444" in " enabled " set to 1, open NTP server functionality.
7. modify the following key values hkey_local_machine\system\currentcontrolset\services\w32time\config\announceflags set to 5, This setting forces the host to announce itself as a reliable time source, thereby using the built-in complementary metal oxide semiconductor (CMOS) clocks. This setting forces the host to declare itself as a reliable time source, thereby applying the built-in complementary metal oxide semiconductor (CMOS) clock. If you want to use the outside time server will use the default a value can.
8. start the Remote Access Connection Manager service
9. Restart the win32time service by executing the following command on the dos command line to ensure that the above modifications work
Ten. net stop W32Time
One. net start W32Time
NTP Client Configuration
1. Click Time to change the time and date settings
2. Click Internet time
3. Click Change Settings
4. Enter the configured server IP address
5. Click Update Now
6. Click OK to update
7. When you are finished, to update with code
8. Update with sc start w32time and w32tm/resync
Windows NTP Server Setup