How to delete tunnel adapters in batches in Windows 7/2008

  

1. In the NIC attribute "Network", remove the "Internet Protocol Version (TCP/IPv6)" rd. 2. Execute the following three commands under CMD. Netsh interface teredo set state disablenetsh interface 6to4 set state disablenetsh interface isatap set state disable3. In the "Device Manager" first select "Show hidden devices" in the "View" menu, and then in the network adapter You can see many 6to4 Adapter or isatap Adapter tunnel adapters. Delete all of this. Tip: It is too painful to delete one by one. Microsoft provides a tool for device management under the command line. The name is DevCon.exe. After downloading, it includes 32-bit and 64-bit versions. Choose the version that suits you. Then run the following command in the command line CMD: devcon remove * 6to4 (the role is to delete all tunnel adapters) Finally, under the ipconfig command in CMD, if there is only Ethernet adapter and wireless adapter (if you have a wireless network card), then you have deleted it. Restart the computer.

The following is my own batch processing, copy and save as .BAT file available. Need to download devcon64.exe

software name:
devcon.exe can replace the device manager tool (support 32/64 bit system)
software size:
38KB
updated:
2012-10-31


copy the code
code is as follows: @ECHO OFF :: replication Devcon64.exe is placed with this BAT, or devcon64 is placed in the Windows system directory. netsh interface teredo set state disablenetsh interface 6to4 set state disablenetsh interface isatap set state disabledevcon64 remove *teredodevcon64 remove *6to4devcon64 remove *isatap@pause

Copyright © Windows knowledge All Rights Reserved