Share via

NIC issue when import HYPERV

Adi5678 1 Reputation point
2022-01-10T13:44:54.227+00:00

Hi,

I have template hyperv machine defined with static IP address.

I am using Powershell to create a new hypre-v instance based on this template using IMPORT-VM command and the new machine is loaded properly, but NIC shown with warning yellow triangle "unidentified network".

In order to solve that ,i had manually to Disable & Enable NIC , and NIC gets connected properly.

Is there any way to avoid that ? so my imported machine will get connected after import without manually disable-enable the NIC ?

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

1 answer

Sort by: Most helpful
  1. Limitless Technology 40,106 Reputation points
    2022-01-10T18:24:26.02+00:00

    Hello @Adi5678

    When you import the machine a new virtual network adapter is created which is assigned an IP address via DHCP. The original adapter is now hidden (in Device Manager). Assiging the original IP address and network name to the new adapter gives an error message (which can be overruled).

    If you want to clean this up use the following steps:

    Go to command prompt
    Set devmgr_show_nonpresent_devices=1
    Start devmgmt.msc
    Click View, Show hidden devices
    Expand device tree
    Right click hidden device and Uninstall
    Rescan if necessary
    Set IP and network name for new network device

    Hope this helps with your query,

    ------
    --If the reply is helpful, please Upvote and Accept as answer--

    Was this answer helpful?


Your answer

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