auto disabling of wifi when ethernet connected

Page 3 of 3 FirstFirst 123

  1. Posts : 1,334
    windows 10 PRO
    Thread Starter
       #21

    Matthew Wai said:
    You have to specify what connection you use and how you start it.
    Hi
    the WiFi is a Usb dongle adapter, always connected, but the Ethernet is switched on when I require a faster connection....so just need the WiFi to disconnect when an Ethernet connection is established and vice versa....if you need details please specify and I will provide them, thanks
      My Computer


  2. Posts : 7,457
    Windows 10 Home 20H2
       #22

    reddwarf4ever said:
    the Ethernet is switched on
    How do you switch it on?
      My Computer


  3. Posts : 1,334
    windows 10 PRO
    Thread Starter
       #23

    By a power switch to a hub which turns on the Ethernet......the WiFi comes from the main router
      My Computer


  4. Posts : 7,457
    Windows 10 Home 20H2
       #24

    The following commands are copied from the above page.

    netsh interface set interface name="Wireless Network Connection" admin=DISABLED

    netsh interface set interface name="Wireless Network Connection" admin=ENABLED


    Run them via an elevated Command Prompt and see whether they work.
      My Computer


  5. Posts : 4,023
    Windows 10 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #25

    What am I missing?

    My systems when connected to Ethernet do not use wireless. Hardwired Ethernet takes precedence.
    Do you just want to turn off the interface? Then simply disable it.

    Please enlighten me.

    Thanks.

      My Computer


  6. Posts : 7,457
    Windows 10 Home 20H2
       #26

    In my case, when I switch on my Ethernet modem, I will see the following in Event Viewer:
    Application and Services Logs-->Microsoft-->Windows-->NetworkProfile-->Operational: Event ID: 4001

    When I switch it off, I will see the following:
    Application and Services Logs-->Microsoft-->Windows-->NetworkProfile-->Operational: Event ID: 10001

    Check whether you will see the same there.
      My Computer


  7. Posts : 34,992
    Win 10 Pro (1903) (2nd PC is 21H2)
       #27

    Compumind said:
    What am I missing?
    My systems when connected to Ethernet do not use wireless. Hardwired Ethernet takes precedence.
    Please enlighten me.
    From what I've read that behaviour is driver dependent. Seems this PC is one of the exceptions, for whatever reason.

    Hence my suggestion of hitting it with a hammer (crafted by Matthew Wai?) triggered by a scheduled task...
      My Computers


  8. Posts : 7,457
    Windows 10 Home 20H2
       #28

    Run the following via an elevated Command Prompt when Ethernet is connected and when it is disconnected.

    netsh interface show interface
      My Computer


  9. Posts : 1,334
    windows 10 PRO
    Thread Starter
       #29

    Good news, should save a lot of unnecessary work.

    i used this, didn’t seem to work first, but redid it now works perfectly..
    GPO to Disable Non-Domain Wireless Networks When Connected to LAN

    In the GPO there are a separate setting that allows you to disable the Wi-Fi connections when a computer is connected to a corporate domain network via LAN. This policy is located in the GPO section Computer Configuration -> Policies ->Administrative Templates -> Network ->Windows Connection Manager and called “Prohibit connection to non-domain networks when connected to domain authenticated network”. The policy appeared in Windows 8 / Windows Server 2012 or higher.
    The policy prevents a computer from being connected to both domain and non-domain networks at once.

    auto disabling of wifi when ethernet connected-f3e9da5d-e332-4620-a352-e0e967239e49.png

    Found this at

    How to Automatically Turn Off Wi-Fi When an Ethernet Cable is Connected? | Windows OS Hub
      My Computer


  10. Posts : 4,023
    Windows 10 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #30

    @reddwarf4ever -

    I believe that I understand the situation now. Both the interfaces were simultaneously active.
    In my mind (and others) this is a purely software device issue. Happened to me a long time ago.

    Check for driver updates, just in case. Hope your fix holds.

    HAGD

    Last edited by Compumind; 08 Jul 2020 at 13:20.
      My Computer


 

  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 19:28.
Find Us




Windows 10 Forums