Enable or Disable Network Adapters in Windows  

    Enable or Disable Network Adapters in Windows

    Enable or Disable Network Adapters in Windows

    How to Enable or Disable Network Adapters in Windows
    Published by Category: Network & Sharing
    06 Mar 2020
    Designer Media Ltd

    How to Enable or Disable Network Adapters in Windows


    A network adapter is a computer hardware component that connects a computer to a computer network known as a network connection.

    This tutorial will show you different ways to enable or disable a network adapter (NIC) or network connections in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to enable or disable network adapters.



    Contents

    • Option One: Enable or Disable Network Adapter in Network Connections
    • Option Two: Enable or Disable Network Adapter in Device Manager
    • Option Three: Enable or Disable Network Adapter using Netsh Command
    • Option Four: Enable or Disable Network Adapter using WMIC Command
    • Option Five: Enable or Disable Network Adapter in PowerShell






    OPTION ONE

    Enable or Disable Network Adapter in Network Connections


    1 Do step 2 (Settings) or step 3 (Control Panel) below for how you would like to open Network Connections.


    2 Open Settings, and click/tap on the Network & Internet icon.

    This step is only available in Windows 10.

    A) Click/tap on Status on the left side, click/tap on Change adapter options on the right side, and go to step 4. (see screenshot below)

    Enable or Disable Network Adapters in Windows-network_connections-2.jpg

    3 Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.

    A) Click/tap on the Change adapter settings link on the left side, and go to step 4. (see screenshot below)

    Enable or Disable Network Adapters in Windows-network_connections-1.jpg

    4 Do step 5 (disable) or step 6 (enable) below for what you want to do.


     5. To Disable a Network Adapter or Network Connection

    A) Select the network connection (ex: "Wi-Fi") you want to disable, click/tap on Disable this network device in the toolbar, and go to step 7. (see screenshot below)

    OR

    B) Right click or press and hold on the network connection (ex: "Wi-Fi") you want to disable, click/tap on Disable, and go to step 7.

    Enable or Disable Network Adapters in Windows-network_connections-3.jpg


     6. To Enable a Network Adapter or Network Connection

    A) Click/tap on the disabled network connection (ex: "Wi-Fi") you want to enable, and go to step 7. (see screenshot below)

    OR

    B) Select the disabled network connection (ex: "Wi-Fi") you want to enable, click/tap on Enable this network device in the toolbar, and go to step 7.

    OR

    C) Right click or press and hold on the disabled network connection (ex: "Wi-Fi") you want to enable, click/tap on Enable, and go to step 7.

    Enable or Disable Network Adapters in Windows-network_connections-4.jpg


    7 When finished, you can close Network Connections and Network and Sharing Center if you like.






    OPTION TWO

    Enable or Disable Network Adapter in Device Manager


    1 Open Device Manager.

    2 Do step 3 (disable) or step 4 (enable) below for what you want to do.


     3. To Disable a Network Adapter

    A) Expand open Network adapters, right click or press and hold on the network adapter you want to disable, and click/tap on Disable device. (see screenshot below)

    Enable or Disable Network Adapters in Windows-device_manager_network_adapter-1.jpg

    B) Click/tap on Yes to confirm, and go to step 5. (see screenshot below)

    Enable or Disable Network Adapters in Windows-netsh_network_adapter-4.png


     4. To Enable a Network Adapter

    A) Expand open Network adapters, right click or press and hold on the disabled network adapter you want to enable, click/tap on Enable device, and go to step 5. (see screenshot below)

    Enable or Disable Network Adapters in Windows-device_manager_network_adapter-2.jpg

    5 When finished, you can close Device Manager if you like.






    OPTION THREE

    Enable or Disable Network Adapter using Netsh Command


    1 Open an elevated command prompt.

    2 Type the command below into the elevated command prompt, and press Enter. Make note of the Interface Name (ex: "Wi-Fi") for the network adapter you want to enable or disable. (see screenshot below)

    netsh interface show interface

    Enable or Disable Network Adapters in Windows-netsh_network_adapter-1.png

    3 Do step 4 (disable) or step 5 (enable) below for what you want to do.


     4. To Disable a Network Adapter

    A) Type the command below into the elevated command prompt, press Enter, and go to step 6.

    netsh interface set interface "Interface Name" disable

    Substitute Interface Name in the command above with the actual Interface Name (ex: "Wi-Fi") from step 2 you want to disable.

    For example: netsh interface set interface "Wi-Fi" disable

    Enable or Disable Network Adapters in Windows-netsh_network_adapter-2.png


     5. To Enable a Network Adapter

    A) Type the command below into the elevated command prompt, press Enter, and go to step 6.

    netsh interface set interface "Interface Name" enable

    Substitute Interface Name in the command above with the actual Interface Name (ex: "Wi-Fi") from step 2 you want to enable.

    For example: netsh interface set interface "Wi-Fi" enable

    Enable or Disable Network Adapters in Windows-netsh_network_adapter-3.png


    6 When finished, you can close the elevated command prompt if you like.






    OPTION FOUR

    Enable or Disable Network Adapter using WMIC Command


    1 Open an elevated command prompt.

    2 Type the command below into the elevated command prompt, and press Enter. Make note of the Index number (ex: 1) for the network adapter you want to enable or disable. (see screenshot below)

    wmic nic get name, index

    Enable or Disable Network Adapters in Windows-wmic_network_adapter-1.png

    3 Do step 4 (disable) or step 5 (enable) below for what you want to do.


     4. To Disable a Network Adapter

    A) Type the command below into the elevated command prompt, press Enter, and go to step 6.

    wmic path win32_networkadapter where index=Index number call disable

    Substitute Index number in the command above with the actual Index number (ex: 1) from step 2 of the network adapter you want to disable.

    For example: wmic path win32_networkadapter where index=1 call disable

    Enable or Disable Network Adapters in Windows-wmic_network_adapter-2.png


     5. To Enable a Network Adapter

    A) Type the command below into the elevated command prompt, press Enter, and go to step 6.

    wmic path win32_networkadapter where index=Index number call enable

    Substitute Index number in the command above with the actual Index number (ex: 1) from step 2 of the network adapter you want to enable.

    For example: wmic path win32_networkadapter where index=1 call enable

    Enable or Disable Network Adapters in Windows-wmic_network_adapter-3.png


    6 When finished, you can close the elevated command prompt if you like.






    OPTION FIVE

    Enable or Disable Network Adapter in PowerShell


    This option is only available in Windows 8.1 and Windows 10.


    1 Open an elevated PowerShell.

    2 Type the command below into the elevated Powershell, and press Enter. Make note of the network adapter Name (ex: "Wi-Fi") you want to enable or disable. (see screenshot below)

    To see more usage options for the Get-NetAdapter command, see: Get-NetAdapter | Microsoft Docs

    Get-NetAdapter | format-list

    Enable or Disable Network Adapters in Windows-powershell_network_adapter-1.jpg

    3 Do step 4 (disable) or step 5 (enable) below for what you want to do.


     4. To Disable a Network Adapter

    To see more usage options for the Disable-NetAdapter command, see: Disable-NetAdapter | Microsoft Docs

    A) Type the command below into the elevated Powershell, press Enter, and go to step 6.

    Disable-NetAdapter -Name "network adapter name" -Confirm:$false

    Substitute network adapter name in the command above with the actual network adapter Name (ex: "Wi-Fi") from step 2 you want to disable.

    For example: Disable-NetAdapter -Name "Wi-Fi" -Confirm:$false

    Enable or Disable Network Adapters in Windows-powershell_network_adapter-2.png


     5. To Enable a Network Adapter

    To see more usage options for the Enable-NetAdapter command, see: Enable-NetAdapter | Microsoft Docs

    A) Type the command below into the elevated Powershell, press Enter, and go to step 6.

    Enable-NetAdapter -Name "network adapter name" -Confirm:$false

    Substitute network adapter name in the command above with the actual network adapter Name (ex: "Wi-Fi") from step 2 you want to enable.

    For example: Enable-NetAdapter -Name "Wi-Fi" -Confirm:$false

    Enable or Disable Network Adapters in Windows-powershell_network_adapter-3.png


    6 When finished, you can close the elevated Powershell if you like.


    That's it,
    Shawn






  1. Posts : 3
    windows 10
       #1

    Disable-NetAdapter -Name "network adapter name" -Confirm:$true
      My Computer


  2. Posts : 68,954
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello Aleks, :)

    The -Confirm:$false part of the command in Option Five is to not have to confirm y/n to disable the network adapter.

    You could use -Confirm:$true instead to have it prompt for confirmation. It will also prompt for confirmation by default if -Confirm:$false or -Confirm:$true is not included in the command.
      My Computers


  3. Posts : 2
    windows 10
       #3

    THANK YOu!

    Enable or Disable Network Adapters in Windows-source_2.gif
      My Computer


  4. Posts : 68,954
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

      My Computers


  5. Posts : 7,904
    Windows 11 Pro 64 bit
       #5

    I wish there was a feature like Airplane mode when using WiFi to disconnect a hard wired Ethernet connection.
      My Computers


  6. Posts : 68,954
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    Steve C said:
    I wish there was a feature like Airplane mode when using WiFi to disconnect a hard wired Ethernet connection.
    Hello Steve,

    I haven't tested this, but you could test changing the network adapter connection priority order using an option in the tutorial below to make Wi-Fi have a higher priority than Ethernet to see if that may do the trick.

    Change Network Adapter Connection Priorities in Windows 10
      My Computers


 

Tutorial Categories

Enable or Disable Network Adapters in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:15.
Find Us




Windows 10 Forums