Live data from Hacker News

Free VMs of Windows to test older versions of IE

microsoft.com

31–40 of 124 posts

Re: Free VMs of Windows to test older versions of IE

#31
post #28

Or better yet, just use https://browserling.com/ which is from another HN member, pkrumins.

This is nice, but it suffers from the same flaw all the other virtual browser services suffer from: No pay by the minute/hour. I probably only need 1 or 2 hours with IE 8 every month or two.

Re: Free VMs of Windows to test older versions of IE

#32
post #12

The biggest problem with these is that they all have an expiration date - and Microsoft frequently forgets to update them. And getting through to Microsoft to tell them it is out of date... forget about it.

The idea is to just rollback the VM snapshot to day 1 and move on. These are for testing websites in IE.

Re: Free VMs of Windows to test older versions of IE

#33
post #16

Just a quick note that one of the easiest ways to get a legitimate license key is to join BizSpark. If you are a startup (which I imagine a lot of people here have some sort of startup) there is no reason not to be a part of it.

Thanks for posting, I had no idea that was available.

Count me as a guy who has a few copies of Windows I only use for browser testing in VMs...

Re: Free VMs of Windows to test older versions of IE

#34
These have been around for years. I put together a guide for personal use a while ago, for how to get them running under VirtualBox on OSX. Should be a similar process under Linux. I don't have a blog or anything, so I'll include them here, hoping they'll be helpful to people here, sorry about the length (I last did this a few months ago, so it should be pretty up-to-date).

- Extract the RAR files. On OSX use UnRarX: http://www.unrarx.com/ At least with UnRarX, it will still work despite the first RAR file being a self-extracting .exe file which, obviously, can only run on Windows. You may have to open the multi-part archive using the second file, it will still work.

- Install VirtualBox from https://www.virtualbox.org/ Inside of VirtualBox, create a new virtual machine using the wizard. Make sure to choose the appropriate OS (for example Windows 7) and give it enough memory (the default 512MB is definitely not enough). Also, we're using 32-bit OS only. The important part is to select the .vhd file you extracted from the .rar files as an existing hard drive.

- Do not run the virtual machine yet. It won't work, because it's designed only to work with Microsoft Virtual PC. To make it compatible, click "settings" in VirtualBox to change some things:

- On the system tab, check Enable IO APIC. This is necessary to get your mouse to work (I think).

- On the storage tab, remove your VHD from the "SATA Controller" list. Then add the same VHD file back, only under the "IDE Controller" tab. The VHD is expecting an IDE controller, and you'll get a BSOD if you don't do this step. Under the network tab, change "attached to" from "NAT" to "Bridged Adapter". This is necessary to be able to access a webserver running on your local machine, that is outside of the VM. (You don't need to do this if you just want to access websites in general). Start the Virtual Machine.

- You'll notice the mouse doesn't work. We'll get to that. For now, the Tab key and Alt+Tab are your friends. Log in with either the "IE User" or the "Admin" account. The password is "Password1".

- It will ask you to activate. Ignore for now.

- In VirtualBox, go to the "Devices" menu in your OS menu bar and click "Install Guest Additions...".

- In Windows, launch Explorer somehow. Easiest way is the "run" command (try Windows Key + R) and type "explorer". From within explorer, use Tab and Enter and arrow keys to navigate to the inserted CD. Select the "Autorun" file and hit "Enter" to run it.

- You are now installing guest additions. During the process, you'll need to Alt+Tab to the new prompt window to hit enter every time you need to confirm something.

- Once guest additions is installed, use the start menu to restart the virtual machine. Once it restarts, your mouse should now work inside the virtual machine, hooray!

- It will ask you again to activate. Try to activate online. If it works without asking you for a product number, awesome. If it asks you for a product number, hit cancel, open up a command prompt (run "cmd"), and type the following:

    slmgr -rearm
(If it says you don't have permission, then try logging in under the other account when Windows starts up, if more than one account is listed, e.g. both "Admin" and "Administrator". One of them should work.) This will activate Windows for 30 days, and you can redo this every 30 days. Note: if you don't activate or run this command instead, then Windows will shut itself down after 15 minutes.

- Open up IE. It should be able to browse the Internet. But it will not open up sites on nonstandard ports, so browsing to your own site at something like

    192.168.0.10:8080
will not work. To fix this, go to Internet options, then the Security tab. Click the Trusted Sites icon. Click the Sites button. Uncheck the "Require server verficiation (https:) for all sites in this zone" checkbox. Click Add, then type in the IP address of your machine (for example

    http://192.168.0.10
). Click Close. Then, with the Trusted Sites icon still selected, change the security level for this zone to the lowest possible setting. Now, browsing non-standard ports like 8080 should work.

- If you find yourself Cmd+Tabbing between the Virtual Machine and the rest of your programs, you may find that every time you Cmd+Tab back to the Virtual Machine, it opens up the windows menu. This can get real annoying real fast, because it removes focus from whatever you were working on. You can disable the "Windows key" inside of the VM from this Microsoft webpage:http://support.microsoft.com/kb/216893 Obviously, this will disable any windows key shortcuts, but that's probably fine. Remember, normal shortcuts like Ctrl+V etc use the Ctrl key on the Mac keyboard, not the Cmd key.

Re: Free VMs of Windows to test older versions of IE

#37

The VMs are designed for Virtual PC, which is of course only available for Windows. There's a script called ievms that will automatically downloade those VMs and convert them for use with VirtualBox on OS X or Linux: http://xdissent.github.com/ievms/

You can open VHD's in VirtualBox without any conversion.

Except these aren't VHDs, they're EXEs that wrap VHDs.

Re: Free VMs of Windows to test older versions of IE

#38
A while ago I used Windows XP Mode to create VMs with different versions of IE for testing - very easy if you have Windows 7 Pro because XP mode can be duplicated/copied around like any other VM and has automagic licensing provided the host in Windows 7 Pro (if you move the VM to a different type of host it will fail to work)

Obviously this is only good if you're already on windows but that was a huge help for development and didn't take much effort to set up.

Re: Free VMs of Windows to test older versions of IE

#39
post #25
post #20

Installing a whole OS just to test a site on IE seems a bit excessive. Wouldn't it be easier to just test one's site on the cloud? (E.g. see http://www.microsoft.com/expression/products/SuperPreview_Ov... , though its for Windows.)

That's always bothered my about Internet Explorer. I can download Firefox, Chrome, and Opera all for under 20MB but I need to download 4GB to test Internet Explorer 8?

Seems strange, doesn't it? But the rendering engine is shared with countless other system components, it's not portable between operating systems (no IE9 on XP, no IE on mac/linux, no IE7 on certain x64 windowsen) and all attempts to extract the rendering engine into a portable .dll have quirks of their own (IETester et al).

Sad state of affairs, but a whole OS image is the only way to get guaranteed compatibility with what real-world users are seeing - A better comparison would be to iOS Safari or the Android browser, where the vendor just has zero incentive to make that specific browser work (identically) on other platforms.

Post reply on HN