Share via

Disable Network card

Glenn Maxwell 13,761 Reputation points
2022-04-18T00:01:52.153+00:00

Hi All

i have azure virtual machines. from the azure side, for the VM i can see only one network card but within in operating system i can see two network cards.
For example Ethernet and vEthernet(nat). I want to disable second network card vEthernet(nat), i have disabled it and when the VM is restarted this network card gets enabled automatically.
On one of my azure virtual which is a domain controller this network card is creating problem. how do i disable this network card permanently. i dont want this network card to come up automaticaly. i dont have any issue with second network card on any of the VMS except my Domain Controller

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

risolis 8,806 Reputation points
2022-04-18T00:15:01.5+00:00

Hello @Glenn Maxwell

Thanks for posting!

Have you checked if Hyper-V was enabled on this machine?
Have you issued this command "Disable-NetAdapter" from PS terminal?

Looking forward to your feedback.

BR,

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Glenn Maxwell 13,761 Reputation points
    2022-04-18T01:20:28.49+00:00

    I can see HyperV installed if i remove it will the network card get removed?
    193676-hyperv.jpg

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.