Link to home
Create AccountLog in
Avatar of bwask
bwaskFlag for United States of America

asked on

Hyper-V NIC Removal - Fails to Start

I have a Hyper-V vm that I've added a second NIC to. I no longer need it so I'm trying remove it from the VM.

Each time I do so the VM fails to start from a shutdown state, but if I go back in and add it again, it will start up fine. 

Is there some way a NIC needs to be removed from a VM other than the obvious section under the Settings of the VM and the remove button on the network adapter that I'm unaware of?


Thanks

Eric

Avatar of Philip Elder
Philip Elder
Flag of Canada image

Remove the vNIC in the virtual machine's properties within Hyper-V Manager.
Apply & OK.
Use the Add Hardware to add the "old" vNIC.

Once done you can delete the virtual switch that was associated with the new removed physical network adapter.
does this machine need to connect to the network before login?
in
try switching the network virtual switch in the network adapters and see if the failure to boot follows
Avatar of bwask

ASKER

Philip - Let me better explain. I have a VM that I added a second Network Adapter under the Settings of the VM because I wanted to Team the NICS, which I did successfully. However, I no longer need the TEAM so I broke it and don't need 2 Network Adaptors for that VM anymore and want to remove the second Network Adapter. So... I did just as you said, I went in and removed the Network Adapter from the VM so it only had one. When I do that, the VM will reboot fine, but if I actually shut it off and then try to turn it back on it immediately kicks up an error like below. But If I go into Add Hardware and readd the Network Adaptor I just deleted it will fire back up. I can't seem to get rid of the unneeded Network Adaptor without breaking the VM.
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of bwask

ASKER

Well that's terrifying! OK I'll export it as is and then give it a go. Dang that seems like a lot of work just to remove a network adaptor.
It's one minute to accomplish.

There's nothing terrifying about it.

Deleting in Hyper-V Manager only deletes the configuration files for the VM not the VHDX files.

So, just run the process.

A backup should be in place anyway right?
Avatar of bwask

ASKER

Server Crashed before I could do this, so rebuilt it from scratch.