Time Synchronisation With Windows 2000 or XP

If you're running Windows 2000 or XP at home, it's very unlikley that you have a 'Primary Domain Controller' to give you the time of day. ;)

Windows 2000 & XP has a built in "Windows Time" service that is also compatible with public SNTP Time Servers, all you need to do is configure it.

I chose a local SNTP server from the list: http://support.microsoft.com/kb/262680

CODE:
  1. Microsoft Windows 2000 [Version 5.00.2195]
  2. (C) Copyright 1985-2000 Microsoft Corp.
  3.  
  4. C:\>net time /querysntp
  5. This computer is not currently configured to use a specific SNTP server.
  6.  
  7. The command completed successfully.
  8.  
  9.  
  10. C:\>net time /setsntp:ntp0.uk.uu.net
  11. The command completed successfully.
  12.  
  13.  
  14. C:\>net time /querysntp
  15. The current SNTP value is: ntp0.uk.uu.net
  16.  
  17. The command completed successfully.
  18.  
  19.  
  20. C:\>net stop w32time
  21. The Windows Time service is stopping.
  22. The Windows Time service was stopped successfully.
  23.  
  24.  
  25. C:\>net start w32time
  26. The Windows Time service is starting.
  27. The Windows Time service was started successfully.
  28.  
  29.  
  30. C:\>

Done! Immediately after the last line "net start w32time", I noticed my clock jumping forward a few minutes. You can see messages in the "Event Viewer" from W32Time, for example:

CODE:
  1. Event Type: Information
  2. Event Source:   w32time
  3. Event Category: None
  4. Event ID:   593
  5. Date:      26/07/2005
  6. Time:      11:40:05
  7. User:      N/A
  8. Computer:   LOCALHOST
  9. Description: Time service corrected the clock error by 220 seconds

No Comments so far
Leave a comment



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, but not displayed publically)