question

PrasannaMayekar-4673 avatar image
0 Votes"
PrasannaMayekar-4673 asked ·

Event Viewer

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-embedded-standard7
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is the image setup to use the CMOS clock as the time source?

0 Votes 0 ·

Hi, Sean,
The image is setup for the CMOS clock as I am not getting this problem in my other production units.
At the present its happening in 4 systems. So not able to figure out if the RTC has gone bad or what is causing the problem.
Randomly the time changes. I have checked the CMOS time and it matches with the system time.
Motherboard kept On for 12 hrs in BIOS menu Time change is not observed.
The CMOS battery voltage is also proper.
I would like to know how the Event Viewer log is written ??
multiple processes are writing to one event log, is it possible that one of the processes wrote it later hence the discrepancy in the time?
Information 14-12-2020 10:47:10 Kernel-General 1 None The system time has changed
NewTime 2020-12-14T05:17:10.5000000Z
OldTime 2020-12-14T06:17:10.5027231Z
change in time here is in micro seconds.
So I am not able to figure out if there is a RTC problem or OS ???

Regards
Prasanna

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered ·

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--






· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI Patrick

I would like to know how the Event Viewer log is written ??
multiple processes are writing to one event log, is it possible that one of the processes wrote it later hence the discrepancy in the time?

I dont want to sort the Time, but how did it happen or got logged in real 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

0 Votes 0 ·
ShoebMohammed-0435 avatar image
0 Votes"
ShoebMohammed-0435 answered ·

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?

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI,
I have around 300 units installed in India I am facing this problem in 4 machines where the time goes back.
UTC or local time it should increment not change randomly.

The is no application changing the time so I am not able to understand if it is hardware RTC probelem or software OS related.

Regards
Prasanna

0 Votes 0 ·