Archive for September, 2009

PostHeaderIcon Using a NTP server with Windows 2008

In windows 2003, using a NTP source for time sync a bit of a bother, you had to set it up manually, reset the services and then pray that it would work :

- net time /setsntp:”ntp.xs4all.nl”
- w32tm /query /peers
- net stop w32time
- net start w32time
- w32tm /resync
- w32tm /query /peers
- open up regedit, go to HLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProvider\NtpClient
- locate the SpecialPollInterval DWORD value. Change this to Decimal 43200 (Hex 0000a8c0)
- net stop w32time
- net start w32time
- w32tm /resync

But now, in windows 2008 this entire piece can be replaced by a oneliner :

w32tm /config /manualpeerlist:”ntp.xs4all.nl”

Search