Skip to content

Running IE on your Mac in VirtualBox (for free!) revisited

I’ve been developing a few rails applications recently and wanted to test them in IE. A quick google search turned up this excellent article. While that writeup (and its comments) has some excellent content, it is a little dated. Thanks to advances in VirtualBox, I was also able to reduce the number of steps required.

This procedure still isn’t for the tech savvy. You will encounter a Windows blue screen of death for example, and have to use the command prompt, but hopefully it’ll be worth it in the end.

What I wanted to achieve is the ability to test my site using licensed versions of IE6, IE7 & IE8, on my Mac, for free. As it turns out, Microsoft supplies free VirtualPC images “for testing websites with different IE versions on Windows XP SP2, Windows XP SP3 and Windows Vista”. Sweet!.

Downloads

You’ll need to download a few things :

  • VirtualBox, an excellent free desktop virtualization solution from Sun. Follow the installation instructions.
  • A VPC image. Don’t let the fact that the download is an exe deter you.
  • Zipeg to extract the image(s) you download.

Steps

Extract the VHD file

  • Rename the .exe image you downloaded to .zip
  • Open Zipeg and extract the zip file. Of the contents of the zip, the only file you need is the .VHD file. I’m extracting it to a VirtualBox specific location, but this could be any folder on your system. This takes a few minutes on my MacBook.
Extract the image

Extract the image

Setup VirtualBox

  • Start VirtualBox and create a new virtual machine
Getting started

Getting started

Naming VM

Give the VM a name

Configure RAM

Give the VM some RAM

Configure the hard disk, choose "Existing" here

Configure the hard disk, choose "Existing" here

Select the VHD you extracted in the first step

Select "Add" and then choose the VHD you extracted in the first step

You are done! Click Finish, and then Start the newly created VM

You are done! Click Finish, and then Start the newly created VM

Get past the Windows Blue Screen of Death (BSOD)

  • At first boot, you’ll likely encounter the infamous BSOD. Here is how you get around it. As soon as you start the VM, press fn + F8. That’ll bring up this options menu
Select Safe mode with Command Prompt

Select Safe mode with Command Prompt

  • You get around the BSOD by renaming the file that is causing the error, in this case processor.sys. (You’ll likely encounter a number of “Files needed” and “Found new hardware wizard” dialog boxes, I just kept pressing cancel until I go to the command prompt)
Rename processor.sys

Rename processor.sys and then restart the machine.

  • After a restart, you’ll finally be rewarded with a Windows desktop, and presented with the EULA. You’ll also still run into a number of “Files needed” and “Found new hardware wizard” dialog boxes. Keep canceling them.

Install VirtualBox Guest Additions

  • With your VM running, select Devices > Install Guest Additions, and follow the wizard. Select Continue Anyway when prompted. Finish the install, and select the option to reboot later.

Configure Networking

  • Finally, we need to get networking working. While VirtualBox used to ship with Windows XP drivers for their network interface, they don’t seem to be included in the guest additions any more (As of 2.1.4?)
  • On your Mac, type the following commands into the terminal to download the drivers from AMD
      $ mkdir VirtualBoxShares
      $ cd VirtualBoxShares
      $ wget http://www.amd.com/us-en/assets/content_type/utilities/V4.51.zip
      $ unzip V4.51.zip -d driver
  • Configure sharing so that you can access the afore extracted drivers from the windows VM.
With the VM running, select "Devices > Shared Folders" to bring up this dialog

With the VM running, select "Devices > Shared Folders" to bring up this dialog

Point this at the VirtualBoxShares directory you made earlier

Point this at the VirtualBoxShares directory you made earlier

Press OK to complete the sharing

Press OK to complete the sharing

  • In the Windows VM, Click Start, click Control Panel, click Performance and Maintenance, and then click System.
  • On the Hardware tab, click Device Manager.
Device Manager.

Device Manager.

networking-2

Right-click on the Ethernet Controller and select Update Driver...

Don't connect to windows update (since we don't have a network yet!)

Don't connect to windows update (since we don't have a network yet!)

We'll tell it where to find the AMD drivers

We'll tell it where to find the AMD drivers

Select "Include this location in the search" and then "Browse"

Select "Include this location in the search" and then "Browse"

Browse to the location of the shared folder.

Browse to the location of the shared folder.

Getting closer!

Getting closer!

Networking is configured!

Networking is configured!

  • Finally, launch IE, and ensure you’ve got connectivity.
Sweet success!

Sweet Success!

Summary

An hour or two of tedium is rewarded with a functional Windows VM, one on which you can browser test to your hearts content. Hopefully  my outlining of the steps will allow you to get through it quickly and with minimum frustration!

I should note I haven’t tried this process with the Vista VPC images yet, so would love to hear your feedback if you have.

29 Comments

  1. How can you say “free” if you still need a windows license ?

    Posted on 10-Mar-09 at 11:56 am | Permalink
  2. @Guigouz, it is “free as in beer”, gratis, wont cost you a cent! Microsoft supplies those licensed VPC image at no cost.

    If what you are implying is that using Windows isn’t “free as in speech”, I couldn’t agree more!

    Posted on 10-Mar-09 at 12:23 pm | Permalink
  3. pbuck

    Very cool.

    I got XP IE6 image working fine, but when trying to create virtual machines for XP IE7 and XP IE8, I got error in VirtualBox… When trying to add existing virtual hard disk, I select the VHD file. VirtualBox indicates “Falled to open the hard disk …./XP SP3 with IE8 RC1 2009-Jan.vhd.” with details:

    Cannot register the hard disk ‘/…/IE8RC1XPSP3/XP SP3 with IE8 RC1 2009-Jan.vhd’ with UUID {b6202eec….} because a hard disk ‘/…/IE6.vhd’ with UUID {b6202eec…} already exists in the media registry.

    I assume I’d need to change the UUID associated with the new VHD files… did you do this step? How?

    Posted on 19-Mar-09 at 5:20 am | Permalink
  4. @pbuck, you are supposed to be able to change the UUID, using the VBoxManage internalcommands sethduuid command, but I tried it, and ran into this bug in VirtualBox.. Ugh!

    I’ll poke around to see if there is a workaround.

    A really ugly workaround is to completely remove the IE6 VHD from the Virtual Media Manager, and add the IE7. This means you’ll only be able to work in one image at once. What a PITA.

    I’d love to hear if you find a solution.

    Posted on 19-Mar-09 at 9:11 am | Permalink
  5. pbuck

    yep, that’s what I’m seeing also. At the moment I unloaded IE6 VHD, and am using only IE8 VHD. It is a PITA, but I _do_ have IE8 running for website testing!

    Posted on 19-Mar-09 at 10:13 am | Permalink
  6. @pbuck

    Sweet!

    Did you download the VPC image today? It appears that they’ve updated the IE8 image since that was officially released this morning.

    Posted on 19-Mar-09 at 2:34 pm | Permalink
  7. pbuck

    downloaded XP/IE8RC1 image last night, and then updated to IE8 this morning via normal MS software update. Found a couple bugs in my site & one in google maps code…. Yet another browser to test against .

    Posted on 19-Mar-09 at 6:06 pm | Permalink
  8. Joseph

    Deepak
    This was so helpful, Thank you!
    The truly step-by-step process is great. The screenshots are A+.

    The only thing I would add is that I had to restart the Windows VM after sharing the folder with the driver.

    All the best,
    Joseph

    Posted on 27-Mar-09 at 5:31 pm | Permalink
  9. THANKS A LOT!!!
    This helped me a LOT!
    i really needed this and i didnt want to wait for a windows machine to come in my hands. THNKS!

    Posted on 12-Apr-09 at 1:45 pm | Permalink
  10. mark

    excellent, thanks!
    got it all working, but my question is what now?
    if i’m building a site in dreamweaver on mac, can i somehow select IE as a preview
    browser now?
    or do i need to actually upload the site to test on IE?
    will admit that i haven’t read the virtualbox manual yet.

    Posted on 12-Apr-09 at 9:42 pm | Permalink
  11. @Mark, I’m not familiar with the way Dremweaver runs a preview. Does it launch a webserver? i.e. when you do a preview using an existing browser (Safari e.g.) , what is the URL in the address bar? You may be able to just copy that address into a VirtualBox instance.

    Posted on 12-Apr-09 at 9:54 pm | Permalink
  12. mark

    thanks deepak,
    DW browser previews are just a local page with a “file:///” address instead
    of an “http://” so the copy and paste address into an IE window in VirtualBox doesn’t work.
    need more info, but maybe it comes down to buying a copy of DW for windows.

    Posted on 13-Apr-09 at 9:42 am | Permalink
  13. @Mark, in that case, one possibility might be to create a VirtualBox share that is the directory pointed to by the “file://” address, and then mount that in the Windows VM (similar to what we did above to get access to networking drivers), and then point IE at that share.. a little convoluted admittedly :)

    Posted on 13-Apr-09 at 6:33 pm | Permalink
  14. Ryan

    THANK you!!!! worked perfectly… not sure if the build # changed or something but I got no BSOD! all the other directions were flawless

    Posted on 21-Apr-09 at 12:02 pm | Permalink
  15. Miguel Guerra

    Hi,

    The VPC image from microsoft expired on 30 April. It does not work anymore.
    Any solution?

    Posted on 01-May-09 at 1:09 pm | Permalink
  16. @Miguel,

    What kind of error are you running into? Are you creating a new VM following these instructions? If so, the VPCs on Microsoft’s site indeed say they expire on April 30th. They typically release new VPCs a day or two before the old ones expire, but they haven’t done that yet.

    FWIW, I am still able to run the VM I created when I wrote this article.

    Posted on 01-May-09 at 1:50 pm | Permalink
  17. Miguel Guerra

    Hi,

    Yesterday, when I wrote my question, I got a message saying that the Windows licence will expire in one hour and I should get a new one. Although today when I opened the vitual machine, it was all ok without any Windows message.
    Thank you anyway.

    Posted on 02-May-09 at 7:42 am | Permalink
  18. Miguel Guerra

    Hi,

    I got the message again:
    http://www.aposta-na-net.com/content/windows_message.png

    Posted on 04-May-09 at 9:26 am | Permalink
  19. Matt Faulds

    Thank you for putting this up – fantastic work! It’s painful that the drivers aren’t included.

    Posted on 14-May-09 at 2:16 pm | Permalink
  20. Kristian J.

    Thanks! Excellent walkthrough. I had tried this earlier without luck, now I finally got it working.

    I didn’t get any BSOD though (XP SP3 w/IE-8, virtualbox 2.2.4).

    Posted on 30-Jun-09 at 5:24 am | Permalink
  21. Mike

    Excellent!!!! Just what I needed.

    Thank you

    Posted on 04-Jul-09 at 8:16 am | Permalink
  22. anna

    Thanks SOOO much for the walkthough to configure networking. The past two times I’ve set this up, I always manage to blunder through it somehow, but couldn’t figure it out after downloading the latest version of VirtualBox (3.0.2). That shared folder thing is kickass!

    Posted on 23-Jul-09 at 1:45 pm | Permalink
  23. Corbin

    I know that this article may no longer be monitored, but I thought I would try my luck. I found that the steps here were sooooooo easy to use, so thanx for posting, but as I am trying to setup this on my Mac, the XP images I have tried downloading, all say they need to be registered.

    Has anyone else had this problem? Or better yet, know a way around this?

    Thanx again for the awesome post.

    Posted on 24-Sep-09 at 6:50 pm | Permalink
  24. Yeah, unfortunately Microsoft decided to require registration for these. They effectively removed the way for developers to test their code on MSIE browsers. It really sucks.

    Don’t worry, the day is coming when you won’t have to support MSIE any longer.

    Posted on 26-Oct-09 at 11:48 am | Permalink
  25. Justin

    Update, 2010 September:

    I’d like to add a current status on this for September 2010 as I just spent an unhappy half day getting it working.

    - The BSOD does not happen anymore
    - The Microsoft downloadable virtual images are licensed typically only for 30 days! BUT, the license requires them to be used in (on) an existing licensed windows! thus they will gripe about activation and windows genuine advantage. They are obviously not or no longer intended to be used like this (for cross platform web testing). So you get 3 days and limited reboots before they lock up. Doh!
    - The Network driver I had terrible problems finding (all those bogus download sites, and AMD does not offer it anymore) until I switched in virtual box machine settings to Intel Pro 1000, and downloaded the standard Intel driver. Voila. Networking.
    - The password for default IETest user on the test XP image should be changed immediately to ‘IETest’ or something, because the default is something that will lock you out and you need to google to locate. It is something like P2assw0rd.
    - If you want to avoid all the activation/wga hassles, for the XP SP3 images anyway, find & download AntiWpa_x64_x86_sp3_apr09 (or later) and run it.

    Now I am all set, good article. Just needs updating!

    Posted on 02-Sep-10 at 2:07 am | Permalink
  26. DaveBeazer

    hello. i’ve been following the steps and have got to a point where I have a virtual machine with windows xp sp2 with IE7 working.

    Im at the point where I need to get the internet connection working and don’t know where to find devices…?

    Also just read the Sep 2010 update and am wondering if this is still the best way to go to test IE on a mac?

    I’ve read that running parallels and then trying to install IE6,7,8 separately can cause some issues.

    I currently have to go to a computer lab at my uni to IE test and they only have I7. Help on a solution would be GREAT!

    Thanks

    Posted on 28-Oct-10 at 8:37 am | Permalink
  27. This really saved me thanks a bunch I was searching everywhere! Shared it with a few friends recently.

    Posted on 04-May-11 at 12:14 am | Permalink
  28. Good day, I can’t find the contact form here, I like your site and I have something want to contact with the onwer, thanks.

    Posted on 06-Oct-11 at 11:28 am | Permalink
  29. Oh man you are a life saviour. I was looking for something like this for a while now.

    Posted on 10-Oct-11 at 10:04 am | Permalink

2 Trackbacks/Pingbacks

  1. The Ultimate Sandbox « MEDIA SALT on 14-Apr-09 at 8:08 pm

    [...] guide about the installation process; I’m not going to reinvent the wheel here, so go follow the guide to install Windows XP SP3 with Internet Explorer 6. Join me back here at step 2 when you’re [...]

  2. links for 2009-09-02 | Shinji Kuwayama on 02-Sep-09 at 4:08 pm

    [...] Running IE on your Mac in VirtualBox (for free!) revisited – Yet Another Programming Blog Totally replaces VMware on my Macs. (tags: mac ie testing ie6) [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

Spam Protection by WP-SpamFree

  • patterson kelley heat exchanger kelley
  • beet goat cheese beet
  • 14 carrot cafe seattle carrot
  • findley roofers acworth ga roofers
  • pinhole camera lenses pinhole
  • masons patent nov30th 1858 masons
  • discrete mathematics combinations mathematics
  • frontera roasted tomato salsa frontera
  • workstations accountability form accountability
  • bernstein international monuments bernstein
  • openbsd frequently asked questions frequently
  • scary kids scaring kids holding scary
  • virtua girl hd torrent sandra virtua
  • union county readers workshop nc workshop
  • country smokehouse imlay city smokehouse
  • illegals coming into us desert illegals
  • mareike thum mareike
  • florist kenner la 70065 kenner
  • belmar school belmar
  • pj's coffee shop franchises for sale franchises
  • silke sauter silke
  • slander and the work place cases slander
  • ssh putty downlad chiark putty
  • hoyle games closes down hoyle
  • tag heuer frame heuer
  • weeds showtime season 3 showtime
  • interesting travel kansas interesting
  • creating a merge document in word document
  • provera injuries to baby from provera provera
  • gene shaw villanova baseball gene
  • ingrid mccallum santa rosa beach florida mccallum
  • wyndam hotel el paso tx wyndam
  • goddard alliens in your neighborhood goddard
  • stitching ott light stitching
  • gambler gunnison gambler
  • rosemarie poliet rosemarie
  • gothic clubs in fayetteville gothic
  • alternatives to mellow light iv mellow
  • free novel eckhardt tolle on patience tolle
  • ohne dich lyric ohne
  • hotels chelmsford massachusetts chelmsford
  • lloyds tsb united kingdom berkshire lloyds
  • servo to encoder connectors encoder
  • kubota 4330 service manual kubota
  • olivet luthern fargo nd olivet
  • aaj kala joda mp3 kala
  • laptop competion nz competion
  • lanny bip sokol lanny
  • hrw atlas mundial anguilla mundial
  • twin discs 514 discs
  • ultimate linx communications linx
  • albrechts volk delfshaven volk
  • shire of waroona wa shire
  • integra usa integra
  • trainee mind trainee
  • laker girls laker
  • dia de los muertos alter decorations muertos
  • l c h resourses inc resourses
  • joist hanger installation joist
  • used easton havoc bat havoc
  • gehl skidsteer wheel skidsteer
  • 02 ranger shocks bilstein ranger
  • king power pot puller review puller
  • buckingham little league elijah roche buckingham
  • foxfire texas resort foxfire
  • extracting first and last names extracting
  • cellulitis antibiotic treatment cellulitis
  • mali and sheryl malcolm marshall barbados mali
  • ethos development ethos
  • political cartoons about the dust bowl cartoons
  • buy hungarian paprika top quality paprika
  • grandparents raising grandchildren blogs grandchildren
  • selenium related diseases selenium
  • sparrows pictures sparrows
  • anybody to chat anybody
  • virginia basketball referee rulebook referee
  • arizona admiralty lawyer rating admiralty
  • petroleum engineering opportunity belgium opportunity
  • gareth eames tiverton rhode island eames
  • crutches assistance crutches
  • gladstone models meadowlakes gladstone
  • c-west super aero louver hood 350z aero
  • vallejo ca times herald vallejo
  • pleasantville ohio local news pleasantville
  • treating pins and needles pins
  • thermo generator history thermo
  • horner family in idaho horner
  • famous scientist of japan scientist
  • nottinghamshire history and archaeology cambridge county archaeology
  • mechwarrior home mechwarrior
  • incomplete dominance in plants dominance
  • pharmacist michigan suny buffalo pharmacist
  • audiology licensure audiology
  • predator prey relationships in arctic predator
  • bubble buddy game buddy
  • celtics and basketball celtics
  • modify software modify
  • two plus two bob seger system seger
  • brain injury prolonged pt prolonged
  • madeline bozzelli madeline
  • cassandra soul calibur iv screens calibur
  • pentax w60 camera best price pentax
  • advance aluminum castings corporation castings
  • gustavo velazquez localizaci n de facilidades velazquez
  • gena wild previews gena
  • urea formaldehyde thermoset formaldehyde
  • anarchist cookbook free online anarchist
  • haight ashbury 60 s haight
  • dunkin donuts westboro donuts
  • how to investigate kidnapping investigate
  • ghost videos caught on tape caught
  • is charles capps still living capps
  • jurassic park hd torrent jurassic
  • powerpuff girls wiki powerpuff
  • crestwood idylwood crestwood
  • ernie halter played mp3 ernie
  • villeroy boch savoy boch
  • renters bureau renters
  • romana poepping krawciw romana
  • bluecross blue shield insurance bluecross
  • andorra scottsdale andorra
  • can oxycodone affect blood sugar oxycodone
  • sanford's antiques san anselmo california anselmo
  • cartoon piranha fish piranha
  • nortel japan telephone fax numbers nortel
  • lactic acid bacteria in yoghurt production lactic
  • baptistry sediment filter sediment
  • distribuidora de electronica sinavi electronica
  • paul brandt fly brandt
  • italian restaurant cedar place beechwood ohio beechwood
  • prey and predators of the taiga predators
  • tina lotter tina
  • free monthly horoscopes a true psychic horoscopes
  • antidote for motrin antidote
  • pearl rhinestone wedding jewelry rhinestone
  • jennifer barkley massachusetts barkley
  • 1876 1910 romance 1876
  • fly pets compartment under cockpit $75 compartment
  • mdma dental erosion mdma
  • quorum wall sconce quorum
  • business investing stocks and bonds small investing
  • genesis severna park md severna
  • retractable awning support pole awning
  • unanwsered prayers garth brooks garth
  • bayside yankees 2008 vinny ferraro vinny
  • eliot's deli stoughton ma stoughton
  • falling bra straps people looking straps
  • clear cache xbox 360 cache
  • lisa evers ohio evers
  • boxed edition the good earth oriental boxed
  • erin christensen old christensen
  • medecin marseille rue de lodi marseille
  • super bowl partys in alantic city partys
  • starcraft christmas starcraft
  • fawn ridge estates fawn
  • tumwater family clinci tumwater
  • snowmobiles sherton wyoming area snowmobiles
  • lips of an angel akon lips
  • shrimp shooters recipe shooters
  • loretta lynn family info loretta
  • horizonview chillicothe ohio chillicothe
  • gooseneck hauling jobs texas hauling
  • who pandemic 2008 pandemic
  • captain claw cheat codes claw
  • symptoms immediately preceding labor immediately
  • tracfone motorola gsm c139 4 tracfone
  • darby creek excavation circleville ohio circleville
  • bathroom remodeling schiller park schiller
  • 2009 all star nationals u16 female nationals
  • free royalty free music sounds royalty
  • planned parenthood texas brownsville parenthood
  • transfer mange on clothes mange
  • crave tube clips crave
  • darien lake amusment park amusment
  • truro 11 november remembrance service truro
  • unusual sunflower seeds garden sunflower
  • testicular muscle injured testicular
  • you gotta walk that lonesome valley lonesome
  • file extension ebk details extension
  • lowes infield camping lowes
  • star wars galaxies spaceship textures imperial spaceship
  • free cavity search pics cavity
  • glass insert for exterior doors exterior
  • bullmastiff size bullmastiff
  • devo jocko homo devo
  • shelby car keychains shelby
  • burn to dvd burn
  • 2020 pic 2020
  • reinhart auctioneers reinhart
  • traditional roma stories roma
  • maximus photos fegie maximus
  • welcome to molly meadows com welcome
  • kunst wahnsinn kunst
  • sending magazines to deployed soldiers deployed
  • grants specific for cancer survivors opportunities survivors
  • canadian shield special events shield
  • rugs runners cape cod rugs
  • turn soldering gun into spot welder soldering
  • tunnel to heaven animation tunnel