How to configure NTP Service for workgroup stations

If you have servers in DMZ or in a Workgroup, you need to set up manually some parameters. In this article, I will configure NTP.

First, run this command :

w32tm.exe /query /status

ntp1

No NTP Servers are configured.
Next, run this second command :

w32tm.exe /config /manualpeerlist:XXX.XXX.XXX.XXX,YYY.YYY.YYY.YYY /syncfromflags:manual /update

XXX.XXX.XXX.XXX : NTP Server 1
YYY.YYY.YYY.YYY : NTP Server 2

The result must be “The command completed successfully”

ntp2

Finally, run the status command to confirm that everything is ok :

w32tm.exe /query /status

ntp3

If you have this error after the resync command

ntp4

Then start the “Windows Time” service.

ntp5

About Nicolas 244 Articles
I work as a System Engineer, based in Switzerland with a primary focus on Microsoft technologies. I have 7 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers" and "Administering & Deploying SCCM" certified.

Leave a Reply