1. click "start" open "Run" and then input "regedit"

2. Change the value of "Enabled" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer to "1".


3. Change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags to "5" .
The setting forces the host to declare itself as a reliable time source, thereby using a internal complementary metal-oxide semiconductor (CMOS) clock.
If you want to use the external time sources , use the default value "a" .

4. restart the w32time service . "net stop w32time && net start w32time "

after the above steps , the windows server NTP configuration is complete , you can configure this server IP as NTP server on client .