NTP is the Network Time Protocol (PROTOCOL), which is the protocol used to synchronize the time of each computer in the network. Its purpose is to synchronize the computer clock to the World coordinated UTC, its accuracy in the LAN up to 0.1ms, in most places on the Internet its accuracy can reach 1-50ms. To ensure that devices within the same network remain consistent, deploy an NTP server as a clock source and all network devices to the NTP server. The NTP service is built on the win server 2012 server as follows:
1. Open the Run window, enter the regedit command and click OK to enter the registration form.
2. Open the registry and enter the directory:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters, change the type setpoint to "NTP".
3. Enter the following directory:
Hkey_local_machine\system\currentcontrolset\services\w32time\config " , change the announceflags to a setting value of 5.
4. Enter the following directory:
Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpserver , put the Enabled The value is modified to 1.
5 , open the Run window, enter services.msc command, click OK and go to the Service Management page.
6.Locate The Windows Time service and double-click to open the service.
7. On the General page, change the startup type to Automatic, click Start, then click OK.
8 . Restart the Windows time service. Run cmd as Administratorand enter the net stop w32time && net start W32Time to restart the service.
9.set firewall to run 123 port access. Enter netsh firewall add portopening protocol = UDP Port =123 name = NTPSERVER command set.
Hai Kang camera to the clock server school.
One, the Dahua camera to the clock server school.
Win Server 2012 Build NTP server