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
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
bwask
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of bwask
bwask
Flag of United States of America image

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.
Avatar of Philip Elder
Philip Elder
Flag of Canada image

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
bwask
Flag of United States of America image

ASKER

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

Virtualization is the act of creating a virtual (rather than actual) version of something, including (but not limited to) a virtual computer hardware platform, operating system (OS), storage device, or computer network resources. Virtualization is usually the creation of a system that executes separate from the underlying hardware resources, or the creation of an entire desktop for systems located elsewhere, similar to thin clients.

22K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo