Working with Hyper-V and migrating VM’s between VM Hosts can give some surprises now and than.
The IP xxx.xxx.xxx.xxx address you have entered for this network adapter is already assigned to another adapter Microsoft Virtual Machine Bus Network Adapter #2. Microsoft Virtual Machine Bus Network Adapter #2 is hidden from the Network and Dial-up Connections Folder because it is not physically in the computer or is a legacy adapter that is not working If the same address is assigned to both adapters and they both become active, only one of them will use this address. This may result in incorrect system configuration.
Recently I had to migrate a VM running on old Windows OS to a new Hyper-V host.
You would expect to just copy the VM disk for one host to the other. And start it up.
Indeed so far so good. But when the VM had a FIXED IP Address before. You will now see that new copy of the VM has assigned a DHCP IP address ?
The reason is that the the Network Adapter has changed when copying over the VM from one host to the other.
When you try to put back in the same fixed IP ADDRESS you will see this message appear.
Whatever you try it will not accept the same IP Address as before
Which can be problematic for certain applications running on the VM.
- Start a CMD prompt as an admin
- Type: set devmgr_show_nonpresent_devices=1 and press ENTER
- Type DEVMGMT.MSC and press ENTER
- In Device Manager, click VIEW then SHOW HIDDEN DEVICES
- Expand NETWORK ADAPTORS
- Right click on each greyed out NIC and select UNINSTALL
- Close all of the Windows (including your IP, Network and Sharing Center…)
- Now can assign the again the same fixed IP ADDRESS to the new Adapter that was added to you VM.