Monday, 20 February 2012

How to configure NTP server for Windows Server 2008 R2

To configure the NTP server in Windows is not exactly complicated, but because you get various different suggestions when googling I thought I would just write a short tutorial that I know works. Instruction is verified on Windows Server 2008 R2. What is needed is essentially three short lines:

w32tm /config /,0x8 /syncfromflags:MANUAL
net stop w32time
net start w32time

Don't forget to disable time sync if you have virtual server.

Which NTP Server should you choose? Or should you choose several? Yes, redundancy is never wrong, and considering how easy it is to set up several, it is preferred. SP Technical Research Institute provides a free time sync service.

So, tell me. Give me an example. Coming below ...
Run the following in a elevated command prompt:

w32tm /config /manualpeerlist:",0x8,0x8" /syncfromflags:MANUAL
net stop w32time
net start w32time

P.S. One tip is of course to check the system log afterwards to see that the time sync seems to work.

No comments:

Post a comment