Problem with Invalid System Time dialog preventing autologon.



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
.