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