Bryan Ryan
asked on
How to disable network adapter in server 2012
I just want to disable network adapter by index 27.
PS C:\Users\ad> Get-NetIPInterface
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore
------- -------------- ------------- ------------ --------------- ---- --------------- -----------
21 vEthernet IPv6 1500 5 Enabled Connected ActiveStore
27 Local Area Connection* 12 IPv6 1300 5 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv6 4294967295 50 Disabled Connected ActiveStore
In network center there is no such adapter Local Area Connection* 12. Get-Netadapter also do not show this Local Area Connection* 12 also.
Wmic get name, index shows index 27 with name Hyper-V Virtual Ethernet Adapter #2. SO IT IS ACTUALLY 21 index. I cannot disable it with wmic, because i will lose connectivity
How to disable using Get-NetIPInterface, because it is the only place where it is shown.
Thanks
PS C:\Users\ad> Get-NetIPInterface
ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore
------- -------------- ------------- ------------ --------------- ---- --------------- -----------
21 vEthernet IPv6 1500 5 Enabled Connected ActiveStore
27 Local Area Connection* 12 IPv6 1300 5 Enabled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv6 4294967295 50 Disabled Connected ActiveStore
In network center there is no such adapter Local Area Connection* 12. Get-Netadapter also do not show this Local Area Connection* 12 also.
Wmic get name, index shows index 27 with name Hyper-V Virtual Ethernet Adapter #2. SO IT IS ACTUALLY 21 index. I cannot disable it with wmic, because i will lose connectivity
How to disable using Get-NetIPInterface, because it is the only place where it is shown.
Thanks
ASKER
The particular interface do not appear in there ncpa.cpl
By the way ipconfig show this adapter as Tunnel adapter local area connection #12
By the way ipconfig show this adapter as Tunnel adapter local area connection #12
Open device manager, go to view > select show hidden devices expand network adapters > right click on the adapted you want to remove then select uninstall
ASKER
How to know which adapter is which? ipconfig shows Tunnel adapter Local Area Connection* 12:
Device manager do not show something with tunnel named
Device manager do not show something with tunnel named
ASKER
Is it safe to disable IP helper service?
ALSO it is none of these:
PS C:\Users\Ad> netsh int teredo set state disabled
Ok.
PS C:\Users\Ad> netsh int 6to4 set state disabled
Ok.
PS C:\Users\Ad> netsh int isatap set state disabled
Ok.
PS C:\Users\Ad> ipconfig
Windows IP Configuration
Tunnel adapter Local Area Connection* 12:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::cc12:3502:470d:1478% 27
IPv4 Address. . . . . . . . . . . : 169.254.3.246
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
ALSO it is none of these:
PS C:\Users\Ad> netsh int teredo set state disabled
Ok.
PS C:\Users\Ad> netsh int 6to4 set state disabled
Ok.
PS C:\Users\Ad> netsh int isatap set state disabled
Ok.
PS C:\Users\Ad> ipconfig
Windows IP Configuration
Tunnel adapter Local Area Connection* 12:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::cc12:3502:470d:1478%
IPv4 Address. . . . . . . . . . . : 169.254.3.246
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Hello,
Please share a screen printer of the device manager, showing the network adapters.
I remain attentive to your comments.
regards..
Please share a screen printer of the device manager, showing the network adapters.
I remain attentive to your comments.
regards..
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
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.
In the operating system do the following.
Execute a run
place ncpa.cpl (to show you the network interfaces)
Select the interface to go to deactivate
Right click and click on disabled.
I remain attentive to your comments.
regards..