Ask for date on boot (challenge)

0

Issue

An old laptop computer with XP loses date every time it boots. It has no more battery pack so it has to be plugged permanently in to wall.

What I already tried

  • Replaced the little button shaped 3V battery (2 times) but system still lose time.
  • Checked 3V battery's jumper correctly set.
  • Set up NTP to the nearest server. This is not a good workaround because the system should have the correct time BEFORE Windows network startup, scheduled tasks and installs finalizations.
  • Wrote a batch DOS than ran DATE and TIME commands and deposit in "Startup" group. This is not a good workaround because the system should have the correct time BEFORE Windows startup.
  • Edit registry's "BootExecute" to run the DOS commands DATE and TIME. Perhaps I made a syntax mistake ?
  • Look for another laptop but no money :'-(

Question

  1. Anyway to ask user to confirm/set date and time BEFORE Windows startup?
  2. What are the rules and syntax with registry's "BootExecute" to use other than autocheck ?

LaPeche35

Posted 2014-06-06T08:39:30.727

Reputation: 1

Answers

3

A better solution may be to set up time synchronization. So-called NTP servers (Network Time protocol) do nothing but tell the time to any interested party. There's a big pool of free servers run by volunteers.

MSalters

Posted 2014-06-06T08:39:30.727

Reputation: 7 587

I will setup NTP but my need is to boot Windows with correct date. System must be on time before Windows start up (so NTP service is not started). – LaPeche35 – 2014-06-10T07:11:43.013

You might want to clarify why you think that's necessary. At the moment NTP starts, no regular programs can run yet. Certainly user input is not possible (no user logged in yet). – MSalters – 2014-06-10T08:06:14.553

NTP will not set clock immediately but runs clock virtualy faster until system comes to date and time. – LaPeche35 – 2014-06-10T09:38:55.520

With others computers having empty battery, I encountered weird system behavior sometimes. Probably due to scheduled tasks, swap file, updates waiting for finalization, protected software, etc... BSOD occurs ! – LaPeche35 – 2014-06-10T09:51:57.367

0

Seems like you have no proper jumper at motherboard, which feeds the power from battery to RTC or this jumper set in different position. They were used widely to clear the CMOS settings to factory reset by disconnecting power for a short period (like one-two minute(s)). If the mother board has such a jumper then it can be easily found in the Main Board Manual. Hope this helps.

Ruslan Gerasimov

Posted 2014-06-06T08:39:30.727

Reputation: 1 974

3V battery is fine and CMOS jumper is set correctly. Must be an EPROM's CMOS issue or a power controler chip issue. I am looking for a software solution. "BootExecute" value in Registry seems interesting but how to use it in order to display DATE then TIME MS-DOS commands? – LaPeche35 – 2014-06-06T12:43:01.827

0

Okay, I found the right solution!

That motherboard requires 3 wires (red, white, black) to be soldered to the 3V battery. When you look at for 3V CMOS batteries for Acer 1610 series on Interent, most vendors propose 2 wired battery (with red and black wires).

Of course, I bought one 2 wired battery. Its connector had 3 females pins but only 2 wired. So I added a wire in the middle of the connector to the black !

I remain interested by knowing how to run operation before Windows startup...

LaPeche35

Posted 2014-06-06T08:39:30.727

Reputation: 1

You can probably add a lightweight Linux installation that will boot by default, set the time over NTP, then tell the bootloader to boot Windows once (so the next time it reboots it'll go back into Linux again). – None – 2014-06-19T00:17:42.597

Launch another OS to chain to Windows sounds complicated. Anyway to use the registry's "BootExecute" value? – LaPeche35 – 2014-06-25T08:28:32.643