Skip navigation

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?

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 /unregister
W32tm /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 /unregister
The following error occurred: Access is denied. (0x80070005)

C:\>w32tm /register
W32Time successfully registered.

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

Related Reading


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.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish