Question: how to set ntp server in windows 7?
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.