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.