How to Disable LAN connection using CMD

By | January 24, 2019

How to Disable LAN connection using CMD? when we use a computer with a Wi-Fi network and there are some cases in which we want to disable that connection. Most of the time we can do it from the control panel. Sometimes we face a problem and not easily done. If you wanna disable the Lan connection from Windows 8.1, 8, and 7 command prompt, You can just run the following steps.

Step1 – Open elevated command prompt
Step2 – Run the below command

netsh interface set interface name="Local Area Connection" admin=DISABLED

When you have done it. Just open “Network Connection” and confirm that the connection is disabled.

Now, you can also use this netsh command to check your device’s network connection status.

How to Disable LAN connection using CMD

C:\>netsh interface show interface
Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Disabled       Disconnected   Dedicated        Local Area Connection 2
Enabled        Connected      Dedicated        Wireless Network Connection
Disabled       Disconnected   Dedicated        Local Area Connection

The above netsh command prompt shows you that the LAN connection is turned off.

Leave a Reply

Your email address will not be published. Required fields are marked *