First, the problem of the original
Ubuntu and windows have different time management styles, so it's normal to have a two-system time disorder.
Ubuntu default time is the BIOS time as gmt+0 time, that is, the world standard, and China in the East Eight (gmt+8), so if your Ubuntu location is China, you system display time is the BIOS time + 8 hours, if it is 8 in the morning, Then your Ubuntu will show 8 points, and when you switch to the Windows system there will be a time of confusion, because Windows will assume that the BIOS time is your local time, the result is Windows display time of 0 points ... And if you sync time under Windows, the recovery is displayed as 8 points, then the BIOS time will also be rewritten by Windows 8 points, again into Ubuntu when the display time becomes 8+8=16 point.
Second, problem solving
1, let Windows use Ubuntu Time management mode, is to enable UTC (World coordination)
(1) Open the Run window (shortcut key win+r), then enter Regedit to start the Registry Editor and find the directory location:
hkey_local_machine/system/currentcontrolset/control/timezoneinformation/
(2) Add a key value of type REG_DWORD , named Realtimeisuniversal, with a value of 1 and then restart after the time is back to normal
2. Turn off UTC under Ubuntu
(1) Press Ctrl+alt+t to bring up the terminal, enter:
sudo vim/etc/default/rcs
(2) Find Utc=yes This line, change to utc=no save can, time modification effective immediately. This will solve the windows and Ubuntu dual system time synchronization problem
Ubuntu Beginner (11)--windows and Ubuntu time conflict resolution