Does Windows 7 support UTC as BIOS time?

89

45

Since I live in Germany, my timezone is GMT+1 (or GMT+2 in the summertime period). Previous Windows versions were not able to have the hardware clock set to UTC, and the Windows time to the local time. That was / is a big mess, since almoust every other OS is using UTC preferedly.

Is this fixed in Windows 7 and is it now possible to use UTC in the BIOS and local time in Windows?

mru

Posted 2010-09-07T19:18:40.037

Reputation: 1 058

Answers

79

Have a look at this page:

Save the following lines as utc.reg, and then run it to import this registry tweak. It allows you to set the hardware clock in your PC’s BIOS to UTC time. This is handy for boot dual-booting Mac, or Linux, when those operating systems are set to read the BIOS clock as UTC time, instead of Windows’ preferred Local Time (e.g., PST, PDT, MST, MDT, CST, CDT, EST, EDT, or the standard “GMT-” and “GMT+”)

Here is the code to save as utc.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001

The equivalent answer can also be found here.

subanki

Posted 2010-09-07T19:18:40.037

Reputation: 6 702

Reading the link posted in another comment, I'm greatly encouraged by more recent updates at the link added since this answer was written reporting on patches issued by MS for this registry key. That they are issuing patches indicates the key is supported and that you should now expect it to work just fine. – Joel Coehoorn – 2015-07-06T05:09:59.957

I tried exactly this way, but my system says that it can only merge a binary registry file and refuses to do this with the plain text utc.reg. Anyway, I've changed this setting directly through regedit. (I haven't yet tested whether it works, because I assume I need to reboot to see the effect, so I went to reboot the system to see the effect, but have just booted the other GNU/Linux system and not Windows yes.) Thanks a lot to everyone involved for discovering and posting this hint; I hope it works. – imz -- Ivan Zakharyaschev – 2015-09-07T23:57:26.547

This can be applied in single line reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /f /v RealTimeIsUniversal /t REG_DWORD /d 1 – user2209299 – 2017-04-09T11:34:09.987

3it would be nice to include the relevant information in your answer, in case the pages you cite disappear. – Gilles 'SO- stop being evil' – 2010-09-07T20:06:53.157

17

Make sure you read the notes at http://www.cl.cam.ac.uk/~mgk25/mswish/ut-rtc.html - the RealTime option still has several glitches.

– user1686 – 2010-09-07T20:27:24.463

@Sathya Thank you sathya for editing , from next time I will make sure paste the information instead of links – subanki – 2010-09-08T22:13:31.630

3Ok, i knew this registry hack from former Windows versions and i thought in 2010 perhaps they've got managed to get such easy things as UTC support officially working. Unfortunately it doesn't seem so. – mru – 2010-09-19T15:26:43.227

Does this work with Windows 8? – pratnala – 2012-10-28T12:05:59.980

4@PratyushNalam Yes, it works with Windows 8. I just set it up. – Michael Hampton – 2012-11-29T17:46:08.663

12

Windows 7 support for UTC time in the RTC is at this time incomplete (July 2013), and not recommended by sysadmins who have tried to make use of it.

The site recommended by grawity above includes a useful summary of the state of this problem.

Currently, if you enable "RealTimeIsUniversal", occasionally the system time gets reset to a wrong time (UTC minus local offset). This causes the DHCP client to fail to refresh the dhcp lease and the system becomes disconnected until you manually refresh the lease, or restart the DHCP client.

Finding a workaround for this particular bug may be an acceptable tradeoff, but there might be other subtle bugs that come and go as Windows gets updated, due to the fact that the "RealTimeIsUniversal=1" configuration is not regression tested at Microsoft presently.

drok

Posted 2010-09-07T19:18:40.037

Reputation: 129

1

I want to add this link http://www.nathanhunstad.com/blog/2012/01/windows-7-utc-time-issue/ in which explains that sometimes Windows doesn't update the BIOS clock, but does make the UTC->Local time conversion.

The key is to make the change in the BIOS manually and Windows won't change it. It also speaks that Internet Time won't work correctly.

Hope it's interesting for you and find it usefull!

txomon

Posted 2010-09-07T19:18:40.037

Reputation: 137

Please post all relevant information from links into your answer, this will help avoid link rot – 50-3 – 2013-09-12T01:26:45.990

What did I miss? – txomon – 2013-09-12T08:45:38.723

you have linked an article (I think I can't open the link) I was just saying that this link is unlikely to exist forever if there was any extract from the article you could use to further explain your answer please include it in your answer – 50-3 – 2013-09-12T21:10:49.967

Well, this is meant to be an addition to the official and selected answer. I already wrote the important parts of it. (in which explains...) – txomon – 2013-09-13T08:16:30.577