auto disabling of wifi when ethernet connected

Page 1 of 3 123 LastLast

  1. Posts : 1,334
    windows 10 PRO
       #1

    auto disabling of wifi when ethernet connected


    Hi

    I had auto disabling of wifi when ethernet connected, using a Realtek App, which worked extremeley well, it was accidently uninstalled, now i cant find this app anywhere. was called wifi monitor i think.

    Apparently there is a way of doing this within windows, but need some guidence please, unless someone knows of the App for Realtek RTL8811AU Wireless LAN 802.11ac USB 2.0 Network Adapter


    thanks
      My Computer

  2.   My Computer


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

    Yes I found this
    the properties of my WiFi adapter doesn’t have ‘ disabled hon wired connect’ so can’t do that one.

    WLAN manager looks promising, but although i ran the first script in power shell, couldn’t work out how to run the command

    .\WLANManager.ps1 -Install:System

    although I haven’t tried GPEDIT option yet, could be an answer also....will try that....maybe better than WLAN manager, which could stop working as it’s already 2 years since the last update.





      My Computer


  4. Posts : 34,962
    Win 10 Pro (1903) (2nd PC is 21H2)
       #4

    Have you seen:
    Automatically Turn Off Wi-Fi Upon Ethernet Connect in Windows
    - I'll leave you to check if there's anything new there.
      My Computers


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

    My wireless adapter doesn’t have that option, tried GPEDIT, seemed to work, then left WIFi and Ethernet on together
      My Computer

  6.   My Computers


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

    no luck so far.......https://gallery.technet.microsoft.co...nager-f438a4d7

    if someone could help me with this installation please.....

    ran one command in powershell, first time it gave me choices, was told to enter A, which i did, this time it just keeps saying sleeping ??? maybe i shouldnt have run it twice.... cant quite work out how to execute the 2nd command

    auto disabling of wifi when ethernet connected-snapshot-2020-07-07-20.04.01.png
      My Computer


  8. Posts : 34,962
    Win 10 Pro (1903) (2nd PC is 21H2)
       #8

    See if you can run a scheduled task with a trigger on ethernet connection; the task's action would then be to disable Wifi.

    First problem is to try to identify an appropriate event id.

    Here's a starter for 10 you can experiment with:
    The most straightforward event is in the Applications and Services Logs/Microsoft/Windows/NetworkProfile log. There is a EventId 4004 "Network State Change Event" that fires whenever a network connection is made or re-identified.
    It's up to you to see if that's unique to an ethernet connection, and if not, see if there is one.

    Just a thought you can experiment with.

    People who write Autohotkey scripts have had some discussions on detecting connections, but I didn't see anything immediately helpful.
      My Computers


  9. Posts : 7,456
    Windows 10 Home 20H2
       #9

    dalchina said:
    See if you can run a scheduled task with a trigger on ethernet connection; the task's action would then be to disable Wifi.
    That might entail writing a CMD/batch script file.
      My Computer


  10. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #10

    Matthew Wai said:
    That might entail writing a CMD/batch script file.
    The PowerShell script in post #7 runs as a Scheduled Task -

    "WLAN Manager runs as a scheduled task and will automatically disable your WLAN card when a LAN connection is verified. The WLAN card will be re-enabled once the LAN connection is lost. This ensures you'll have the fastest available connection and helps prevent network bridging."

    The command line options are documented in WLANManager.ps1

    The caveat to using the script is that it hasn't been verified (tested) on Windows 10, but it may work.

    Verified on the following platforms -

    Windows 10 No
    Windows Server 2012 No
    Windows Server 2012 R2 No
    Windows Server 2008 R2 No
    Windows Server 2008 No
    Windows Server 2003 No
    Windows Server 2016 No
    Windows 8 Yes
    Windows 7 Yes
    Windows Vista No
    Windows XP No
    Windows 2000 No
      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 14:04.
Find Us




Windows 10 Forums