Share via

Does Windows 7 use UTC?

Anonymous
2009-08-28T16:38:43+00:00

I've set up a dual boot betwix Windows 7 RC and Ubuntu. Every time I boot into Windows after booting into Ubuntu I get the wrong time which is kind of annoying. I have to resync online with Windows to get the right time, but since I can change what format Ubuntu saves its time as I just want to know what format Windows uses. Is it UTC? Is it local? Is it magic?

Any help would be appreciated.

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2009-08-28T20:08:52+00:00

Windows expects the BIOS clock to be set to local time, and modifies it when you switch time zones.  Linux generally expects the system clock to be set to UTC, and translates it to local time whenever you display it.  Just a difference in defaults.

There is a hack to make Windows run the system clock in UTC, but you can change /etc/default/rcS on your Ubuntu drive to say UTC=no and be supported by both OSes, I believe.

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-01-20T15:18:24+00:00

    I realise this is old but it ranks high in search results so figured i would post.

    Windows 7 can use UTC instead of Localtime. The time is stored in the bios, and of course is set to utc by linux and localtime by windows by default

    To make this change you do need to alter the registry to be able to do this. This is an easy task if you are comfortable with windows registry

    You will need admin privledges to do this, if your dual booting im guessing you know what you are doing

    Create the following file WindowsUtcTime.reg and then place the following contents into the file.

    Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]"RealTimeIsUniversal"=dword:00000001

    Once Saved open and windows will take care of the rest.

    You will need to reboot for this to take affect.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-01-20T15:39:13+00:00

    You say you are dual booting with Windows 7 RC.  Is the RC a typo?  I thought the release candidate had already time-bombed.  In fact, 7 sp1 is upon us on any week now.


    Colin Barnhorst

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2009-08-28T19:44:25+00:00

    Either Ubuntu or Windows is probably not set to your correct Time Zone.


    Rating posts helps other usersMark L. Ferguson MS-MVP

    Was this answer helpful?

    0 comments No comments