Partager via


Recover a Virtual NIC in Virtual Server 2008

Let's say you did something stupid (or not - who am I to say) and deleted a VM that you needed later on. You have the VHD files but have lost the definition file.

You re-create the machine, but now the VM finds "new" NICs. You can remove the old NICs from the machine (device mangler or regedit), but if you really needed the original NIC MAC addresses here are two ways to recover them:

 

Look into HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces on VM

And move settings to new NICs.

 

Alternatively you may run Device Manager, showing disconnected devices, look into old NICs device GUIDs, write them down, shutdown VM, edit XML configuration file manually to replace current GUIDs to old GUIDs.

Both are Completely Unsupported.