The following was tested on a Windows 2003 R2 with SP2, but it should work on every system with w32time installed.
Open up a command prompt (start, run, cmd.exe, you know).
Then punch in these lines:
net time \\your-server-name /setsntp:some-ip-or-pool.ntp.org net stop w32time net start w32time
The way NTP works, the sync does not occur immediately, but it should be visible within a few minutes after w32time has started again.
To query the current NTP servers, typ in at the CLI:
net time \\your-server-name /querysntp
You should get a list of addresses that w32time is using as a time source.
More advanced settings can be done through the registry. This is especially useful if you want a time server (e.g. a PDC) that is correctly synced to an internet time server, and subsequently distributes that time over your network (i.e. Windows domain).
The following settings are all edited via the registry editor (regedit.exe).
Navigate to the key HKLM\SYSTEM\CurrentControlSet\Services\W32Time. This key contains all the settings for the time service. In that key, there are several subkeys and values, defining the settings of the service.
When these settings have been configured, don't forget to restart the time server:
net stop w32time net start w32time
Note that it may take some time for the service to actually sync the time. If you don't want to wait for it, run this at the command line:
w32tm /resync /rediscover
Adding to the advanced guide, there are some extra parameters you can specify to further tweak the time sync of your server or computer.
Don't forget to restart w32time when adjusting any of these values.
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |