DEMO: NEW ACTION1 PLATFORM WITH MACOS SUPPORT

This Wednesday | 12 PM EST / 11 AM CET

Action1 5 How-to Articles 5 How to Disable or Enable Network Adapter on Windows Endpoints

How to Disable or Enable Network Adapter on Windows Endpoints

September 13, 2019

By Peter Barnett

5

Disable or enable the network adapter in network connections

5

Disable or enable the network adapter in device manager

5

Disable or enable the network adapter using the Wmic command

5

Disable or enable the network adapter using the Netsh command

5

Disable or enable the network adapter with Action1

In today’s article we will look at how to disable or enable the network adapter (network connection) in Windows in various ways.

1. Disable or Enable the Network Adapter in Network Connections

In the search bar or in the Run, type control.exe /name Microsoft.NetworkAndSharingCenter and press the Enter key (or go to the Start menu Settings Network and Internet Status Adapter Settings).

Open Adapter Settings

On the left side, click on “Change adapter settings“.

Step 1 to disable or enable network adapter is to Change adapter settings

To disconnect the network connection: select the network adapter that you want to disconnect and click on “Disconnect the Network Device” (or right-click on the network connection and select Disconnect).

Disconnect the Network Device
To enable the network connection: select the network adapter you want to enable, and click on “Turning on the Network Device” (or right-click on the network connection and select “Connect“).

2. Disable or Enable the Network Adapter in Device Manager

Open the “Device Manager“: one of the ways is to execute in the search bar or in the menu (execute is called with the Win + R keys) enter the command devmgmt.msc and press the Enter key.

Open Device Manager

To disconnect the network connection: open “Network adapters“, right-click on the one you want to disconnect, and click on “Disable device“. In the window that appears, click on “Yes.”

Last Step to disable or enable network adapter is to Network adapters disconnect.png
To enable a network connection: open “Network adapters“, right-click on the one you want to enable, and click on “Enable device“.

3. Disable or Enable the Network Adapter Using the Wmic Command

Open a command prompt as an administrator: one way is to enter cmd in the search bar and right-click on the result found, select “Run as administrator“.

Step 1 to disable or enable network adapter is to open command line

Type wmic nic get name, index and press Enter. Opposite the name of the network adapter that you need to enable or disable is the index that you need to remember.

check adapter

To disable the network adapter, use the command wmic path win32_networkadapter where index = 1 call disable (the number must be replaced with the index of the network adapter)

The next step to disable or enable network adapter is to use wmic command

To enable the network adapter, use the wmic path win32_networkadapter command where index = 1 call enable

enable adapter

4. Disable or Enable the Network Adapter Using the Netsh Command

Open a command prompt as an administrator: one way is to enter cmd in the search bar and right-click on the found command line, select “Run as administrator“.

run cmd as admin

Type netsh interface show interface and press Enter. Remember the interface name of the network adapter you want to disable or enable.

netsh interface show interface

To disable a network connection, use the netsh interface set interface “Wi-Fi 12” disable command (replace the one highlighted in red with the name of the network adapter interface).

The next step to disable or enable network adapter is to use command netsh interface set interface disable

To enable a network connection, use the netsh interface set interface “Wi-Fi 12” enable command (replace the highlighted red with the name of the network adapter interface).

5. Disable or Enable the Network Adapter with Action1

Action1’s intuitive dashboard helps optimize routine tasks, significantly scaling up IT productivity.

Step 1: After logging into the Action1 dashboard, in the Navigation pane (the left column), select Managed Endpoints and mark the endpoint to delete the user profile remotely.

Step 2: Then click on the More Actions menu and select Run Command.

Step 3: In the box, type this command to disable adapter:

interface set interface “interface name” disable

or this one to enable adapter:

interface set interface “interface name” enable

disable network adapter with Action1

Step 4: In the Select Managed Endpoints window, you mark those endpoints on which you are going to disable or enable network adapter. You can add all the available endpoints or mark them one by one. 

Run script automation - step 2

Step 5: Schedule the action (Run now/ No schedule yet/ At specific time/ Repeat) and Finish.

Consider Using Action1 to Disable or Enable Network Adapter if:

  • You need to perform an action on multiple computers simultaneously.
  • You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software deployment, remote desktop, software/hardware inventory, and endpoint management.

See What You Can Do with Action1

 

Join our weekly LIVE demo “Patch Management That Just Works with Action1” to learn more

about Action1 features and use cases for your IT needs.

 

spiceworks logo
getapp logo review
software advice review
trustradius
g2 review
spiceworks logo

Related Posts