Internet Time on Windows

In: Uncategorized

15 Jun 2008

A quick tutorial on keeping accurate time in Windows… Double-click on the clock in the system tray (usually in the very lower-right of your screen). There should be an “Internet Time” tab.

  • If the tab isn’t there, you’re either running an ancient version of Windows, or your PC is a member of an Active Domain directory, and the system is getting its time from that. (Your network administrator wants all the PCs to get the time from the same source, which is actually a very good way to do things… But only if they’re accurate!)
  • You should have the “Synchronize with an Internet time server” setting checked. (If not, check it!) The default is usually time.windows.com. This is pretty good, but we’re OCD, so we can do better. Mine is set to pool.ntp.org, which is a huge network of independently-run timeservers. (Two of my own servers are in it.) Please don’t use the nist.gov ones for your desktop: they appear to be extremely overloaded, and should really only be used if you’re providing time to other people.
  • By default, Windows will check that network source once a week. (Every 604,800 seconds.) This option isn’t presented to the user, but it’s a registry setting. (I won’t get into changing registry entries, since it’s not the most user-friendly interface, and mistakes can basically ruin your computer.) But HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ TimeProviders \ NtpClient is your friend here. There’s a DWORD value called SpecialPollInterval, where you’ll see the default 608400. This is how often, in seconds, it’ll query. You could put anything in here, but I’d highly encourage you to set a fairly large value. My time servers query “upstream” every 1024 seconds (~17 minutes), which keeps them within 5-15ms. Unless you need sub-second precision, I wouldn’t set a desktop machine below 3600 (once an hour). I chose 28,800, which is every 8 hours. That shouldn’t let your clock drift more than a second or two, if that. Bear in mind that you’re coming from 608,400, which is once every 7 days… Every 8 hours is 21 times as often, but still an acceptable value in my mind.
  • Make sure you use the “Update Now” option to verify that your time setting works.

Obviously, this assumes you’ll be online every 8 hours… I’d imagine that Windows will just get the time time you’re online otherwise.

1 Response to Internet Time on Windows

Avatar

Matt’s Blog » Blog Archive » Spring Forward

March 8th, 2009 at 8:41 am

[...] Don’t blindly set your clock an hour ahead. Set your clock to the precise time. GPS provides an excellent time source, though there’s no guarantee that a normal GPS unit actually displays the precision time it’s receiving. It’s probably accurate enough. Cell phones are also usually very reliable. A system running NTP is also a good bet, as it’s usually accurate to a handful of milliseconds. (Unless it runs Windows, in which case it polls for the correct time every 7 days insted of every 1024 seconds, and only if “Internet Time” is enabled. Unless you changed the polling interval in the registry.) [...]

Comment Form

On Other Sites

  • noname: This post was exactly the solution to the error I was getting, thanks. [...]
  • GGE: Thank you. Exactly my error. [...]
  • notty: Go ahead and believe this while I ransack your servers AHHHAHAHAA Mr Notty [...]
  • Matt: Hey Victor, A couple good resources for you... http://www.scanboston.com/boston.htm is really det [...]
  • victor: Hi i just got a uniden bearcay scanner and have no local or regional frequency directory.just 1 460 [...]