Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits

How to Disable a Wireless Network Connection When a Wired Connection is Detected

Résumé: Steps for making your wireless network connection turn off when you connected a wired network connection.

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Instructions


This article provides the information about "Configuring your wireless card to disable when connected to a wired network connection in Windows 8.1 and Windows 10."


Disabling Wireless (Wi-Fi Only) When Connected to Wired Connections

HOW11386_en_US__1icon Note: The following information has not been verified for virtual networks. There is no current ETA for testing with virtual networks and this solution.

Windows 8.1 or 10 system users may want to have their system wireless network connection to turn off when a wired network connection is available. (When a portable system is docked.)

Many find this is desirable as many WLAN network connections are slower data performance.

The instructions below show how to configure Windows Task Scheduler to disable the wireless network connection when a wired connection is detected.


Configuration

Follow the steps listed below to configure Windows Task Scheduler your system to automatically switch to the wired network connection when detected.

  1. In the Search Box type:  Services.msc This should open the Services Window depicting all the Local Services running on the system. Enable Wired-Autoconfig Service (change to Automatic) (Figure 1):


    HOW11386_en_US__2Wired-Auto-Config
    Figure 1
  2. Open Event Viewer (Right-click the start button, select Event Viewer from the menu) and in system events: Event 15500 shows that the network cable has been unplugged from dock (Figure 2):

    HOW11386_en_US__3Wired-Auto-Config-events
    Figure 2
    NOTE: The following items involve editing events in Task Scheduler. See https://technet.microsoft.com/en-us/library/cc766442.aspx for more information about editing tasks.
  3. Event 15500 runs powershell to Enable Wi-Fi (WiFI On Properties) (Figure 3):

    HOW11386_en_US__4Wired-Auto-Config-1
    Figure 3
    "Enable-NetAdapter –Name ‘Wi-Fi’ –confirm:$False
  4. Event 15501 shows that network adapter has been plugged in (Figure 4):

    HOW11386_en_US__5Wired-Auto-Config-2
    Figure 4
  5. Event 15501 runs PowerShell to disable Wi-Fi (Figure 5).

    HOW11386_en_US__6Wired-Auto-Config-3
    Figure 5
    "Disable-NetAdapter –Name ‘Wi-Fi’ –confirm:$False
     
  6. On on the CONDITIONS TAB editing both events be sure to uncheck AC power (Figure 6):

    HOW11386_en_US__7Wired-Auto-Config-4
    Figure 6 
  7. The following examples show how to make Network Switching work in Windows 8.1 on a Latitude xx50 system using PowerShell:

    a. Wi-Fi Enable upon Ethernet disconnect (Figure 7):

    HOW11386_en_US__8Wifi enable upon ethernet disconnect
    Figure 7

    b. Wi-Fi Disable upon Ethernet connect (Figure 8):

    HOW11386_en_US__9Wifi disable upon ethernet connect
    Figure 8

  8. Minor adjustments required due to the docking and undocking nature of the system:
  9. "Wi-fi off" should be triggered by event 15510 (Device was added to system, not plugged in)
  10. "Wi-fi on" should be triggered by event 15513 (Device was removed from system, not unplugged)
  11. There should be four Tasks that are scheduled:
    • Undock Tablet (Adapter removed) 15513 Enable Wi-fi
    • Unplug Ethernet (Cable unplugged) 15500 Enable Wi-fi
    • Dock Tablet (Adapter added) 15510 Disable Wi-fi
    • Plug In Ethernet (Cable plugged in) 15501 Disable Wi-fi

If you have further questions about this article, contact Dell Technical Support.


Propriétés de l’article
Numéro d’article: 000111968
Type d’article: How To
Dernière modification: 21 Feb 2021
Version:  3
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.