- No : 250
- Open Date : 2013/03/04 13:40
-
Print
How can I configure an NTP server on Windows?
Answer
Click the "Start" button, and click "Run".
Then enter "regedit" and click "OK".
Change the following settings:
- Enable the NTP server
Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\
Value name: Enabled
Type: DWORD
Value data: 0x1 (Default: 0x0)
- Configure Windows Time service as an authoritative time server
Key: HKEY_LOCAL_MACHINESYSTEM\CurrentControlSet\Services\W32Time\Config
Value name: AnnounceFlags
Type: DWORD
Value data: 0x5 (Default: 0xa)
- Configure to prevent synchronization with other NTP servers
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Value name: NTPServer
Type: REG_SZ
Value data: (Blank)
- Set the dispersion value of the local clock
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
Value name: LocalClockDispersion
Type: DWORD
Value data: 0x0 (Default: 0xa)
After the registry is changed, perform the following command to restart the service.
net stop w32time && net start w32time