Tuesday 25 December 2018

How to enable or disable network adapters using Command Prompt

On Windows 10, you can use the netsh command tool to disable or re-enable network adapters on your device.

Disabling adapter

To disable a network adapter using netsh in Command Prompt, use these steps:
  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select Run as administrator.
  3. Type the following command to identify the name of the adapter you want to disable and press Enter:
    netsh interface show interface
  4. Type the following command to disable the Wi-Fi or Ethernet adapter and press Enter:
    netsh interface set interface "YOUR-ADAPTER-NAME" disable



    In the command remember to specify the name of the adapter you want to disable. The quotation marks are only required if there are spaces within the name.

Enabling adapter

To enable a network adapter using netsh in Command Prompt, use these steps:
  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select Run as administrator.
  3. Type the following command to identify the name of the adapter you want to enable and press Enter:
    netsh interface show interface
  4. Type the following command to disable the Wi-Fi or Ethernet adapter and press Enter:
    netsh interface set interface "YOUR-ADAPTER-NAME" enable



    In the command remember to specify the name of the adapter you want to enable. The quotation marks are only required if there are spaces within the name.

No comments:

Post a Comment