TECHDIIP

  • Tech
  • Windows
  • Powershell
  • Scripts
  • News
  • Games

How to Disable LAN Connection by CMD and GUI Way

27 October 2020 admin Leave a Comment

How to disable LAN connection on windows 10 or any windows servers operating system, this article explains how simple it is, and also shares the network connection shortcut key to open LAN connection settings…

For any reason if you want to disable to local area network connection, IT help desk support teams or PC administrators work on all network-related issues and NIC card issues they disable the LAN connection and troubleshoot the issue.

Here are two ways we can disable to LAN connection, one is using the command prompt (CMD) and GUI, let’s discuss both ways.

Disable LAN connection using CMD

Open the command prompt, click on the start menu and open run dialog box type in CMD and hit enter to open the command prompt. Make sure you have opened with your administrator privileges account.

Once it is opened then type in the below command to disable the LAN.

netsh interface set interface name="Local Area Connection" admin=DISABLED
C:\raj>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

Disable LAN connection (GUI)

  1. Right-click on your wifi or network icon at the rightmost bottom in the taskbar and choose open network and connection
  2. Click on Change adapter option to open network connection.
  3. One can also open the network connection using the shortcut key ncpa.cpl.
  4. Right-click on the wifi or active connected LAN connection icon and choose to disable option, see the screenshot below.

Thank you for reading this article, if you have any questions please let us know.

Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.

Windows

Leave a Reply Cancel reply

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

Techdiip © 2012 - 2020 | Please Read Our

  • Privacy Policy
  • Disclaimer – User Agreement
  • About Us
  • Contact Us