1. Download a Windows XP Mode executable file from Microsoft’s Windows XP Mode site.

    2. Open the folder containing the executable file (e.g. WindowsXPMode_en-us.exe). Don’t install it. Unzip that exe file with 7ZIP by dragging and dropping it into the 7ZIP window. Open Sources folder in 7ZIP window, extract xpm file.Hyper-V 使用 xpmode - 图1

    3. Use 7ZIP to open the xpm file that you extracted in the previous step. Scroll down; select and extract the file named VirtualXPVHD

    4. Add the .VHD extension to that file name (e.g. VirtualXP.VHD) by using F2 key.Hyper-V 使用 xpmode - 图2

    5. Open Hyper-V, make a new VM, add that previous VHD file (see procedure.aspx)). Then run that VM.Hyper-V 使用 xpmode - 图3

    参考文档:
    https://superuser.com/questions/1230652/get-official-windows-xp-virtual-machine-for-hyper-v