Disable Ipv4/Ipv6 on specific NIC RRS feed

  • Question

  • Hello ,all
    My lab computer have 4 NICS

    I want to disable programmatically ipv4 /ipv6 on specific NIC. I can't find a way to do this

    Something like open "Network connections" -> select specific connection ->right mouse ->properties->uncheck ipv4 or uncheck ipv6

    How can I perform this action programmatically , I didn't find a way to do this with netsh

    I don't want to use netsh interface ipv4 uninstall  -->because it remove ipv4 from entire machine and not specific NIC
    Thanks a lot, will appreciate any help
    Friday, March 5, 2010 10:52 AM