Windows XP on Windows 10 with Hyper-V: Network not working

Jan Didden 61 Reputation points
2024-05-14T14:44:36.5033333+00:00

We have an old physical Windows XP system (32-bit) we want to virtualize in Hyper-V.

With an older 32-bit Disk2vhd utility we have created a VHD of this machine.

In Hyper-V Manager on Windows 10 we have created a Gen-1 virtual machine with the VHD of the physical system.

We want to connect this Gen-1 VM to our network. I have created a default switch but we cannot connect to the network.

What is the procedure to connect a Gen-1 VM to a network?
I can only find descriptions voor Gen-2 VMs.

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,740 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
777 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 2,475 Reputation points Microsoft Vendor
    2024-05-16T08:17:43.8533333+00:00

    Hello

    Thank you for posting in Q&A forum.

    I suggest you try the following powershell command to create a virtual external switch which should resolve your issue:

    1. Click on the "Start Menu", enter PowerShell, right-click and select Run as administrator.
    2. Type the following command to create a new external virtual switch.

    New-VMSwitch -Name ExternalSwitch -NetAdapterName Ethernet -AllowManagementOS $True

    -name: What the network adapter looks like in Hyper-V Manager.

    -NetAdapterName: The name of the network adapter.

    -AllowManagementOS – $true for both the host and the virtual machine with internet.

    Image

    Reference links:Create a Virtual Network | Microsoft Learn

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.