Simple desktop switch for network connections


  1. Posts : 18
    Windows 10
       #1

    Simple desktop switch for network connections


    Thanks in advance to anyone who can slove this for me.

    I have 2 internet ethernet connections running into my PC.

    1st one is my normal internet connection.

    2nd a VPN service from a second router.

    I have 2 internet ports and both are active (mobo EVGA Z97 Classified) allows 2 connections.

    Both are active and work fine. I can disable either or both and switch my IP address through Network Connections.

    What I'm looking for is a simple app or program that I can have on the desktop for my wife to simply switch between the 2 network adaptors, as I'm not really wanting her to be messing around in the network connections control panel area.

    I have added shortcuts to the desktop with flags as icons of the country the ip is in but it's still not dummy level simple.

    Is there something out there that someone else is using or a script I can create to make this super simple as flicking a switch?

    I have the current ip displayed in the taskbar tray so that's simple enough I guess.
      My Computer


  2. Posts : 9,765
    Mac OS Catalina
       #2
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
       #3

    See this post: How to configure Ethernet and wireless channels on the same computer?

    It shows how to create shortcuts for two different network adapters. Clicking a shortcut it disconnects existing connection, and connects to another.

    Kari
      My Computer


  4. Posts : 18
    Windows 10
    Thread Starter
       #4

    Kari and bro67 thanks heaps this worked a treat. Now have 2 nice big shiny new buttons on the desktop to easily switch between the two connections.

    If anyone out there is planning to do the same with 2 incoming wired connections you can skip the part with the wifi section and move to the second script (after you know your incoming connection number).

    I also removed the second line of the script where it turns the wifi back on and I also cut the time down from 30 to 10 seconds that the message is shown so my script looked like this:

    wmic path win32_networkadapter where index=10 call disable

    wmic path win32_networkadapter where index=9 call enable

    msg.exe * /time:10 AUS IP disconnected. You are now connected to USA IP, check IP in taskbar.

    And the reverse to switch back again.

    Thanks again team for this I really appreciate it and props to the original authors for their hard work.

    I have been using the elevated pesktop prompts for a few years now best thing since sliced bread.

    Thanks
      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 09:12.
Find Us




Windows 10 Forums