Dec172006Running Internet Explorer 6 and 7 on Windows
While Internet Explorer 6 is (for the time being) still the most popular Web browser, IE 7 is rapidly becoming more common. Unfortunately, the two browsers can be very different in how they display Web pages; many of the display bugs found in IE 6 and earlier have been fixed in IE 7, so to really test your Web designs you need to preview your pages in both browsers. Because Windows doesn’t normally let you run multiple versions of IE side-by-side, you’ll need a workaround to do this kind of testing:
First, you can just get two PCs–one for IE 6 and one for IE 7. Alternatively, you can run a “Virtual Machine” on your computer (this only applies to Windows users; Mac users with Intel-based Macs have another solution.) A virtual machine lets you run a second (slow) copy of Windows on your computer. The virtual machine can be used to run IE 6 for testing purposes (you’ll use your regular, non “virtual”, machine for designing and developing your sites.) Fortunately, Microsoft supplies all of the pieces you need, for free: both Virtual PC 2004 and a “virtual hard disk” that includes a copy of IE 6 and a stripped-down version of Windows XP.
The instructions for setting up a virtual machine with IE 6 are at the end of this post, but I think I should mention a few of the drawbacks of this set up:
- It assumes you install IE 7 on your computer first. In other words your primary browser will be IE 7 and you’ll launch the virtual machine and IE 6 just to test your designs. (It’s possible to hold onto your version of IE 6 and install a standalone version of IE 7 as described on this Web site.)
- It’s RAM hungry. You need a fair amount of RAM (I have 2 GB) for this to work. Without enough RAM, IE 6 in the Virtual Machine tends to crash.
- It’s time-limited. The Virtual Hard Disk with IE 6 supplied by Microsoft is time-limited. On April 1, 2007 it will stop working (I wonder why they picked April Fool’s Day for this?) The people at MS imply that they’ll provide new updates before then, so you can keep testing this out, but they haven’t promised anything yet.)
- You have to preview files over the network. Since the virtual machine with IE 6 acts like a separate computer, you don’t have immediate access to all of the files on your computer. The virtual machine only see its own virtual “hard-drive”. There is a slight workaround which I discuss below. Alternatively, you can place your files up on a Web server and test them in IE 6 just by typing in the URL. (If you run a local testing server, you can also access the site via the local IP address of your main computer.)
If you’re still game for installing the virtual machine and IE 6, here’s how.
- Download Virtual PC 2004. Virtual PC 2004 is a free program that lets you run different (or additional) versions of Windows on your machine. In this case, it will let you run another version of Windows for testing IE 6. (If you’re running Vista you’ll need Virtual PC 2007 which is currently in BETA but which you can download from: https://connect.microsoft.com/programdetails.aspx?ProgramDetailsID=874)
- Unzip Virtual PC, open the Virtual PC 2004 SP1 folder and double-click the setup.exe file. Follow the instructions that appear to install the application.
- Visit the Internet Explorer 6 Virtual PC Image download page. On this page you need to “Validate” your copy of Windows, by clicking the “Continue” button. This process may require you to download an ActiveX control, so follow the instructions on the page. I’m not exactly sure how Microsoft “validates” your copy of Windows; they claim they don’t look at any personal information on your computer, but they must send some information back to the mother ship to make sure you’re legit.
- Download the Internet Explorer 6 Virtual PC Image. Once your system has been validated you’re taken to the real download page. Click the Download button and choose “Save to desktop.” Go and get some coffee or a good night’s sleep. The file is 495 MB, so if you’re on a slow internet connection, the download could take a while.
- Double-click the downloaded file, it’s named IE6AC_VPC.EXE. Running this file just zips it and leaves you with a “Virtual Hard Disk” image (.vhd file) which you can use to install Windows XP and IE 6. The file is named IE6Test.vhd.
- Launch Virtual PC (go to the Start menu and select Microsoft Virtual PC). After the program starts you’ll be introduced to a set up wizard. Click the Next button to begin the setup.
- Select the Create Virtual Machine option and click Next.

- Type a Name for the virtual machine (for example, IE 6) and click the NEXT button.

- Choose Windows XP from the Operating sytem menu and click Next.

- Click the “Adjusting the RAM” button and set the slider to something larger than the recommended amount. Virtual PC is a memory hungry beast; the more RAM you have the better. I have 2 gigs on my machine and I found that with the recommended setting of 128MB, Internet Explorer 6 crashed continually. With 500 MB of RAM allocated to the virtual machine, IE6 worked OK.

- Select the “An existing virtual hard drive” button and click Next. This is where the .vhd file you downloaded earlier comes into play.

- Click the Browse button and locate the file IE6Test.vhd. Click the Next button.

- Click the Finish button and you’re all set up.
- When you want to run the new virtual machine and access IE 6, just launch Virtual PC, select the virtual machine from the Virtual PC Console and press the start button. This starts a completely separate version of Windows in a separate window. You can run IE 6 from there. The virtual machine acts like a separate computer so it can’t automatically see all of your Web site files on your computer.

- Right click on the shared folder icon (see arrow in image below) in the lower left-corner of the virtual machine window and select “Share Folder.” The Browse for Folder window appears (see next step).

- Select the folder you wish to share, choose a Drive letter, and check the “Share every time” box. You might want to select your entire C: drive on your main computer, or just a folder that holds your Web sites. The “Share every time” option makes sure that the next time you start the virtual machine that it remembers this shared folder.

- Open IE 6 in the virtual machine and navigate to a Web file on your computer. You can do this by simply typing the Drive letter followed by a colon in the address bar: for example, Z: This provides a view of that folder’s files, just click through them until you find the Web page you want to test. It’s a good idea to bookmark the home pages for your various sites, so you won’t have to use this lame method to navigate to and test your Web sites in the future.

13 Responses to “Running Internet Explorer 6 and 7 on Windows”
Dave McFarland January 24th, 2007 at 2:49 pm
Thanks for pointing that out Mike. That is a lot easier method, definitely. I believe there are a few issues related to cookies, sessions and conditional comments, so you may not be truly experiencing each browser as you normally would on machine with dedicated version of IE.
Tim February 15th, 2007 at 2:26 pm
Reading blogs, I find that most corporate environments (including mine) absolutely do NOT allow upgrading PCs to IE7 until they’ve converted their support applications to be compatible. In our case, that’s at least 2008. This unfortunately makes the MS VPC with IE6 worthless, since it cannot be upgraded to IE7 (the VPC OS validation fails as lost/stolen).
My solution: I’ve attended enough Microsoft events in the past to have a couple of trialware disks around…specifically Windows 2003 Server 180-day trial. Now that VirtualPC is free, I downloaded it, installed my trial Win2k3, did all the patches, and upgraded it to IE7. If I don’t open too much crud on my real machine, it runs fine in my 1GB RAM and is reasonably responsive. And the 180 days takes me way beyond the 4/1/2007 expire date on the VPC image, at which point I can just reinstall everything again if I want.
Dave McFarland February 15th, 2007 at 2:57 pm
Another great solution Tim.
Thanks
Hollis Barnhart February 18th, 2007 at 9:18 am
These step-by-step instructions are wonderful! BTW, Virtual PC will run on Windows XP with 512MG Ram (I thought I was a goner when I got the message that it would only install on Win 2000 or XP Pro– but it allowed me to keep clicking through the installation process anyway). I set the ram at 256 MG.
It’s slow — but it works — and it gives me an idea as to how “unpretty” the website I’m working on looks in IE6.
Now, do you have suggestions for optimizing websites to IE6?
Scott Shaffer February 25th, 2007 at 11:05 am
Hi Dave, thanks for a great book. I’ve been more of a “cut and paste” programmer for the web site I operate for my children’s summer camp. But as time goes by, I find that I need to know more and I know your book will help in my current redesign.
On the topic of testing in different browsers, I found a useful site: www.BrowserShots.org. You upload your test page to your server, then go to BrowserShots.org, input the www address and select any number of browsers (including IE 5, 5.5, 6, and 7) and BrowserShots.org will prepare a screenshot for you. It’s pretty neat.
Karen Dodds March 8th, 2007 at 9:48 am
Thank you so much for these detailed installation instructions…NOT found on microsoft.com! As a web developer on a Mac, this setup is invaluable for me to see my sites in a non-standards compliant version of IE.
BTW, I set this up on a Dell laptop and had to set the memory at the minimum. But simply to preview sites on the web, it seems stable enough.
Hugh March 29th, 2007 at 4:43 pm
Really useful and well written instructions.
I’m up and running with my Virtual PC & IE6 and can see files on my ‘real’ PC jsut fine. However I cannot work out how to connect my Virtual PC to the internet so I can see the site I’m working on in IE6.
Any tips?
Thanks Hugh
Hugh March 30th, 2007 at 1:01 am
Just worked it out. All I had to do was select NAT (shared network) after right clicking the network symbol below the virtual PC start button and looking at the options available on the righthand side.
From the help file on the virtual machine…
“Shared Network (NAT). When this option is selected, the virtual machine is connected to a private network created by Virtual PC. The network includes a virtual DHCP server and a virtual network address translation server. The virtual machine is then able to access most TCP/IP-based resources that the host operating system can access.”
Jim March 31st, 2007 at 1:15 am
Or simply download a Standalone version of IE-6 …
http://browsers.evolt.org/?ie/32bit/standalone
Much easier!
Mattspew May 16th, 2007 at 7:09 pm
That’s sweet.. Good solution. Lets me test not only on IE6, but some vista/xp app back and forth.
Richard December 6th, 2007 at 6:47 am
The magical expiry date (April 1st 2007) has past. Does this still apply? Or is there an updated version?
I recently bought a new computer with Windows Vista and now I can no longer test in IE6!
Shannon December 18th, 2007 at 6:33 pm
Thanks, I just did this setup for Vista (Richard, when I installed they had moved the expiry date to 4/08) and it worked great. Thanks for the very clear directions or I’d not have ventured to try it.


Mike Wills January 24th, 2007 at 2:42 pm
I was facing this same issue and came across free software by tredosoft that may handle it with one machine. There appear to be a few issues, but looks good overall.
http://tredosoft.com/Multiple_IE