Sunday, September 2, 2012

Make Windows use UTC

One of the issue of installing dual boot PC for Linux & Windows is different time settings. While Windows uses local time from your PC, Linux uses UTC.  

Here's what I got after googling the net, a remedy for Windows (to use UTC):

Note: This method was not initially supported on Windows Vista and Server 2008, but came back with Vista SP2, Windows 7 and Server 2008 R2.
To make MS Windows calculate the time from the hardware clock as UTC.

Via regedit:
Run regedit and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
Right-click in the right-side panel and select New > DWORD Value. Create the key named RealTimeIsUniversal and give it a value of 1.

Using a registry file
Create a file named WindowsTimeFixUTC.reg with the following contents and then double click on it to merge the contents with the registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
 
see complete source:

No comments:

Post a Comment

Please be polite and don't SPAM, Thanks :)