Event Viewer

Prasanna Mayekar 1 Reputation point
2021-01-13T06:40:07.337+00:00

Hi,
In have a unique problem in Windows Embedded 7 standard. The time goes back or forward by 1 hrs randomly.
The system is not connected to the internet. It runs a dedicated application, which controls a lab instrument's hardware.
The Event Viewer shows the time change, some times the Kernel General IS 1 shows the time changed in few micro seconds.

The Event viewer log is it stored sequential ?

If yes the in some service like the "Event Log" the time does not match e.g.
Some times its offset by some minutes.
The below table I have copied from the Event Viewer without sorting for time

Information 14-12-2020 10:51:51 Kernel-General 13 None
Information 14-12-2020 10:51:48 Service Control Manager 7036 None
Information 14-12-2020 10:47:24 EventLog 6013 None
Information 14-12-2020 10:47:24 EventLog 6005 None
Information 14-12-2020 10:47:24 EventLog 6009 None
Information 14-12-2020 10:51:48 Kernel-Power 109 (103)
Information 14-12-2020 10:51:45 Service Control Manager 7036 None

As you can see from the table the Event "EventLog" is 4 min offset.
At times the offset is in hours.

Why does this happen.

Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
381 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-01-14T02:53:06.013+00:00

    Might double check the sort column. Look for the ⋁⋀ caret at the top of column, or also try Action\Properties\General\Restore Defaults

    --please don't forget to Accept as answer if the reply is helpful--


  2. Shoeb Mohammed 1 Reputation point
    2021-01-15T05:41:31.68+00:00

    Hi Prasanna,
    I am assuming write-filters are enabled on the system. Please try by configuring the system so that the CMOS clock is in UTC and not the local-time. I think that will resolve the issue. Please check and confirm if that worked.

    In order to configure the system so that the CMOS clock is in UTC, first disable the write-filters, restart the system and then create the following registry key and set the DWORD value to 1:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal

    Enable Write-Filters again
    Restart the system
    See if the issue is resolved?


  3. Sean Liming 4,511 Reputation points
    2021-01-17T22:02:52.737+00:00

    If the time is not effecting anything else in the system, this might be a cache or threading issue when the event is actually written to the log, which would make this an interesting non-issue.

    I would look at the Windows Internals books for more information on even log operation.


  4. Prasanna Mayekar 1 Reputation point
    2021-01-18T07:47:37.017+00:00

    Hi Sean,
    I have now tried Windows 7 Pro for testing this Event Viewer issue.
    I got the following in the Event Viewer.
    I am attaching the File for your reference.

    In this the log has skipped days in the sequence.
    I am not able to understand is it RTC or its Event Viewer logging issue.57593-eventdata.pdf

    thanks
    Prasanna