How to Disable LAN connection using CMD

How to Disable LAN connection using CMD? when we use a computer with Wi-Fi network and there are some cases in which we want to disable that connection. Most of the times we can do it from the control panel. Sometimes we face the problem and not easily done. If you wanna to disable Lan connection from Windows 8.1, 8, 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 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

Above netsh command prompt shows you that LAN connection is turned off.

You may also like...

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.