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

Hyper-VVirtualizationGolang

Avatar of undefined
Last Comment
bwask

8/22/2022 - Mon
Philip Elder

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.
David Johnson, CD

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
ASKER
bwask

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.

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Philip Elder

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
bwask

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.
Philip Elder

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?
ASKER
bwask

Server Crashed before I could do this, so rebuilt it from scratch.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.