Sync Your Clock With Internet Time Servers from the Vista Command Prompt

If you have an issue with your system clock losing time, you’ve probably had to go and re-sync your clock with the internet time servers. The problem is that there are just way too many clicks required to get to the right screen, so the command line is much simpler.

Note that you can partially solve this issue by changing the time server you are using or increasing the intervals between time checks, but there are some instances where you’ll just want to quickly sync the time manually.

Sync Clock the Slow GUI Way

First you’ll have to right-click on the clock and choose “Adjust Date/Time”

image

Then you select the Internet Time tab, and click the Change Settings button…

image

After the UAC prompt you can finally click the “Update now” button to tell the computer to resync.

image

That’s a lot of steps… but check out how simple it is from the command line.

Sync Clock from Command Line

Simply open an administrative mode command prompt (right-click, Run as administrator), and then type in the following command:

w32tm /resync

image

And now your clock is sync’d. If you want proof, you could check the time settings panel again.

image

Now that just seems easier to me.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.