disable and enable wifi command windows 10 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