How to Disable LAN connection using CMD
If you want to disable LAN connection on your computer using Windows command, you can run that command for disabling lan connections.
Open command prompt run as administrator and type command below mention and press enter
netsh interface show interface
For disable type below mention command and press enter
netsh interface set interface name="Wi-Fi" admin=DISABLED
Now check the status of the interface
netsh interface show interface
For enable type below mention command and press enter
netsh interface set interface name="Wi-Fi" admin=enable
Open command prompt run as administrator and type command below mention and press enter
netsh interface show interface
For disable type below mention command and press enter
netsh interface set interface name="Wi-Fi" admin=DISABLED
Now check the status of the interface
netsh interface show interface
For enable type below mention command and press enter
netsh interface set interface name="Wi-Fi" admin=enable
0 Comments