How to disable "invalid system time" message box

  • Thread starter Thread starter Gene
  • Start date Start date
G

Gene

In WinXP, if the BIOS date is prior to 1996, message box
pops up on startup,
"The time or date on your system is invalid. Please use
the date/time applet in the Control Panel to properly
your system time and date"

The goal is to avoid manual interaction.
When the system starts, the program I've written is
automatically started. That
program will correct system time to the GPS time. But if
the CMOS battery is dead,
user has to click OK on the message box I'm talking about,
and that's exactly what I want to avoid.

I need some system setting to disable that message box
even if the BIOS time
is invalid.

Any help is appreciated
 
There are also ways to intercept the message into the message log. "Windows
XP Embedded Step by Step" and "Windows XP Embedded Advanced" both have an
exercise that explain how to do it.

Slobodan Brcin (eMVP) said:
H Gene,

This will help you in some way to suppres errors and warnings:
http://msdn.microsoft.com/embedded/community/community/tips/xp/popups/default.aspx

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
 
Back
Top