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:
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.
The following error occurred: Access is denied. (0x80070005)
W32Time 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?
- What is the daylight saving time (DST) problem?
- 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.