Q. I'm trying to run W32tm commands but I get an error, and when I try and sync time I also get an error. What's wrong?

John Savill

January 22, 2009

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The first thing to check is to make sure the Windows Time service is present. Most likely it isn't, and has been uninstalled somehow. The solution is to unregister then register the Windows Time service using the following commands:

W32tm /unregisterW32tm /register

An example of these commands is shown here. Note I get an error for the first command because W32tm is already unregistered—you can ignore this error.

C:>w32tm /unregisterThe following error occurred: Access is denied. (0x80070005)C:>w32tm /registerW32Time successfully registered.

The Windows Time service now is available as a service and time commands should work.

Related Reading

  • Q. How can I force a computer to synchronize its time with its time source?

  • Q. How do I configure Windows Server Core's time zone and international settings?

  • Server Time Synchronization: What Time Is It, Really?



Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like