How to fix time differences between Ubuntu and Windows OS in dual boot PC. Synchronise different time clock in Windows and Ubuntu dual-boot system. Time keeps changing between Ubuntu and Windows dual boot PC and there is a time difference between windows and Ubuntu partition?
Solution 1
Fix the UTC / local time difference between Ubuntu and Windows from Ubuntu, In this solution we will make Ubuntu use local time and we will edit the /etc/default/rcS file and replace “UTC=yes” with “UTC=no” (please note that we need to replace it without the quotes).
To perform this task, simply run the following command in a terminal:
sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS
Now reboot the PC to takes changes place.
Solution 2
This solution should work with Windows Vista SP2, Windows 7, Windows Server 2008 R2 and Windows 8/8.1. We will make Windows use UTC instead of local time.
To enable this solution, download this (download link) Windows registry file and double click it to activate.
Run the following command to disable the Windows Time service:
sc config w32time start= disabled
You must reboot your computer for the changes to take effect. Enjoy!