Windows – Add NTP Server

Execute the following command, change the timesource to a FQDN or an IP Address

w32tm /config /manualpeerlist:<timesource> /syncfromflags:manual /reliable:yes /updateCode language: HTML, XML (xml)

Stop time Service

<strong>net stop w32time</strong>Code language: HTML, XML (xml)

unregister and register time service

w32tm /unregister && w32tm /register

Start time Service

net start w32time

Open a Command Prompt.

Type the following command and then press ENTER:

w32tm /config /syncfromflags:domhier /update

Type the following command and then press ENTER:

net stop w32time

Type the following command and then press ENTER:

net start w32time