Question: how to enable ntp server on windows?
Answer: Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters registry subkey.
From the Edit menu, select New, DWORD Value.
Enter the name LocalNTP, then press Enter.
Double-click the new value, set it to 1 to enable or 0 to disable, then click OK.