Can't sync time due to date being to far out!

G

Guest

Hi,
I hope someone can help me. Background info. I have a computer (Compaq
Presario 4420CA) that the power supply failed. When it failed it affected
the mother board and now the computer cannot power up normally. To power up
I have to remove power to the computer, press the "reset CMOS" button on the
motherboard and reconnect the power. Once the power is reconnected the
computer starts. You don't have to press the power on button.

The problem this causes is the BIOS time and date is reset to 12:00 AM Jan
1st 1980. The update time fuction in the control panel cannot update the
time or date as the date is to far out of sync.

Can anyone provide a solution that I can use automataclly when the somputer
powers up? I'm thinking like a script/program to update the date then
allowing the time to update normally.

Many Thanks
Phil
 
D

DatabaseBen

well, they are pretty cheap and who knows how old is yours.

you might need to update your bios if your type of motherboard allows it..

motherboards are pretty cheap too, maybe you can find one that
can use your ram.

it is unclear as to how the failing p.s. could have affected the mobo,
but if the cmos battery or its little holder are not working, then
then the mobo won't start without your help..
 
G

Guest

That is one solution to the problem that I can perform. However the other
users who are not as computer savy me would have problems with this.
 
G

Guest

Is there a way to configure W32Time to update the date. I've looked but I
can only see that W32Time updates the time. If this was possible then I
could create a batch file/registery entery that would exicute the W32Time at
bootup.

Other thoughts are:
Use Perl to get a date and time string from a ntp server and use system
calls to set date and time. Downside of this is I have to install Perl and
have the overhead of loading Perl to run the script.

Use wget and batch files to download a know webpage with the date in it and
extract the date from it. Then use a batch file to update the system date,
then have W32Time to update the time. The downside to this is I'm clueless
when it comes to DOS batch file scripting.

Any thoughts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top