Re: Problem with Invalid System Time dialog preventing autologon.



I would think that the system bios would write a valid time into the
CMOS clock during POST. Perhaps your motherboard manufacturer could
provide a modified BIOS that would initialize the clock correctly (Set
it to a version number or something). I have in the past reverse
engineered my BIOS to accomplish such things. There are a couple of
books out there that contain the I/O maps for the CMOS Ram maps that
alllow you to figure out what needs to be done.

If you compared the time/date seen in the computer's CMOS ram utility
with the range of allowed times for a windows clock, maybe you could
see why this is occurring.

Steves


Øivind Berentsen wrote:
Hi all,

I've got a problem with a modal dialog preventing our systems autologin.
The dialog contains the following text:

Title:
Invalid System Time

Text:
The time or date on your system is invalid. Please use the date/time
applet in the Control Panel to properly set your system time and

I believe the dialog appears because we do not have a battery in our
hardware and the real time clock is reset every time power is lost.

I've found a preliminary fix to this problem by enabling implementing
message box interception, but this solution presents some problems since
all message boxes automatically automatically returns the default button
as result.
I used the following registry settings:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Error Message
Instrument]
"EnableLogging"=dword:00000001
"LogSeverity"=dword:00000000
"EnableDefaultReply"=dword:00000001
"TypesSupported"=dword:00000007
"EventMessageFile"="%SystemRoot%\\System32\\User32.dll"

I also tried setting the NoPopUpsOnBoot and ErrorMode keys like this:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
"ErrorMode"=dword:00000002
"NoPopUpsOnBoot"=dword:00000001

but they did not seem to have any effect. Is this messagebox a special
case which is not affected by the NoPopUpsOnBoot setting?

If anybody have any suggestions how to remove this dialog it would be
greatly appreciated!

Regards,
Øivind Berentsen

.