locked
Uncheck the "Internet Protocol Version 6 (TCP/IPv6)" checkbox RRS feed

  • Question

  • Hi,

    I'm wonder how to uncheck the "Internet Protocol Version 6 (TCP/IPv6)" checkbox
    (Of the connection properties), as below by using a PowerShell script.

    Regards,

    Bader

    Wednesday, February 22, 2012 8:53 AM

Answers

  • http://support.microsoft.com/kb/929852

    or

    download - http://archive.msdn.microsoft.com/nvspbind

    #Display all information
    PS >  .\nvspbind.exe
    
    Hyper-V Network VSP Bind Application 6.1.7725.0.
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Adapters:
    
    {DE828066-92B2-4CA9-A18C-27FC8CCC57AC}
    "*isatap"
    "Microsoft ISATAP Adapter #2"
    "isatap.beeline":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_tcpip6_tunnel (Microsoft TCP/IP version 6 - Tunnels)
    
    {9F116B1B-E6AC-4419-AAEF-84F674BBF66F}
    "*isatap"
    "Microsoft ISATAP Adapter #3"
    "isatap.{4319C06D-F0F8-4E4E-8634-B4D477C039A7}":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_tcpip6_tunnel (Microsoft TCP/IP version 6 - Tunnels)
    
    {28E4F1C6-9778-47F6-916F-69ADCBE5FC31}
    "pci\ven_1969&dev_1026&subsys_83041043&rev_b0"
    "Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller"
    "Local Area Connection":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_pacer         (QoS Packet Scheduler)
       disabled: ms_ndiscap       (NDIS Capture LightWeight Filter)
       enabled:  ms_wfplwf        (WFP Lightweight Filter)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  sun_vboxnetflt   (VirtualBox Bridged Networking Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip         (Internet Protocol Version 4 (TCP/IPv4))
       enabled:  ms_lltdio        (Link-Layer Topology Discovery Mapper I/O Driver)
       enabled:  ms_rspndr        (Link-Layer Topology Discovery Responder)
       enabled:  ms_pppoe         (Point to Point Protocol Over Ethernet)
       enabled:  ms_ndisuio       (NDIS Usermode I/O Protocol)
    
    
    #Disable ms_tcpip6 on the "Local Area Connection" interface
    PS  >  .\nvspbind.exe /d "Local Area Connection"ms_tcpip6

    • Edited by Kazun Wednesday, February 22, 2012 9:35 AM
    • Marked as answer by Nadim2522 Wednesday, February 22, 2012 10:12 AM
    Wednesday, February 22, 2012 8:56 AM

All replies

  • http://support.microsoft.com/kb/929852

    or

    download - http://archive.msdn.microsoft.com/nvspbind

    #Display all information
    PS >  .\nvspbind.exe
    
    Hyper-V Network VSP Bind Application 6.1.7725.0.
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    
    Adapters:
    
    {DE828066-92B2-4CA9-A18C-27FC8CCC57AC}
    "*isatap"
    "Microsoft ISATAP Adapter #2"
    "isatap.beeline":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_tcpip6_tunnel (Microsoft TCP/IP version 6 - Tunnels)
    
    {9F116B1B-E6AC-4419-AAEF-84F674BBF66F}
    "*isatap"
    "Microsoft ISATAP Adapter #3"
    "isatap.{4319C06D-F0F8-4E4E-8634-B4D477C039A7}":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_tcpip6_tunnel (Microsoft TCP/IP version 6 - Tunnels)
    
    {28E4F1C6-9778-47F6-916F-69ADCBE5FC31}
    "pci\ven_1969&dev_1026&subsys_83041043&rev_b0"
    "Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller"
    "Local Area Connection":
       enabled:  ms_netbios       (NetBIOS Interface)
       enabled:  ms_server        (File and Printer Sharing for Microsoft Networks)
       enabled:  ms_pacer         (QoS Packet Scheduler)
       disabled: ms_ndiscap       (NDIS Capture LightWeight Filter)
       enabled:  ms_wfplwf        (WFP Lightweight Filter)
       enabled:  ms_netmon        (Microsoft Network Monitor 3 Driver)
       enabled:  sun_vboxnetflt   (VirtualBox Bridged Networking Driver)
       enabled:  ms_msclient      (Client for Microsoft Networks)
       enabled:  ms_tcpip6        (Internet Protocol Version 6 (TCP/IPv6))
       enabled:  ms_netbt         (WINS Client(TCP/IP) Protocol)
       enabled:  ms_smb           (Microsoft NetbiosSmb)
       enabled:  ms_tcpip         (Internet Protocol Version 4 (TCP/IPv4))
       enabled:  ms_lltdio        (Link-Layer Topology Discovery Mapper I/O Driver)
       enabled:  ms_rspndr        (Link-Layer Topology Discovery Responder)
       enabled:  ms_pppoe         (Point to Point Protocol Over Ethernet)
       enabled:  ms_ndisuio       (NDIS Usermode I/O Protocol)
    
    
    #Disable ms_tcpip6 on the "Local Area Connection" interface
    PS  >  .\nvspbind.exe /d "Local Area Connection"ms_tcpip6

    • Edited by Kazun Wednesday, February 22, 2012 9:35 AM
    • Marked as answer by Nadim2522 Wednesday, February 22, 2012 10:12 AM
    Wednesday, February 22, 2012 8:56 AM
  • Hi,

    Thank you very much for your help,

    Regards,

    Bader

    Wednesday, February 22, 2012 10:16 AM
  • 6 years later, here I am posting.

    I ran into this issue an needed a solution because a legacy VPN client left a filter attached to ALL adapters on every device it was installed on when uninstalled in ~5% of devices. I could not pinpoint if it was related to install line parameters or versioning, but with 25+ versions of this software in my environment a simple script was the solution.

    I currently use the PSADT to deploy software and I added the following lines to accomplish my task:

            ## Remove AGN Filter on NICs...
    
            Try{
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Ethernet" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Local Area Connection" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Local Area Connection 2" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Local Area Connection 3" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Ethernet 2" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Ethernet 3" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Ethernet 4" att_agnfilt' -ContinueOnError $True
            Execute-Process -Path "$dirSupportfiles\nvspbind.exe" -Parameters '-d "Wi-Fi" att_agnfilt' -ContinueOnError $True
            }Catch{
            }

    It appears that native PoSh is unable to use "Get-NetAdapter", and I was unable to import. Looks like it works in Windows Server 2012+ and with an installation for Windows 10. This may be incorrect, but I ran out of time to figure it out and nvspbind works perfectly. 

    The above cmdlets and switches are native to the PSADT, so they may be unfamiliar. This simply just runs down and tries to remove the "att_agnfilt" protocol from all the adapters on the device. We do NOT have a standard image or device set in my current environment, so this was the solution as I was unable to create an array.

    Hope this helps.



    • Edited by noobert87 Wednesday, July 25, 2018 7:59 PM
    Wednesday, July 25, 2018 6:36 PM