Document directory
- Method 1: Registry
- References:
We found that the synchronization time is incorrect today. After the synchronization time, we can see that the windows system only synchronizes the time once a week by default, and the frequency is too low. I searched for the information and found two ways to adjust the win7 time synchronization frequency.
Method 1: Registry
This method achieves synchronization by modifying the key value in the registry.
Registry Key value:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\
TimeProviders\NtpClient
Modify the following two key values:
SpecialpollintervalChange from 604800 to 86400.
This key value indicates the time interval in seconds. The original 7 days is 7*24*3600 = 604800 seconds.
A day is 24*3600 = 86400 seconds.
Create a DWORD Value named"Specialinterval", The value is 1
Step 2: restart the Windows times service.
Check whether the settings are valid:
Method 2: Scheduler
In Windows, there is a w32tm.exe, through which a parameter can be synchronized:
W32tm/Resync
Check:
Therefore, you can create a scheduled task and execute it once every day.
References:
Setting windows 2008 time
Http://hemel.kcs-solutions.co.uk/kb/2008time
Windows Time Service Tools and settings: Windows Time Service
Http://technet.microsoft.com/en-us/library/cc773263 (ws.10). aspx