On a computer I was using, the time was incorrect.
The “Windows Time” service wouldn’t start, so automatic setting of the clock was not possible.
When I tried to start the service, I got this message:
“Could not start the Windows Time service on Local Computer.
Error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.”
I needed to re-register “w32time.dll”.
Run regsvr32 %WinDir%\System32\w32time.dll and then try to start the “Windows Time” service again.