Saturday, December 19, 2009

Syncing Windows XP with a Linux Time Server

Suppose you have a Linux file server that is configured to sync with external time servers and suppose that you have several Windows XP computers that you wish to stay in sync (time-wise) with your linus file server. The answer is to create a very simple batch file and put it into your startup group.

I call mine synctime.bat. Note that the host name of the Linux time server is 'asgard'. Here is the listing if synctime.bat:

w32tm /config /syncfromflags:manual /manualpeerlist:asgard
w32tm /config /update