...
Note: This method is only tested under Windows XP.
Panelnoformat |
---|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation "RealTimeIsUniversal"=dword:00000001 |
Problems
After setting this, I could no longer update windows time from time.windows.com, butpanel
No Format |
---|
time.mit.edu |
worked.
This method makes the Windows to use UTC at boot time, but after the system run a couple of hours or resume from hibernate, the time goes wrong again.
I don't know how to solve this problem and I guess the following method can solve part of the problem.
Change the default synchronization interval from 7 days to 2 hours, to adjust your system time BEFORE it goes wrong.
Panelnoformat |
---|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient set SpecialPollInterval to 7100 |
It is 100 seconds less than 2 hours. Default value is 604800 seconds, which is 7 days.
But I don't think this can solve the wrong time problem after hibernation.
...
Edit /etc/default/rcS, add or change the following section
Panelnoformat |
---|
# Set UTC=yes if your system clock is set to UTC (GMT) UTC=no |
Reboot to to make it into effect
...
Ubuntu 9.10 use upstart to handle some daemons.
There two configure files handle the hardware clock synchronization daemon:
/etc/init/hwclock.conf and /etc/init/hwclock-save.conf
The first one read time from hardware clock, and the second one write back time to it.
you can disable them by rename them to xxx.conf.anyWordExceptConf
Panelnoformat |
---|
mv /etc/init/hwclock-save.conf /etc/init/hwclock-save.conf.disabled |
I didn't see any effect of disabling hwclock.conf, so I just leave it there untouched.
...