Cmos battery dead with wrong time/date cant fix it at the moment
In the time being I want a batch file to change the system date and time to current as a start up task
But if the date/time is wrong on start up then i want it to get the correct one from another pc on the network if this is possible from the ip address.
cURL
on an internet site which displays the date and time, such astimeanddate.com
, or even from your router. If any of the machines has a web server you can format your own page showing the date and time. But you may not be able to guarantee that this will run before the launch of other programs and services which require a correctly set clock.ntpdate
(making sure that it points to servers you can see on your network). It gets invoked pretty early in the boot sequence, so you should see only a few lines of syslog with the wrong date-time.