Creating an Internet Explorer Testing Environment on a Mac
by c.bavota | Posted in Tutorials | 37 comments
I have been a Mac man for a long time. I know some people hate ‘em for whatever reason, but I have always found them to be great machines for what I do. The only thing that makes it a little tough when it comes to working on the web though, is the fact that you can’t really test in IE, unless you install something like Parallels Desktops and Windows. That works somewhat, but a copy of Parallels Desktop will run you $79 and Windows can cost you $100 or more. In the end, it costs quite a bit and you can only run one version of IE. That doesn’t really make for a great testing environment, especially when there is a better option out there that is absolutely FREE.
I had previously written about Installing Microsoft Explorer 6 on a Mac but recently I discovered a better way of setting up a testing environment for IE thanks to Andrew Odri and Jeff Couturier and their great articles. (All credit goes to them in steering me in the right direction on this one.) There were a few problems I encountered along the way so I thought it would be a good idea to let you know exactly how I got it to work.
Here is what you need before we start:
- VirtualBox 2.0.6 – Only version 2.0.6 will work for this tutorial.
- Q – this make it possible to install 3 versions of IE
- Zipeg – to convert the IE files to a format we can use
- Internet Explorer – download these three files: IE6-XPSP3.exe, IE7-XPSP3.exe, IE8-XPSP3.EXE
Once you have downloaded everything, install VirtualBox, Q and Zipeg.
I’ve broken it down into three sections. First, I’ll show you how to get everything ready. Next I’ll walk you through installing IE with VirtualBox. Then I’ll help make sure everything runs properly.
For this tutorial, I’ll use IE6-XPSP3.exe as an example. Afterward, just repeat all the steps below to install IE 7 and IE 8.
2. Create a sub-folder in your Applications directory called “IE”.
3. Launch Zipeg and drag the IE6-XPSP3.zip file into it for extraction. Extract the .vhd files into the IE sub-folder you created.

4. Open up your IE sub-folder and you will see a folder called “IE6-XPSP3″. Open that folder and you should have a file called “XP SP3 with IE6 2009-Apr.vhd. Rename that sucker something simple like ie6-xpsp3.vhd.
5. Now launch Terminal (Applications => Utilities => Terminal) and type:
/Applications/Q.app/Contents/MacOS/qemu-img convert -O raw -f vpc /Applications/IE/IE6-XPSP3/ie6-xpsp3.vhd /Applications/IE/IE6-XPSP3/ie6-xpsp3.raw
This will take about 5 minutes to process so just wait until your Terminal prompt returns.
6. Next, type:
VBoxManage convertdd /Applications/IE/IE6-XPSP3/ie6-xpsp3.raw /Applications/IE/IE6-XPSP3/ie6-xpsp3.vdi
This will also take a few minutes so just wait for that prompt to return.
Now we need to launch VirtualBox to get the show on the road. Once you have the software opened do the following.
1. Click the New button in the top left to enter the “Create New Virtual Machine” wizard.2. Click “Next” and enter “IE 6″ in the Name field and select “Windows XP” as the OS Type.
3. Click past the next screen until you reach the Virtual Hard Disk page. Click the Existing button and a new window will open.
4. Select “Add”. Browse through your folders to Applications => IE => IE6-XPSP3 and select the .vdi file that we created through our Terminal commands above. You will return to the Virtual Hard Disk page. Click next.
5. You should now be at the Summary screen. Click finish and you will see a selection for IE 6 in VirtualBox.
Now that everything is installed, let’s launch IE 6 and make sure it runs properly.
2. A bunch of hardware prompts will appear. Just cancel them all. Go to the Start menu and select Run. Type “cmd” to open the command line.
3. Type the following at the command prompt.
cd \WINDOWS\system32\drivers ren processr.sys processr.old exit
4. Restart Windows.
5. When Windows loads up, close all those popups. Go to the top menu of Virtualbox VM (your Windows window) and select Devices=> Install Guest Additions. Click through the windows. If a warning comes up just click Continue Anyway and move on. When the process is complete, select Reboot Now and click Finish.
6. After Windows reboots, more popup windows will appear. Cancel them all and go to Start => My Computer, right-click and select Properties. The System Properties window will appear. Go to Hardware => Device Manager.
7. Now you will see a list with two items that are not recognized. First, select Batteries => Unknown device and right-click. Disable this because you will never use it. Next go to Ethernet Controller and right-click. Select Update Driver.
8. In the Hardware Update Wizard, select the middle option “Yes now and every time I connect the device” and click next. Click next again to install the driver automatically. Close all your windows.
9. Click on the desktop icon to open Internet Explorer 6.
And there you have it. Repeat the process to install IE 7 and IE 8 so you can round off your testing environment.
TIP: If you don’t want to wait for Windows to load each time you open your VirtualBox VM, click the red x at the top on your window and select Save the machine state. Next time you access your IE 6 VM it will be exactly how you left it.




After following these instructions, I was able to get IE to work in the VirtualBox’s Windows XP guest operating system. But XP is nagging me with messages saying that I have 3 days to activate it. Will I really need to activate XP or does the “clock” restart every time I restart VirtualBox?
Hey Jason,
I just went through the installation again and I did not encounter the same issue as you. What are your Mac system specs? Did you complete the steps above exactly?
I did follow the instructions exactly as stated.
After booting up in Safe Mode and renaming the processr.sys file to processr.old, I restarted Windows. Upon rebooting, I saw a message that stated that too much “hardware change” had occurred and Windows needed to be reactivated within 3 days.
There’s a permanently displayed “Windows Genuine Software” nag in the lower right corner above the system tray. If you click on it, it opens a Microsoft webpage that states:
I’ve posted a screenshot online: click here for the virtualbox screenshot
My Mac System Specs:
iMac7,1
Intel Core 2 Duo
2.4 GHz
4GB RAM
Leopard 10.5.8
Great Tutorial!
However, after installing and attempting to fire up VirtualBox I get this error:
Could not load the settings file ‘/Users/nick/Library/VirtualBox/VirtualBox.xml’.
Cannot convert settings from version ’1.7-macosx’.
The source version is not supported.
Result Code:
NS_ERROR_FAILURE (0×80004005)
Component: VirtualBox
Interface: IVirtualBox {557a07bc-e6ae-4520-a361-4a8493199137}
Any help would be great!
Hey, I’m having the same problem. I’ve used VB before, for Ubuntu and Windows 7 testing. I’m getting the same Windows Genuine Software nag, and having problems installing guest additions.
Any ideas?
I hade the same problem with the Windows Genuine Software nag… anybody ever make any headway on this?
Same problem. If you reboot the VM a few times, it totally locks you out, looking for a CD Key. I have this problem after converting for VMWare fusion, going through a similar process. This worked fine with the Aug31 expiring IE VPC images, but the Jan1 expiring VPC images lock you out. I think the problem is that Windows detects a major hardware change, which requires you to reactivate. No idea how to fix. Anyone?
Has anyone attempted to install more than one version of IE? Does this happen with each version?
I have installed IE 6, 7, and 8 and did not encounter this issue. A few people I know who followed this tut also had no problems. I wish I was able to figure out what was going on but I don’t really know enough about VirtualBox. I’ll do my best to try to figure this out by doing a little research.
I installed IE6, IE7, and IE8. I get the activation nag for all three. I passed the 3 day grace period, and even though the nag is still there, I can still use Windows. Perhaps the activation requirement is an idle threat in this virtual environment. I’ll let you know if it finally shuts me out.
UPDATE: I downloaded the Microsoft .exe files on 08/27/2009. Apparently those files were set to expire immediately. New files were added to the MS website on 08/28/2009 that are noted to expire on 01/01/2010.
I’m going to download the new files and try this process all over again. Hopefully, the request for Windows authentication will not appear until January. I’ll let you know what happens.
Microsoft Download Page
I downloaded IE8-XPSP3.exe which is not supposed to expire until January 2010 but it still asks to activate and I am locked out. I have tried going through the activation process with some valid WIN XP keys but they all fail.
Whats the point of MS posting these downloads with a future expiry if they are not going to provide activation keys???
Just wasting everyone’s time.
I’ve never tried MAC but i really admire it.
Those simple but elegant interface…
Not a bad tut, but i’m locked out. I got to this stage:
“6. After Windows reboots, more popup windows will appear. Cancel them all and go to Start => My Computer, right-click and select Properties. The System Properties window will appear. Go to Hardware => Device Manager.”
…and after the reboot a user account has been created called IETest. Everything i click on it a ‘Windows Product Activation’ pop-up appears asking me to activate it with microsoft. If i click no it logs me out, if i click yes it takes me to a microsoft window where it asks me to buy the software.
So i’ve hit a wall and i can’t access the Start menu. Thanks, but there’s another way to run IE on a mac and i think i’ll look at that.
I apologize to those who are hitting roadblocks. I have installed IE on many computers using the steps above but Microsoft keeps changing the VPC images for IE and that seems to be causing some issues.
As soon as I discover any solutions I will post them here.
It’s not legal, but you can patch the activation
http://www.megaupload.com/?d=MJPZIMOH
download and unrar it, zip it and upload it
install a new ie6-sp3.exe
Install Guest Additions
extract drivers and install network driver
download the antiwpa.zip
extract it
execute the cmd
and the anoying activation trouble is gone.
I just upgrade to VirtualBox 3.0.10 and it solved a lot of issues that were occurring when I upgraded my Mac OS X to Snow Leopard.
Internet Explorer 8 is really good. This browser is very very stable and i have been using it for quite a while without blue screens or crashes.
Thanks for the detailed instructions on this. I got IE6 running on the VM, but left my computer for a little while, and now it’s asking for a password for the IETest account. I tried some of the obvious choices, but no joy. Any idea how I can get back on the horse?
That may be due to a new version of the Microsoft IE files. Have you tried entering nothing and just clicking through?
I ended up just quitting out and restarting, then setting the timeout for longer. Thanks!
Default password is: P2ssw0rd.
You can check it in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword
i was able to get around the activation issue by actually calling MS (activate by phone), their automated service gave me a registration code.
I tried calling their phone number without success. After speaking 50 digits to their automated service, it informed me that the number could not be used.
Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently. ‘
For those having problems getting network driver installed on later versions of virtualbox, I found this useful:
http://www.virtualbox.org/ticket/3411
IE8 has some bugs too although it is more stable than IE7 and IE6*’`
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!
A VHD-image, when converted with qemu-img to vmware vmdk-format will also work on Linux (Ubuntu 10.4) and Windows (XP and 7) using the free VMWare player instead. However had to use the IE6(only installed IE6 image) as the system explorer during the WPA Registration nagging to install the necessary antiwpa feature.
Hi again. The vmware vmdk image also runs perfect now on latest updated Virtualbox on latest update Mac OS X on a latest Mac Mini Server with 8GB internal memory.
The Mac Mini is a really neat machine
I’ve been looking everywhere for a solution to test on IE using my Mac. This looks promising so I’ll give it a try and let you know how it turns out. Looks like other people are having problems but hopefully this will go smoothly. Thanks for the tutorial man!
-Jeff