Boot Camp Bug?

May 13, 2006 · 33 comments

After talking with a few people that dual-boot OS X and Windows XP through the use of Boot Camp, it appears as though there is a slight bug. If the user boots into Windows and then boots back into OS X (or vice versa) the time changes by itself. Changing it back has no effect as it becomes altered again on the next boot into the other OS. I’m not sure if this is the result of using Boot Camp or whether it stems from the shortcomings of using these two operating systems which might poll the hardware clock differently and affect each other.

Scouring Google did not uncover an official support thread or anything of that nature. Is anyone else experiencing this problem on their Boot Camp’d dual-boot Intel Macs? Hopefully we can make this issue heard and someone or group of people can find a fix. So far, I have experienced this problem on a MacBook Pro and an Intel Mac Mini. Let us know if you have come across this problem.

{ 3 trackbacks }

Jon Beattie » Blog Archive » The end of two laptop hell
May 23, 2006 at 4:57 am
Fix Boot Camp time offset - Grupenet
December 4, 2007 at 9:48 am
wehikul czasu - MyApple.pl
March 17, 2008 at 7:22 am

{ 30 comments… read them below or add one }

1 Justin Bellmor May 13, 2006 at 3:37 pm

The time bug is annoying. Windows is always four hours ahead. OS X and Windows store time differently from what I’ve read. Pick the OS you want to see accurate time under and set the time correctly there (disable the internet time sync in the OS you won’t have accurate time under, or it gets borked again when it fetches the time) – I have to have OS X with accurate time or Kerberos fails due to time skew.

Reply   More from author

2 maxpower May 13, 2006 at 5:13 pm

I don’t know much about boot camp, but boot camps in general frown upon tardiness. In fact, being late in general pretty much guarantees an extra lap, or standing out in the rain etc.

Reply   More from author

3 Brandon May 14, 2006 at 1:12 am

This past Friday I had an IT meeting at work and Boot Camp came up. The one user’s experience with it said the required firmware upgrade fried his motherboard. When he returned it to Apple for the warranty repair, they told him that had happened with quite a few computers. At $1,100 a board, you would think Apple might want to save money and fix the software problem. He also mentioned that Apple recommended a software suite called Parallels instead of Boot Camp. It is always interesting to hear a company shy you away from their products.

Reply   More from author

4 Chris May 14, 2006 at 2:22 am

I’m not a mac user, but I did have OSX 10.4.5 installed on my PC, and when ever I booted into WindowsXP after use OSX, the time is out by a good couple of hours.

I’m not sure if the two are related, but it’s not just happening on Boot Camp.

Reply   More from author

5 Mads May 14, 2006 at 2:47 am

I have the same problem here on my iMac 20″, haven’t done much to fix it though since I’ve barely used Boot Camp…

Reply

6 Damien Guard May 14, 2006 at 3:00 pm

The reason for this is quite simple – alas the fix for Apple is not so easy and would involve adding a configuration option to OS X at best.

Basically OS X always stores the GMT time in the hardware clock. Windows stores the local time (including any DST’s) in order to be compatible with DOS.

One option would be to set your Windows time zone to GMT and remove the daylight savings time offset and also turn off network time sync.

[)amien

Reply   More from author

7 Jonathan May 15, 2006 at 11:06 am

I’ve seen this with dual booting Linux and Windows. It is indeed a GMT issue. At least with Linux i can make it compatible and change to EST rather than GMT and windows itself wouldnt get annoyed. The BIOS and Windows seem to love each other, but I am a big fan of NTP, much easier to deal with.

Reply   More from author

8 Charles Whitmer May 15, 2006 at 10:46 pm

Yes, I’m experiencing this bug on my 20 ” iMac.

Reply

9 Rob May 17, 2006 at 11:08 am

Interestingly enough, I’m seeing the same issue while dual booting Ubuntu Linux and Windows XP. It looks like it has to do with the way they handle time sync. I still need to play with the issue but I thought it was interesting that its not just an issue with Boot Camp…

Reply

10 richard May 18, 2006 at 11:15 am

Here’s the fix:

Make a batch file within Windows that contains the following 4 lines:

@echo off
net time /setsntp:tick.usno.navy.mil
net stop w32time
net start w32time

how to make a batch file if you don’t know: open Notepad, paste the following lines then save as synctime.bat, or whatever.bat… doesn’t really matter as long as you have the .bat extension.

Then add the batch file to your startup folder in your Start menu so that it starts whenever windows starts up.

This works perfectly on my MacBook Pro.

I can’t take credit for it, though.. I found it on a forum somewhere.

Reply   More from author

11 bruce May 25, 2006 at 8:10 pm

I’m still struggling trying to get Boot Camp Assistant to open. It wants me to update firmware but I’ve done the SMC firmware update… everytime I open Boot Camp I get a message that tells me that I need to do the update…my firmware tells me that I am up to date. catch 22.

I had Paralells installed and uninstalled that just incase it was the issue but still the same problem. Anyone heard of this or know of any fixes? I’ve been searching and haven’t seen anyone with the same issue.

Reply

12 Jason May 26, 2006 at 2:32 am

I have the same problem as Bruce. I found other on Macfixit.com with similar issue. But I have not found a solution yet. A bit frustrating. Welcome any suggestion.

Reply

13 rcs May 26, 2006 at 10:31 am

I just found this post over on the Apple boards and it works for me. Basically OS X resets the system clock to GMT and you have to set a Windows Registry flag to get XP to recognize that:

Reply

14 bruce May 26, 2006 at 6:45 pm

I figured out the firmware issue with bootcamp. there were 2 firmware updates… the last one (SMC) does not include the first one, they run in tandem. I installed the firmware posted 4/17 and it works fine.

Reply

15 initialE July 3, 2006 at 10:50 am

Here’s what I do.

In Windows I have a startup script that will adjust the time zone to your local time, and a shutdown script that will return the time zone to GMT.

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z Greenwich Standard Time

Er that’s the shutdown script. To locate your timezone regedit and find HKLM\Software\Microsoft\Windows NT\CurrentVersion\Time Zones, looking for the key name of your time zone (may not be the time shown in the time zones control of windows). I’m a Singaporean, hence

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z Singapore Standard Time

You know you’ve got it wrong when Windows prompts you to choose your time zone in a window.

Reply

16 Tom July 24, 2006 at 9:13 pm

Yep. I have a MacBook with Boot Camp installed to dual boot, and the clock changes when you change OS’s. It has been my experience that whenever you have a dual boot system with a Microsoft OS and “something else” (OS X, Linux, etc.), the clock changes whenever you move from one OS to the other.
This has not been the case with using, say, a dual boot computer with two Microsoft OS’s installed.
The earlier post I think is right: it has something to do with how the OS handles the clock.

Reply

17 it works Mr. initialE August 9, 2006 at 4:19 am

For now, initialE is right with is solution it actually works well.

write up an bat file with notepad like described eralier in this thread.

(if your system keeps opening the file as an text file, try this: go to tools folder options in a folder and select view. scroll down and UNselect “hide extentions for known file types”. now you can rename your file with the correct extention).

Cant wait until all apps are ported to os x, so I dont need two systems anymore.

Reply

18 Blake October 24, 2006 at 10:30 am

Can anyon help? This issue is so annoying, It seems if you go to install boot camp before updating your firmware, it is too late. I went back and updated my firmware, I checked in system profiler I most defintiely have the updated firware 1.2 for my Mac Book Pro, and hwen I run Firware updater it agrees I am up to date.
But When I run Boot Camp assistant, it tells me I need to update my firmwae for it to run. Anyone know anyway I can fix this without redoing the machine?

Reply

19 bruce October 24, 2006 at 11:26 am

you need to install the April 06 firmware as well as the May 06 firmware release (you need them both)

Reply

20 bruce October 24, 2006 at 11:27 am

you need to install the April 06 firmware as well as the May 06 firmware release (you need them both). I couldn’t find any documentation on this when I was having the problem back in May… and had the exact same problem. the fix above will take care of it.

Reply

21 Matt Hansen November 1, 2006 at 9:37 am

Thanks for the info…. (I made a batch file like listed above) I am running into this problem as well. My biggist problem with the system is that for my work I need to send out emails from a cobalt server that requires me to use the Windows OS (sucks, I know). I have to send out emails to inquiring customers within a two hour window… the program logs my clock, not theirs. This problem makes my response times way very inacurate. Thanks for the fix… I hope it works!!! (though I dont know what the firmware update is you are talking about is)

Reply

22 Pagefright January 23, 2007 at 10:47 pm

Here is a quick and simple method of getting Windows to reSync it’s clock during startup.

1. Create a new shortcut with the following information:
%SYSTEMROOT%\System32\w32tm.exe /resync /nowait

2. Place the newly created shortcut in your “Startup” folder (located in the Start Menu).

That’s it! This will tell Windows to resync it’s clock to the default internet time server when availiable, which means this will only work if you have an internet connection.

.

Reply   More from author

23 Court May 3, 2007 at 12:59 am

Any ideas for startup/shutdown scripts that don’t require syncing to internet time? (or altering prev posted one?) i like to keep my computer clock 20 mins ahead because it keeps me on time (yes, i’m that bad at pulling myself away from the computer–pathetic. . .)

Reply

24 minxin December 7, 2007 at 8:15 am

Is it possible to solve the problem like this? First observe what is the amount of time discrepency between your Mac and Windows systems. Then select a correponding time zone (which is not your actual time zone) in either Mac or Windows to offset the difference.

Reply

25 Chris January 23, 2008 at 1:03 pm

I seem to have this issue with the clock. My windows Time is always right since I favor windows at home. My Mac OS X clock however it + or – 6 hours. EX: it’s 11:03am right now and my Mac clock reads 5:03am

Reply   More from author

26 winbizmac April 26, 2008 at 5:46 am

I am using the latest OS X10.5, bootcamp 2.1 and Vista Business. Time is still shifting when booting from OSX to Vista and back. Apple support said that we need to set the system preference to “automatic clock” and with internet connection. I done as instructed but useless–> still time shift. So, I think the bug is still there with 10.5 and bootcamp 2.1

Reply   More from author

27 Andrew April 29, 2008 at 10:50 am

this works, but i am in EST and now the clock is 1 hour off

Reply

28 juston dean July 28, 2008 at 6:41 pm

the batch file idea only vaguely works. when i log onto my admin account i can see the batch file run and then fix my clock, but when i log into my normal account i don’t see the batch file run and the clock is still wrong. also, so far my mac osx is still showing the wrong time every time i reboot into it.

Reply

29 Tom H February 23, 2009 at 7:54 am

So at 2/18/09 this is still an issue when you boot into windows directly, not thru VMWare. I use a macbook pro and at times I need to take it into the field and boot up xp to do some programming work. When I do XP is off by 5 hours [Im in EST zone] After much searching I came up with this solution;

Create text file call fix time
Add following text;

Check System Time, if windows is boot source and no internet present, time will be off.

Save it to drive
Drag it into start up items so it opens at boot

this reminds me to fix time every time I boot into xp. simple but it works. [not really just reminds me to correct the time so my time based programming work is on time.]

Reply

30 Zach Griswold February 28, 2009 at 8:42 pm

The OSx86 Tips and Tricks page describes a really good fix, you can find it here: http://wiki.osx86project.org/wiki/index.php/Tips_And_Tricks#Use_Localtime_instead_of_Universal_for_RTC. If you don’t want to perform this task manually I created an script to automate it which you can find on my blog http://zachgriswold.blogspot.com/. Hope this helps someone!

Reply   More from author

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Gmail Pictures Nearby

Next post: Ubuntu Quickie: Enable Dapper Repositories