Setting up the NTP server in windows10
Step 1: Open the Registry (Regedit)
Step 2 Enable the value of [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags] AnnounceFlags in the registry to 5. Step 3: Open the registry [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer] and change it to Enabled. Step 4 Win +X Open the administrator shell command line. Run net stop w32time to stop the service. Net start w32time To start the service
W32tm /stripchart /computer:ntp_server_address W32tm /stripchart /computer:ntp_server_addressCopy the code
Step 5: Add firewall rules
Control panel – > system and security – > Windows firewall – > advanced Settings – > inbound rules (right) — — — — – > > new rules – the next step — UDP port – specific local port: 123 (don’t change other) have been the next step, until the name of the page below: NTP, done;
Step 6: Boot automatically
Starting the service: net start w32time Stopping the service: net stop w32timeCopy the code
Set the Windows Time service attribute to Automatic