Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

I recently bought a Mac Book Pro since I can now dual boot OS X and Windows XP. The only real issue that I've had is that OS X, like most Unices likes to set the hardware clock to UTC time. This causes the clock in Windows XP to be off by 5 hours (I'm in the central US timezone).



I recently discovered a registry tweak that will tell Windows to interpret the hardware clock as UTC time:




Windows Registry Editor Version 5.00

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



Just save the above reg script into a .reg file and import it to set your clock to UTC time. You can still set your timezone for the clock and have the correct time displayed. This can also be usefull if you are dual booting XP with any other Unix variations that like to set the harware clock to UTC. I usually run Linux and such in VirtualPC/VMWare so I havnt actually tried it with Linux.

Update:

It would seem that there are still some issues with this: http://blogs.msdn.com/oldnewthing/archive/2004/09/02/224672.aspx

It seems to work most of the "time" for me but 1 or twice a day the clock changes to the timezone offset again. I just have to do a w32tm /resync /nowait to fix it. My suspicion is that the clock applet in the tray is monkeying it up.
Published Tuesday, June 20, 2006 5:34 PM by findleyd
Filed under: , ,

Comments

# bloggingIT - Dual booting causes clocks to go mental!

Monday, April 30, 2007 4:54 AM by bloggingIT - Dual booting causes clocks to go mental!

PingBack from http://ccgi.maxpower.plus.com/2007/04/30/dual-booting-causes-clocks-to-go-mental/

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Thursday, May 17, 2007 6:23 PM by Chris Burel
Hi, Thanks for your post. However, I can't seem to get the w32tm /resync /nowait thing to work. I execute that command in the command prompt, and it says "The command completed successfully," but the clock on the tray doesn't change. Any thoughts?

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Friday, May 18, 2007 11:48 AM by findleyd

Actually it seems that the latest version of BootCamp has fixed this problem so I don't use the above method anymore. I'm also running Vista now instead of XP.

# Linux changing my BIOS clock? - Overclock.net - Overclocking.net

Pingback from  Linux changing my BIOS clock? - Overclock.net - Overclocking.net

# UTC e Windows

Tuesday, March 31, 2009 4:35 AM by UTC e Windows

Pingback from  UTC e Windows

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Wednesday, May 20, 2009 1:46 AM by Ryan

I now set windows to hide the clock in the tray until this is resolved. I only use windows for gaming and anytime it comes out of standby it changes the time... or whenever it feels like it.

# links for 2009-08-21 | ?????????

Friday, August 21, 2009 9:31 AM by links for 2009-08-21 | ?????????

Pingback from  links for 2009-08-21 | ?????????

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Monday, October 26, 2009 1:30 PM by dmmcintyre3

Thanks, That worked great

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Sunday, March 07, 2010 10:29 PM by Joshua Hansen

Excellent! Thanks a ton. I used to set Linux to use local time, but when I added OS X to the party I knew I had to figure out how to change OS X or change Windows. Since I wanted UTC, I changed Windows by using your registry entry.

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Wednesday, March 17, 2010 2:14 AM by Nick Clark

Thanks, fixed me a few problems

# System sets wrong values for time at boot and to hwclock during shutdown.

Pingback from  System sets wrong values for time at boot and to hwclock during shutdown.

# System time is always wrong after reboot

Thursday, January 06, 2011 2:16 PM by System time is always wrong after reboot

Pingback from  System time is always wrong after reboot

# Does Windows 7 support UTC as BIOS time? Drija

Saturday, June 11, 2011 10:14 AM by Does Windows 7 support UTC as BIOS time? Drija

Pingback from  Does Windows 7 support UTC as BIOS time? Drija

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Thursday, November 17, 2011 8:08 PM by Daniel

Seems Microsoft can't do simple math,

I currently have NTP sync on and UTC hardware clock enabled.

but my clock is ALWAYS 5mins fast, ntp sync fixes it for a while until something happens and changes back.

for the last 3 days in a row, the clock has been consistently out by 5mins, NTP manual sync fixes it, until I notice the next day that it has gone forward 5mins, and it'll stay at on 5mins fast for months.

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Wednesday, March 21, 2012 5:16 PM by Ralf

I set that on XP some time ago but after we went on DST the TZ went back to non-DST every day although I corrected it by hand and set up a NTP server.

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Wednesday, May 30, 2012 6:01 PM by Salcedo

I have beeing scouring that the google for this info and simply needed to thank

you for that the post. BTW, simply off topic, how can I find out a

duplicate of this theme – Thanks

# re: Set hardware clock to UTC on Windows (or how to make the clock work on a Mac Book Pro)

Monday, August 06, 2012 2:53 PM by Andrew Taylor

Yeah, me too.  Working fine now.  I'm surprised this isn't documented more as it must be a common situation.  Thanks!

# Mountain Lion GA-Z77X-UD5H Mostly Works (Disk Utility, GTX470, USB3 Reboot)

Pingback from  Mountain Lion GA-Z77X-UD5H Mostly Works (Disk Utility, GTX470, USB3 Reboot)

# Set Windows To Use System Clock As UTC | Click & Find Answer !

Pingback from  Set Windows To Use System Clock As UTC | Click & Find Answer !

Leave a Comment

(required) 
(required) 
(optional)
(required)