Windows Time Service - not updating automatically


By Default, the windows time (Win32time) is not set to Automatic unless it is joined to a Domain or becomes a Domain controller, as the operating system gathers its time from the BIOS on Dedicated hardware.
For virtual servers the HyperVisor kernel provides the time to the Virtual guest, sometimes this fails for unknown reasons and the Virtual guest then gets or sets the wrong time. 

The Windows Time Service is one of the services that should launch automatically in order to avoid incorrect time and date in a user’s computer, however, if that fails, you can run a command that triggers it automatically.
The command is best ran in an elevated command prompt, which you can run by opening the Start menu, typing cmd in the search box, right clicking on the search result "command prompt" and selecting Run as administrator from the menu.
If a User Account Control window appears, click OK. Once you’re inside the command prompt, run the following command:

The following command works with;
Windows 7, 8, 8.1, 2003, 2008, 2008 R2, 2012, 2012 R2 and 2016.

net stop w32time
w32tm /config /syncfromflags:manual /,,
net start w32time
sc triggerinfo w32time start/networkon stop/networkoff


Another Method for checking Win32Time.

Checking Windows Time Service in Task Scheduler

You can check the Windows Time Service in the Task Scheduler, and see whether the triggers are all okay.

To access the Task Scheduler, open the Control Panel from the Start menu (search for it from the search box if you can’t find it in the Start menu once you click on it), and open the Administrative Tools, inside you will find the Task Scheduler. 

You will see a pane on the left, in which you should expand the Task Scheduler Library tree, followed by the Microsoft tree, and at the end the Windows tree. In that tree, you should find an entry for Time Synchronization. 

Left click it, and make sure it is enabled – enable it if it isn’t by right clicking the center pane and selecting Enable.

Afterward, right click the center pane, choose the Properties option from the drop down menu and take a look at the settings in the Triggers tab.

Ensure that the service is set to run automatically at system startup.

Windows Service menu;

Open Control Pannel >> Administrative tools >> Services
Local Windows Time, Double click the Windows time and ensure the startup Type is Automatic, screen shoot below. 

Note: If you find the startup Type is set to "Manual (trigger Start) that means the trigger for the windows time service is already set.


Have more questions? Submit a request