Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run the Microsoft Windows XP VHD, for testing with IE 6.0, with a valid/un-expired date?

I just downloaded the VHD for windows xp: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575

But when I start the virtual pc it says that "the evaluation period for this copy of windows has ended..."

I read that for the Windows XP image:

"Expires: This image will shutdown and become completely unusable on August 09, 2011."

Why is it expired? where could I download a working version?

Thanks

like image 528
The Light Avatar asked Aug 15 '11 09:08

The Light


People also ask

What version of IE works with Windows XP?

Internet Explorer 8 is the last version of Internet Explorer to support Windows XP, Windows Server 2003, Windows XP Professional x64 Edition, the x64 versions of Windows Server 2003, Windows Vista before SP2 and Windows Server 2008 before SP2; the following version, Internet Explorer 9, works only on Windows Vista SP2 ...

Why does Internet Explorer not work on Windows XP?

If you perform a repair installation of Windows XP when a later version of Internet Explorer is still installed, Internet Explorer will not work after the repair is completed. To resolve this issue, uninstall the later version of Internet Explorer from the computer, and then install Internet Explorer 6.

Can Windows XP run Internet Explorer 11?

As our table below shows, the only versions of Windows capable of running Internet Explorer 11 are Windows 7, Windows 8.1 and Windows 10. If you have any other version of Windows (eg. XP, Vista, Windows 7 you are unable to run a safe, supported version of Internet Explorer and you should take action now.

How do I enable Internet Explorer on Windows XP?

Click the Start button, and then click All Programs. Click Accessories, click System Tools, and then click Internet Explorer (No Add-ons).


1 Answers

Note 1: I'm running the XP IE6 VHD which expires today, 4/4/12 (this VHD can also be upgraded to IE7 and IE8 - I use all three in three separate VMs) under the Windows 7 version of Virtual PC - your mileage may vary.

Note 2: As of today (the expiration date of the VHD), this VHD tells me it's expired upon login, and won't even get me to the desktop. If I simply reset the date and disable time syncing as follows, there is still an "expired" flag set somewhere in the VHD's Windows install and it's still unusable. You must either:

  • discard your undo disk to a point prior to the expiration (if you already had Undo Disks enabled, which I always recommend when creating a VM for testing to "lock down" your setup once you have it the way you like),

    or

  • reinstall a fresh VHD dated prior to the expiration date, then make the following changes to the .VMC file before booting the VHD for the first time.

How I got my working XP IE VHD back:

  1. You need to change the date in the .VMC file per step 1B in the link @William mentioned. This value may not exist in a new, unbooted .VMC file - it should go under preferences/hardware/bios like this example for Dec 31, 2011 @ 12:00am:

    <preferences>
      <hardware>
        <bios>
          <time_bytes type="bytes">00000000000000311211</time_bytes>
    

    If you do not set this to some valid date before booting the VHD for the first time (in which case this value won't exist yet), it will force a time sync (even if you disable time syncing as in step 2 below), which may completely foil your efforts.

  2. But you also need to disable time syncing in the .VMC file per the information in this TechNet thread (scroll down to karonwu's 2nd post, 7/16/09 7:41am).

    Disable time syncing at boot (this value didn't exist by default in my .VMC file):

    <preferences>
      <hardware>
        <bios>
          <time_sync_at_boot type="boolean">false</time_sync_at_boot>
    

    Disable repeated time syncing while VHD is running (this value was already present and set to "true"):

    <preferences>
      <integration>
        <microsoft>
          <host_time_sync>
            <enabled type="boolean">false</enabled>
    

You may want to go into Control Panel -> Date and Time -> Internet Time, and uncheck "Automatically synchronize". Although this didn't seem necessary in my case - I forgot on one of my VMs and it said it synchronized successfully, yet the date and time remained as I had set them in the .VMC file.

As recommended by @Leonid below, you should also disable Automatic Updates to prevent an older version of Internet Explorer (such as 6 or 7) from upgrading itself (note that IE8 is the last version supported by XP).

Good luck!

like image 105
acatalept Avatar answered Oct 05 '22 06:10

acatalept