Windows 2000: Time is of the essence

Accurate time-keeping is extremely important to Windows 2000, partly because the default authentication protocol, Kerberos, uses the system clock on the workstation to generate the authentication tickets. Even if your workstation doesn't participate in a network with Kerberos authentication, having an accurate system clock helps when you schedule automated tasks, and to get correct time stamps on log file events, for example.

However, PC clocks are notoriously imprecise, so you'll need to synchronise them against an accurate time source. You can do this manually, by double-clicking on the clock in the Taskbar, or via a CMD prompt by typing C:\time.

You'll be prompted to enter the correct time (if it's already correct, just press ). To simply check the time, type C:\time /s.


Setting the clock manually is tedious and inaccurate, however. Synchronising the system clock against an atomic or GPS clock over the "Internet is much better. For this, Windows uses the Simple Network Time Protocol (SNTP), so go to to find a time server that allows public access. Pick the server(s) located as close to you as possible, to reduce any adverse effects from network delays. You are generally asked to pick a Stratum 2 instead of a Stratum 1 server, as the load on the latter is high, and you won't gain much in terms of accuracy.

Some of the administrators operating the time servers like to be notified via e-mail if you use their service; please "do so, and respect the access policy of the server you choose."Next, you need to tell Windows 2000 which server(s) you want to use. We'll set up two NTP servers, to show how to specify multiple ones for fault tolerance. Again, you do this at the CMD prompt. Type:

C:\net time \\YOUR_MACHINE_NAME /setsntp:"""This writes an entry into the Registry for the W32Time service. Take care when you type the names of the NTP servers, as there is no way to delete incorrect names, short of editing the Registry. To verify that you have the right time servers, type:

C:\net time \\YOUR_MACHINE_NAME /querysntpTo tell Windows 2000 to synchronise the system clock, "type:

C:\net stop w32time

C:\net start w32time

This restarts the Windows Time Service. (You can also do this through the Administrative Tools-Services applet in Control Panel.) Windows 2000 will send a UDP query to the servers (port 123), so you have to allow UDP to pass through your firewall.


IT By default, Windows 2000 checks with the NTP server once every 45 minutes until it has achieved three good synchronisations; after that occurs, it will check once every eight hours.

To set the intervals at which Windows 2000 contacts the NTP server(s) to check the time, start Regedit and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\ParametersEdit the "Period" entry to be one of the values shown in "the table (either for REG_DWORD or REG_SZ types).

While in Regedit, check that the "type" value for W32Time is set to "NTP" (REG_SZ) as well.

The command-line W32TM.EXE utility also allows you to manipulate the frequency at which the synchronisations occur in a similar fashion to the above, and it provides other functions, such as printing out local time zone information, setting the system clock frequency, changing the server port and synchronisation source.

W32TM.EXE with the -v (verbose) flag can be used to synchronise the workstation against the previously set NTP servers - if you don't use the verbose flag, you won't see what's happening. Press -C to end the program. Unfortunately, W32TM.EXE has a few issues: for instance, you might see a warning message in Event Viewer about Windows 2000 not being able to find a Domain Controller against which to synchronise. The message tells you to run the command:

C:\W32TM /s

This will synchronise system time. However, in many cases, this only results in an error message: RPC to local server returned 0x0.

Microsoft's Knowledge Base acknowledges the problem, but there is no solution for it yet.

Note that if you're on a network with a Primary Domain Controller (PDC) set up as a time source, you should use "that instead as the master time server, setting it up to synchronise against a public time service; then, synchronise the workstations on the network with:

C:\net time /set

Put this in the login scripts of each workstation for automatic system time adjustment.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Juha Saarinen

PC World
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Logitech Ultimate Ears Wonderboom Bluetooth Speaker

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill


I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?