Boot-time services that fix hardware clock (RTC) drift when dual-booting Windows and Linux.
Windows stores the RTC in local time, Linux stores it in UTC. Each OS "corrects" the clock on boot, leaving the other one wrong by your timezone offset.
- Configure both OSes to treat RTC as UTC
- Linux:
timedatectl set-local-rtc 0 - Windows:
RealTimeIsUniversal = 1registry key
- Linux:
- Force immediate NTP sync on boot
cd linux/
chmod +x install.sh timesync-fix.sh
sudo bash install.shUninstall: sudo bash install.sh --uninstall
Open PowerShell as Administrator:
cd windows\
Set-ExecutionPolicy Bypass -Scope Process -Force
.\install.ps1Uninstall: .\install.ps1 -Uninstall
- Linux:
journalctl -u timesync-fix - Windows:
C:\ProgramData\DualBootTimesync\timesync-fix.log
Clock still wrong: Install both sides and reboot into each OS once. Check logs for errors.
Windows "Access denied": Run PowerShell as Administrator.
Linux service fails: Check journalctl -u timesync-fix --no-pager. Common in VMs where timedatectl has no RTC access.