I. For members in a domain, you can synchronize time by Group Policy
Second, for computers that are not in the domain can be synchronized by specifying a time server
1. Enter regedit into the registry at the command line
Find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Change the NtpServer default value time.windows.com,0x9 to the IP of the time server you want to sync.
such as 19.168.1.100
Incidentally, by the way, copy the registry path: Select the child node of the registry path you want, and right-click to copy the key name.
2. Set time synchronization interval
Hkey_local_machine\system\currentcontrolset\services\w32time\timeproviders\ntpclient
The default is 604,800 seconds or 7 days, you can fill in the number of seconds you want to
604800/3600/4=7
3. Manual Sync Time
In the lower right corner of the desktop open window time, Internet time, the time synchronization server has time.windows.com changed to you
The time synchronization server, and click Update Now.