Often when you are troubleshooting an issue with Windows Operating System, you would use the Command Prompt and there are scenarios were you would need to disable one of the NIC using command line, I often need this while troubleshooting with imaging issue. I’ve got the handy command.
C:\>wmic nic get name, index
you will find the output like
1 Broadcom NetLink (TM) Gigabit Ethernet
2 Broadcom NetLink (TM) Gigabit Ethernet #2
3 WAN Miniport (L2TP)
4 WAN Miniport (PPTP)
5 WAN Miniport (PPPOE)
6 WAN Miniport (IP)
7 Intel(R) WiFi Link 5100 AGN
8 WAN Miniport (Network Monitor)
Now, if you wish to disable “Broadcom NetLink (TM) Gigabit Ethernet #2”
Please execute the below command
C:\>wmic path win32_networkadapter where index=2 call disable
This should now disable the NIC “Broadcom NetLink (TM) Gigabit Ethernet #2”
Thanks
WintelAdmin