Sunday, February 27, 2011

Setting 2008R2 NTP from the commandline

There I was, happily configuring a new Windows 2008R2 server, when I wanted to set the NTP hosts.

net time /setsntp:"ntpserver1,ntpserver2"

Error! It appears the command has changed since Windows 2008. It turns out to be the following now:


W32tm /config /syncfromflags:manual /manualpeerlist:ntpserver1,ntpserver2

Oh well, gotta remember that one.

No comments:

Post a Comment