fb
Homepage 5 How-to Articles 5 How to Enable, Disable or Restart Network Adapter Remotely

How to Enable, Disable or Restart Network Adapter Remotely

Manage remote endpoints, deploy software and patches with Action1 cloud RMM solution.

Sign up and use free on up to 50 endpoints with no functionality limits or expiration.



October 25, 2019

Very often, when working on a remote site, you must distort the network cable or disconnect and enable the network adapter. But since we cannot do this physically, we have to ask someone to do it or to excel in such ways. In Linux, this happens easily, via ssh we drive in ifdown eth0 & ifup eth0 and all the rules. In Windows, you have to do the following to restart the network adapter.

1. Disable or Enable the Network Adapter in Network Connections

In the search bar or in the execute menu, 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 disable the network connection: select the network adapter that you want to disable and click on “Disable this network device” (or right-click on the network connection and select Disable).

disable the network connection

To enable the network connection: select the network adapter you want to enable, and click on “Enable this network device” (or right-click on the network connection and select “Enable”).

disable the network connection

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 (Run is called with the Win + R keys) enter the command devmgmt.msc and press the Enter key.

To Disable or Enable the Network Adapter is to open devmgmt

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

Disable network device

To enable a network connection: open “Network adapters”, right-click on the one you want to enable, and click on “Enable device”.

enable network device

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

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

To Disable or Enable the 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.

To Disable or Enable the Network Adapter is to Open Command line

To disable a network adapter, use command wmic path win32_networkadapter where index = 1 call disable

networkadapter disable

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

4. Restart Network Adapter with Bat-file

Create a bat-file, enter the following script there necessarily in ANSI encoding:
netsh interface set interface name = "Local Area Connection" admin = DISABLED

ping 127.0.0.1 -n 6> nul

netsh interface set interface name = "Local Area Connection" admin = ENABLED
Run this bat-file as administrator.
where “Local Area Connection” is the name of the network adapter in your Windows. It may be called “Local Area Connection 2” or “Local Area Connection 3”. For convenience, I renamed the connections to LAN, WiFi, Internet, Router or Bluetooth.
Remarks: works not only in Windows 7, but also in Windows 8 and Windows 10.

Consider Using Action1 to Restart the 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 IT management platform for patch management, software deployment, remote desktop, software/hardware inventory, endpoint management and endpoint configuration reporting.

Related Articles

How To Delete User Profiles Remotely with PowerShell

When a user logs onto the computer for the first time (not via the network to access shared folders or printers), Windows creates a user profile. Among its contents are the NTUSER.DAT file (user profile settings), user-specific folders (My Documents, Desktop, etc.),...

About Action1 RMM

Action1 RMM is a cloud-based IT solution for remote monitoring and management, patching, and remote support.

Start your free two-week trial of Action1, or use RMM tools for free forever on 50 endpoints with no functionality limitations!



0 Comments

Submit a Comment

Your email address will not be published.

cloud patch management solutions action1

MSP Solution

Centralize endpoint management and boost efficiency of IT service delivery.

automated server patch management action compliance

Patch Management

Identify and deploy missing OS and third-party software updates.

cloud software deployment tools windows

Software Deployment

Distribute software and updates across managed endpoints.

software distribution tools software inventory action1

IT Asset Inventory

Keep a detailed inventory and manage hardware and software assets.

web client remote desktop

Remote Desktop

Support users via seamless remote desktop connection.

web based rdp client

Unattended Access

Provide administrative support and manage remote devices.

automated patch management action1

Endpoint Management

Run PowerShell, custom scripts, reboot computers and restart services.

API integrations action1

RESTful API

Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.