windows 2016 steps into future for half hour at 23:00 CET and then returns to normal

Galien, Dirk 21 Reputation points

I have core 3.1 program with a very basic async socket receiver and a blazor webassembly frontend. Every half an hour a machine sends a report (+/- 1000 bytes) to it, which is then stored to sqlserver and to a file on disk.
Al thru the day this works fine except for at around 23:00 CET then the report is received as normal but the file time is around 23:30 so half an hour into the future! Also the recorded in the database is equally half an hour into the future.

The file is written with File.WriteAllText(xfilepath, xcontent); In the frontend i can see the report beeing added to the database also half an hour into the future.

This whole program runs as a hosted server on windows 2016 virtual machine region Netherlands timezone UTC+1 Amsterdam, Berlin...

Also posted with code on stackoverflow: datetime-now-on-windows-2016-skips-30-minutes-into-future

Anybody any idea what is going on here??

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,855 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,563 questions
{count} votes

Accepted answer
  1. Jenny Yan-MSFT 9,216 Reputation points

    Hi Dirk,
    Thanks for the screenshots and the Kernel-General event ID 1 indeed proved that the time has been changed on the machine.

    Did you know which source is used for the machine to sync time? Kindly check by following command. We used to encounter scenarios when two time sources used and issue occurred for another one.

    w32tm /query [/computer:<target>] {/source | /configuration

    Moreover, kindly search event ID 4616, which supposed to record info when system time changes and specify which process triggerred such change.
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    Hope above info would be bit helpful.

    If above steps still fail to capture the process or service to change time, it is suggested to use process monitor tool and verify changes around the issue occurrence.

    Last suggestion is to re-register the windows time service:


    Hope this helps and please help to accept as Answer if the response is useful.


0 additional answers

Sort by: Most helpful