SEARCH

How-To Geek

How to Run Internet Explorer 7, 8, and 9 at the Same Time Using Virtual Machines

00_ie8_virtual_machine

If you develop websites, you need to use multiple versions of different browsers for testing your sites. There are ways to run multiple versions of IE on the same computer, but some versions cannot be run at the same time.

However, we will show you a way around this limitation that allows you to run Internet Explorer 7, 8, and 9 at the same time in Windows. Microsoft has created some custom Windows VHD files to allow web designers to test their websites in Internet Explorer 7, 8, and 9 for free. You can import these files into Microsoft Virtual PC. The following versions of Internet Explorer are available in Windows virtual machines.

  • IE7 in Windows Vista – The install files for IE8 and IE9 are also available for install in this virtual machine.
  • IE8 in Windows 7 with install files for IE9 – The install files for IE9 are also available for install in this virtual machine.
  • IE9 in Windows 7

Be warned that the Windows 7 and Vista VHD files are large and are split across several files. Download all the files for each virtual machine for the versions of IE you want to run. We will show you how to unpack these files so they create the complete VHD file. You will also need to download Microsoft Virtual PC, which is actually an update to Windows. The download links for the virtual machines and Virtual PC are at the end of this article. To download Virtual PC, you must validate Windows. The download links are at the end of this article.

NOTE: If you install a later version of IE in one of the virtual machines, it replaces the earlier version. If you need to run all three versions, create a virtual machine for each version.

To install Virtual PC, double-click on the .msu file you downloaded.

01_running_virtual_pc_installation

A confirmation dialog box displays. Click Yes to install the update.

02_do_you_want_to_install_update_dialog

Read through the license terms and click I Accept to continue with the installation.

03_license_terms_dialog

The progress of the installation displays.

04_installation_status

When the installation of the update is finished, the following dialog box displays. To restart your PC immediately, click Restart Now. If you want to make sure everything is closed before restarting, click Close. However, be sure to restart your PC before using Virtual PC.

05_installation_complete_restart

To expand an IE virtual machine, double-click on the .exe file, which is the first part of the compressed files. For this example, we are going to extract the IE8 Windows 7 virtual machine and import it into Virtual PC.

06_starting_extraction_of_vhd_file

If the Open File – Security Warning dialog box displays, click Run to continue with the installation.

07_open_file_security_warning_dialog

Read through the License Agreement and click Accept to continue extracting the virtual machine files.

08_license_agreement

The WinRAR self-extracting archive dialog box displays. Either accept the default location for the Destination folder, which should be the current location of the compressed files, or click Browse to select a different location for the resulting virtual machine files. We accepted the default location. Click Install.

09_clicking_install

The installation progress displays.

10_installation_progress

When the files have been extracted, you will see a .vhd file, which is the virtual machine hard drive, and a .vmc file which contains the settings for the virtual machine.

11_hard_disk_file_and_settings_file

To open Virtual PC, select Windows Virtual PC from the Windows Virtual PC folder on the Start menu.

12_running_virtual_pc

A Windows Explorer window opens to the location of the Virtual Machines, if any existed. Click the Create virtual machine button on the toolbar. If you can’t see the button, click the double right-pointing arrow button and select Create virtual machine from the drop-down menu.

13_selecting_create_virtual_machine

The Create a virtual machine wizard displays. Enter a name for the virtual machine in the Name edit box. Accept the default Location for the virtual machine file. It will be placed in the Virtual Machines folder that opened in the Windows Explorer window when you started Virtual PC. Click Next.

14_specifying_vm_name

The Specify memory and networking options screen displays. Enter the amount of RAM, in megabytes, you want the virtual machine to use in the edit box. To connect the virtual machine to your network, select the Use computer network connections check box. You will most likely need to turn on this option so your virtual machine can access the internet through your network.

15_specifying_memory

On the Add a virtual hard disk screen, select the Use an existing virtual hard disk radio button, and click Browse.

16_clicking_browse_to_select_disk

On the Select virtual hard disk dialog box, navigate to the folder where you extracted the .vhd and .vmc virtual machine files. Select the .vhd file and click Open.

17_selecting_virtual_hard_disk

Select the Enable Undo Disks check box.

NOTE: The Enable Undo Disks option allows you to return to the initial settings that exist when you first set up the virtual machine in Virtual PC. This is helpful because the versions of Windows in these virtual machines are not activated. They are essentially in trial mode. From the Microsoft site:

You may be required to activate the OS as the product key has been deactivated. This is the expected behavior. The VHDs will not pass genuine validation. Immediately after you start the Windows 7 or Windows Vista images they will request to be activated. You can cancel the request and it will login to the desktop. You can activate up to two “rearms” (type slmgr –rearm at the command prompt) which will extend the trial for another 30 days each time OR simply shutdown the VPC image and discard the changes you’ve made from undo disks to reset the image back to its initial state. By doing either of these methods, you can technically have a base image which never expires although you will never be able to permanently save any changes on these images for longer than 90 days.”

We will explain later in this article how to undo changes and reset the virtual machine to the initial settings.

Click Create.

18_clicking_create

You should see a .vmcx file in the Virtual Machines folder in the Explorer window that opened when you started Virtual PC.

19_new_virtual_machine

To open the virtual machine, select the .vmcx file and then click the arrow button next to the Open button that becomes available. Select Windows Virtual PC from the drop-down menu.

20_opening_virtual_machine

Two users display on the virtual machine screen during boot up. Each virtual machine has two users, but only one seems to work. Choose the following usernames for each of the virtual machines:

  • IE7 in Windows Vista: Administrator
  • IE8 in Windows 7: IEUser
  • IE9 in Windows 7: Administrator

21_selecting_a_user

Use the password “Password1” (without the quotes) for each of the virtual machines to log in to Windows.

The Windows Activation dialog box displays saying that the activation period has expired. Click Cancel in the lower, right corner of the dialog box.

23_cancelling_activation

The Microsoft Security Essentials dialog box may display. Click Close.

24_security_essentials

Once Windows has started in the virtual machine, click the Internet Explorer icon on the Taskbar to open IE.

25_running_ie

IE opens. You can set your default home page and view any web pages you need to test in this version of IE.

26_ie8_open_in_windows_7

You can check the version by selecting About Internet Explorer from the Help menu.

27_ie8_about_box

To close the virtual machine, select Close from the Action menu.

28_closing_virtual_machine

In the Windows Virtual PC dialog box, select Shut down from the drop-down list. If you want Shut down to be the default option, select the Make it the default and don’t show this message again check box. Click OK.

29_selecting_shut_down

You can change the settings for a virtual machine once it is shut down. To do so, select the .vmcx file for the virtual machine you want to change. Click Settings on the toolbar in Explorer.

30_opening_settings_for_vm

If you are getting to end of your 30-day trial period in your Windows virtual machine, you can reset the virtual machine to the initial settings, therefore resetting the trial period. To do so, select Undo Disks in the list on the left of the Windows Virtual PC Settings dialog box. Make sure the Enable Undo Disks check box is selected and then click Discard changes.

31_discarding_changes_to_virtual_disk

A warning dialog box displays. To continue resetting the virtual machine settings, click Continue. Remember that any changes you made to the Windows system in your virtual machine will be lost.

32_undo_disk_data_warning

You are returned to the Settings dialog box. Click OK to close it.

33_closing_settings_dialog

You can install IE8 or IE9 in the IE7 virtual machine. There are icons on the desktop to easily install either version. Remember, however, that installing IE8 or IE9 replaces IE7.

34_install_ie9_shortcut_in_vista

In the IE8 virtual machine, you’ll find the file to install IE9 in the C:\Internet Explorer Versions directory.

35_install_ie9_in_ie8_vm

Once you have opened the virtual machine once, the login process is a little different. The following dialog box displays the next time you open the virtual machine.

36_starting_virtual_machine_dialog

Click IEUser and enter “Password1” in the edit box. Click OK.

37_entering_credentials

A dialog box displays while the integration features of the virtual machine are enabled.

38_enabling_integration_features

The virtual machine opens and you can run IE.

Download Microsoft Virtual PC from http://www.microsoft.com/windows/virtual-pc/default.aspx.

Download the virtual machines from http://www.microsoft.com/download/en/details.aspx?id=11575.

Lori Kaufman is a freelance technical writer who likes to write geeky how-to articles to help make people's lives easier through the use of technology. She loves watching and reading mysteries and is an avid Doctor Who fan.

  • Published 01/3/12

Comments (7)

  1. Zooropean

    If I can’t use IE6 as well then this is useless. Sorry.

  2. Col

    As Internet Explorer 6 is pronounced virtually dead, here is a way to keep versions 7, 8 and 9 virtually alive.

  3. darkusanagi

    2 Words… IE TESTER ;D

  4. Martin

    (Retrying…) Alternatively, IETester allows running multiple versions of IE in parallel (without the need to use virtual PC): http://www.my-debugbar.com/wiki/IETester/HomePage

  5. Radie

    Looking forward to the equally useful (and satisfying) accompanying article: “How to Stab, Shoot and Set Yourself on Fire at the Same Time”… lol

  6. Nathoa

    Could i use this as a way to use more than one VPN tunnel at the same time?

  7. Simon

    You can’t debug with IETester, it’s better to have a virtual machine with the real version of browsers.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!