- Oct 18, 2017
- 7
- 4
Here is how to sync your cameras to your windows PC so you don't have to expose your cameras to internet.
Use the built in Windows NTP Server!
1. In the Windows Registry:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
- Change the value from 10 to 5 (you may need to click Decimal to see the number)
b. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer
- Change the value to Enabled = 1
2. In Windows Services:
- Set the Windows Time Service to Automatic Startup and Start the Service.
3. In the Windows Firewall:
- Create an inbound rule in the Windows Firewall for UDP Port 123. Uncheck the Public check box during rule creation.
4. In your camera configuration:
- For the NTP server, enter the IP address of your PC and save.
- I’m not sure about other cameras, but in Hikvision there is a test button that is comes in handy.
Notes: You will still need to set your DST settings in your camera’s time configuration.
You may also want to set the camera to check time every 10 minutes (interval).
You may also want to set a static IP address or reserve that IP in your router so the IP doesn't change and then cameras will lose time.
edit: For a Windows PC not on a domain, you must run this command to make the Windows Time Service start automatically after reboot.
Run the following command to delete the trigger event that's registered as the default setting and to change the Startup Type setting for the Windows Time service from Manual to Automatic:
sc triggerinfo w32time delete
ref: https://support.microsoft.com/en-us...n-t-start-automatically-on-a-workgroup-comput
Use the built in Windows NTP Server!
1. In the Windows Registry:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
- Change the value from 10 to 5 (you may need to click Decimal to see the number)
b. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer
- Change the value to Enabled = 1
2. In Windows Services:
- Set the Windows Time Service to Automatic Startup and Start the Service.
3. In the Windows Firewall:
- Create an inbound rule in the Windows Firewall for UDP Port 123. Uncheck the Public check box during rule creation.
4. In your camera configuration:
- For the NTP server, enter the IP address of your PC and save.
- I’m not sure about other cameras, but in Hikvision there is a test button that is comes in handy.
Notes: You will still need to set your DST settings in your camera’s time configuration.
You may also want to set the camera to check time every 10 minutes (interval).
You may also want to set a static IP address or reserve that IP in your router so the IP doesn't change and then cameras will lose time.
edit: For a Windows PC not on a domain, you must run this command to make the Windows Time Service start automatically after reboot.
Run the following command to delete the trigger event that's registered as the default setting and to change the Startup Type setting for the Windows Time service from Manual to Automatic:
sc triggerinfo w32time delete
ref: https://support.microsoft.com/en-us...n-t-start-automatically-on-a-workgroup-comput
Last edited: