Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
How can I get Windows 10 to stop displaying the wrong time on bootup?
Whenever I boot up Windows on my laptop, the clock is set to UTC time. This happened no matter what timezone I was located in at the time. However, when I boot up Ubuntu on the same device, I got the correct time.
On Windows, the clock is set to automatically be set to the timezone I have selected. Half the time when I open the clock settings to fix the time it suddenly catches up; otherwise, I have to manually press the "sync now" button.
I'm running a dual-boot setup with Windows 10 and Ubuntu 22.04 on a Lenovo Legion 5.
Why does the clock display the wrong time every time I boot up Windows? How can I get Windows to display the correct time without manual intervention?
1 answer
What's happening
The operating systems are using the hardware clock in different ways. Linux uses UTC while widows uses localtime (dubious I know). So when you boot the other OS, it's gonna see that the hardware clock is bonkers and update it. Evidently Linux manages to this behind the scenes while windows doesn't.
The fix
Configure windows to use UTC too by setting this registry value to 1
:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal
More info in ArchWiki
0 comment threads