My desktop PC’s CMOS battery is dead and each time it boots up the time is set to 2002. I really don’t mind the time being wrong except when web pages do not load showing invalid security certificate.
The above command needs to be run using an administrative privileged command line.
This is same as right clicking the clock (taskbar left) > selecting Adjust date/time > Internet time > Change settings > Update.
My system defaults to 2002 when it boots from a complete power off state. When I tried to do the above command it gave the following error: The computer did not resync because the required time was change to big I’ve a fix here