Setting Up an XP Virtual Machine to run I.E 8

We recently received a request from a client to convert some PDF files to HTML with our PDF to HTML5 converter and test whether they worked correctly in Internet Explorer 8. We soon found out that Internet Explorer 8 will not work with Windows 8. The solution was to create a Virtual Machine that would run Windows XP and fire up I.E 8 from within it. So here’s a quick guide on how to do just that.

Setting Up : Get the Tools

Step One : Extracting the VHD (Virtual Hard Disk)

  • Load up 7-Zip and navigate to where you downloaded WindowsXPMode.exe.
  • Right click WindowsXPMode.exe > 7-Zip > Open Archive.
  • Navigate into the sources folder.
  • Right click the file xpm and Open it.
  • Extract the file “VirtualXPVHD” to a folder on your desktop.
  • Rename the file VirtualXPVHD so it has the extension .vhd, e.g VirtualXPVHD.vhd

The folder you extracted to should now look something like this :example


Step Two : Setting up the Virtual Machine

  • Load up VirtualBox.
  • On the top toolbar goto Machine > New.
  • Enter a name for your Virtual Machine, e.g vmXP.
  • Set the Type to Microsoft Windows.
  • Set the Version to Windows XP.

You should have something like this :
example2

  • Press Next.
  • Choose a Memory Size (2048 recommended).
  • Press Next.
  • Choose the radio button than says “Use an existing virtual hard drive file”.

You should see something like this :
example2

  • Press Create

Step Three : Installing Internet Explorer 8

  • On the left panel in VirtualBox you will now see your Virtual Windows XP Machine, press it and click the big green –> Start button
  • Windows XP will now start up in your virtual machine, you may find your mouse won’t move within the virtual machine. If you have this problem, disable mouse integration.

example3

  • Configure XP as you normally would. Once you have finished configuring and setting up XP the screen will go black. This just means XP has attempted to restart but can’t within a virtual machine.

example2

example3

  • Restart your Virtual Windows XP Machine.

Congratulations, you have just finished Setting up a Windows XP Virtual Machine in VirtualBox and installed Internet Explorer 8.

If you have any questions errors or problems then please let us know and we’ll be happy to help! If you would like to see an other guides let us know.

If you’re a first-time reader, or simply want to be notified when we post new articles and updates, you can keep up to date by social media (TwitterFacebook and Google+) or the  Blog RSS.

The following two tabs change content below.
Nathan is a developer at IDRSolutions, focusing mainly on the development of HTML5 and Form support for the online PDF converter. He was a speaker and exhibitor at JavaOne 2013, co-presenting a session titled 'Lessons Learned from Using GlassFish with NetBeans". Nathan also enjoys writing technical blog-articles.

Related Posts:

Nathan

About Nathan Howard

Nathan is a developer at IDRSolutions, focusing mainly on the development of HTML5 and Form support for the online PDF converter. He was a speaker and exhibitor at JavaOne 2013, co-presenting a session titled 'Lessons Learned from Using GlassFish with NetBeans". Nathan also enjoys writing technical blog-articles.

One thought on “Setting Up an XP Virtual Machine to run I.E 8

  1. Claudio Avrili

    Concise and well structured. Easy to follow and informative. Thank you indeed.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may 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>