disable an adapter code example Example: cmd disable wifi driver netsh interface set interface name="Wireless Network Connection" admin=DISABLED