Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10  

Page 1 of 2 12 LastLast
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

    How to Create Hyper-V virtual machine using free Windows XP Mode in Windows 10
    Published by Category: Virtualization
    18 Aug 2019
    Designer Media Ltd


    information   Information
    Windows XP Mode is a free pre-installed virtual machine running on Virtual PC in Windows 7. See the tutorial on our sister site Seven Forums: Windows XP Mode - Install and Setup - Windows 7 Help Forums

    In this tutorial, I will show how to use Windows XP Mode virtual hard disk to create a virtual machine in Windows 10 using Hyper-V-

    An archiving application which can open EXE archives is required. In this tutorial, I will use 7-Zip. Free download: 7-Zip

    Notice that setting up Windows XP Mode virtual machine in Hyper-V, it will not be activated. If you have a valid XP product key, you can use it to activate the virtual machine.

    Without activation, you can use Windows XP Mode virtual machine for 30 days.

    Windows XP Mode is only available in US English.





    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Contents Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     Click links to jump to any part



    Part One: Download Windows XP Mode
    Part Two: Extract the VHD
    Part Three: Add browser offline installer
    Part Four: Setup a Hyper-V VM
    Part Five: First Boot (OOBE)



    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Part One Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     Download Windows XP Mode

    1.1) Download Windows XP Mode package from Microsoft:

    download

    1.2) Be sure to select the full version, highlighted in screenshot. The N version comes without Windows Media Features:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-xp-mode-dl.jpg



    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Part Two Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     Extract the VHD

    2.1) Right click the downloaded WindowsXPMode_en-us.exe file, select Properties, unblock the file (tutorial):
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-unblock.jpg

    2.2) Open the Windows XP Mode EXE archive in 7-Zip:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-open-archive.jpg

    2.3) In 7-Zip, browse to Sources folder of the archive, select file xpm, click Extract, select where you want to extract the file, click OK:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-extract.jpg

    2.4) Browse to folder where you extracted the file xpm. Open it in 7-Zip:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-open-xpm.jpg

    2.5) In 7-Zip, select file VirtualXPVHD, click Extract, select where you want to extract the file, click OK:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-extract-vhd.jpg

    2.6) The extracted VirtualXPVHD file is the Windows XP virtual hard disk. When extracted, it has no extension. We need to add the .vhd extension to it to make Windows to recognize it as a virtual hard disk file.

    In File Explorer, browse to folder where you extracted the VHD. Select View tab in Explorer, select File name extensions, right click the VHD file, select Rename, add .vhd to end of file name:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-add-vhd-extension.jpg



    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Part Three Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     Add browser offline installer

    3.1) The default browser in XP Mode is Internet Explorer version 6. It is so outdated, that you might not be able to use it to download a more recent IE version, or any third party browser. It is recommended that you add an offline installer for a browser to XP VHD file before using it on a virtual machine, and install it when VM is booted first time.

    3.2) Having difficulties to find out offline installer for old enough 32 bit version for Chrome and Firefox, I use Opera. Download the oldest possible Opera offline installer:

    download

    3.3) At the moment of writing this, version 15.0.1147.130 is oldest listed on Opera archive, it works well in XP:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-download-opera.jpg

    3.4) Unblock the downloaded installer, right click it and select Copy.

    3.5) Right click the extracted VirtualXPVHD.vhd file, select Mount to open VHD in File Explorer. In my case now, the VHD was mounted as drive J:. Browse to folder Documents and Settings\All Users in mounted VHD, paste the downloaded browser offline installer:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-add-browser.jpg

    3.6) A mounted VHD cannot be used on a virtual machine. Right click the VHD drive in File Explorer (This PC), and select Eject to dismount it:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-eject-vhd.jpg



    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Part Four Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     Setup a Hyper-V VM

    4.1) Create a new Generation 1 virtual machine in Hyper-V as told in Part Five in Hyper-V tutorial: Hyper-V virtualization - Setup and Use in Windows 10

    4.2) Some tips for Windows XP VM:
    • XP works with 512 MB virtual RAM, but I recommend using 2 GB, no Dynamic Memory
    • Windows XP VM only supports two virtual processors, there's no need to add more
    • Using a Legacy Network Adapter as told in Hyper-V tutorial is important, network connection in Windows XP VM simply does not work using the default virtual network adapter

    4.3) When creating the VM in New Virtual Machine Wizard, instead of creating a new VHD, use your extracted and prepared WindowsXPVHD.vhd file as existing VHD in Connect Virtual Hard Disk page:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-connect-vhd.jpg




    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Part Five Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10

     First Boot (OOBE)

    5.1) First boot of your new Windows XP Mode VM goes through OOBE. First thing is, you must accept the license agreement.

    5.2) The XP VM is in US English, default location USA, default input method US English keyboard, and default formats US (numbers, time and so on). If you are OK with these, click Next in Regional and Language options.

    In my case, I wanted formats be UK English, location Finland, and input method to be my familiar Finnish keyboard layout. To change them, I click Customize:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-customize-xp-settings.jpg

    5.3) In Regional Options tab, I can change formats and location:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-regional-options.jpg

    5.4) Switching to Languages tab, I click Details to change input method:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-details.jpg

    5.4) I can now add Finnish keyboard:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-add-input-method.jpg

    ... and make it default:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-default-keyboard.jpg

    5.5) The XP Mode VM will be setup using the built-in administrator account (username Administrator). It is important to set up a password for it. This is done on the same OOBE page where you name the computer:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-pc-name-admin-password.jpg

    5.6) In next page, you can change the time zone:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-time-zone.jpg

    5.7) OOBE continues. If you are shown some Found new hardware prompts, ignore them for now and click Cancel. Select if you want updates to be automatic or not:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-updates.jpg

    5.8) Run the browser offline installer you added to VHD in step 3.5:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-install-browser.jpg

    5.9) Browser installed, Opera in this example case:
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-browser-installed.jpg

    That's it. You have now a working Windows XP virtual machine.

    Kari


  1. kado897's Avatar
    Posts : 26,361
    Windows 10 Home 64bit
       #1

    Excellent Kari. The VHD also works in VirtualBox although until you install guest additions you have no mouse support and have to do everything using the keyboard.
      My ComputerSystem Spec

  2. thomcats's Avatar
    Posts : 33
    Windows 10
       #2

    Hello,
    Is it possible to use WinRAR, which I already have installed in the computer, in the same way as you use 7-Zip in this tutorial or is it essential for success that 7-Zip is used?

    Thanks in advance
      My ComputerSystem Spec

  3. Bree's Avatar
    Posts : 12,451
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #3

    thomcats said: View Post
    Is it possible to use WinRAR, which I already have installed in the computer, in the same way as you use 7-Zip in this tutorial or is it essential for success that 7-Zip is used?

    it's convenient to use 7-Zip as installing it adds the right-click context menu that makes it easy to open the .exe as an archive. Providing you can open the .exe in WinRar it should do just as good a job at extracting the files. You may need to interpret some of the 'browse to here' instructions in terms that make sense in WinRar, but the end result will be the same.
      My ComputersSystem Spec

  4. thomcats's Avatar
    Posts : 33
    Windows 10
       #4

    Bree said: View Post
    it's convenient to use 7-Zip as installing it adds the right-click context menu that makes it easy to open the .exe as an archive. Providing you can open the .exe in WinRar it should do just as good a job at extracting the files. You may need to interpret some of the 'browse to here' instructions in terms that make sense in WinRar, but the end result will be the same.
    Thank you very much for the advice.
      My ComputerSystem Spec

  5. thomcats's Avatar
    Posts : 33
    Windows 10
       #5

    Hello again, I managed to install the Windows XP in a Hyper V environment in Windows 10. So far everything was fine. But then, when I wanted to start to use it, problems heaped up. I can't connect to the net no matter how I change the settings for the important SWITCH and I can't change the screen resolution to something I can work with on my wide screen computer. This is perhaps the worst of the problems.

    Happy for any suggestions.
      My ComputerSystem Spec

  6. SoFine409's Avatar
    Posts : 836
    Win10 & Win7
       #6

    thomcats said: View Post
    Hello again, I managed to install the Windows XP in a Hyper V environment in Windows 10. So far everything was fine. But then, when I wanted to start to use it, problems heaped up. I can't connect to the net no matter how I change the settings for the important SWITCH and I can't change the screen resolution to something I can work with on my wide screen computer. This is perhaps the worst of the problems.

    Happy for any suggestions.
    As far as the switch is concerned you need to use a Legacy Adapter with an external switch.
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-capture.jpg

    I cant help you with the screen resolution other than VBox is much better as the optional extensions give you much better option. I have XP running in both and XBox is much better.
      My ComputerSystem Spec


  7. thomcats's Avatar
    Posts : 33
    Windows 10
       #7

    SoFine409 said: View Post
    As far as the switch is concerned you need to use a Legacy Adapter with an external switch.
    Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10-capture.jpg

    I cant help you with the screen resolution other than VBox is much better as the optional extensions give you much better option. I have XP running in both and XBox is much better.
    Thanks for reply and I see what you mean. As for VBox I will have to go and have a look at it.

    Regards
      My ComputerSystem Spec

  8. SoFine409's Avatar
    Posts : 836
    Win10 & Win7
       #8

    thomcats said: View Post
    Thanks for reply and I see what you mean. As for VBox I will have to go and have a look at it.

    Regards
    I just started using it a few days ago. I migrated all of my VMs over to it. It’s a lot like HyperV but the extensions that can be loaded into each VM really are nice. Mouse works seamlessly, screen resolutions have more choices. Then network adapter choices are so much better. You can also share folders either permanently or just for the session. I’m still learning but I think the extension also support drag and drop file transfer. Be sure you get V6, that the latest. That said I really like the Macrium iVBoot and that only works with HyperV. I’ve got HyperV on one PC and VBox on another. VBox has a command line conversion utility to help you import VHDX disks. Very handy.
    Enjoy.
      My ComputerSystem Spec

  9. kado897's Avatar
    Posts : 26,361
    Windows 10 Home 64bit
       #9

    SoFine409 said: View Post
    I just started using it a few days ago. I migrated all of my VMs over to it. It’s a lot like HyperV but the extensions that can be loaded into each VM really are nice. Mouse works seamlessly, screen resolutions have more choices. Then network adapter choices are so much better. You can also share folders either permanently or just for the session. I’m still learning but I think the extension also support drag and drop file transfer. Be sure you get V6, that the latest. That said I really like the Macrium iVBoot and that only works with HyperV. I’ve got HyperV on one PC and VBox on another. VBox has a command line conversion utility to help you import VHDX disks. Very handy.
    Enjoy.
    Drag & drop into VBox is a bit hit and miss. It will usually work dragging onto the VM desktop.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Tutorial Categories

Hyper-V - Add Windows XP Mode Virtual Machine in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Virtualization Move Hyper-V Virtual Machine in Windows 10 in Tutorials
How to Move Hyper-V Virtual Machine in Windows 10 Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems (aka: guests) can be used and managed just as if they were physical computer systems,...
How to Delete Hyper-V Virtual Machine in Windows 10 Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems (aka: guests) can be used and managed just as if they were physical computer systems,...
How to Rename Hyper-V Virtual Machine in Windows 10 Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems (aka: guests) can be used and managed just as if they were physical computer systems,...
I have used VMware in the past with limited success though I suspect the hardware limitations had something to do with it. The leaning curve was modest if not at times tedious to confusing at times and I am not particularly looking forward to that...
To run a Windows Insider version of Windows 10, your PC does not have to be opted in for Insider builds. It's enough to have one machine opted in, use it to get Insider build upgrade and then use an ISO image made from upgrade files to upgrade other...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:39.
Find Us