Say you have two separate internet connections, with two separate ethernet cables. How can you switch between them automatically at time intervals, in windows 7?
-
if you voted this down, don't vote down questions just b/c you cant solve them!– Sam AdamsDec 9, 2012 at 2:08
-
Do you login to Win 7 with Administrator access or just have "normal User" rights? Also, if I say "PowerShell" does it mean anything to you?– KerryDec 9, 2012 at 2:48
-
2You question was down-voted (not by me) likely because it reeks of the XY Problem You give almost no details of your situation or what you are trying to accomplish. Give us the big picture of what you are trying to do and say you think it would be solved by switching between two internet connections at time intervals.– Scott ChamberlainDec 9, 2012 at 3:14
1 Answer
If you have Administrator access, one way to do it is to use a PowerShell script and run it with Task Scheduler.
Typing that process with all the script code here is not something I can do right now but it already exists out there:
First, create the PowerShell script that understands the names of your two network adapters by following these instructions:
Hey, Scripting Guy! How Can I Enable or Disable My Network Adapter?
Then, using Windows Task Scheduler, setup scheduled tasks that call the script with the desired parameters to enable and disable as needed:
How do I set up a powershell script to run as a Scheduled Task in Windows?
If you are willing to read those two posts and experiment, you should be able to get it to work.
-
the second link shows how to do it between wired and wireless. how do you do it between two wired connections (two ethernet cables linked with a switch or some connector? Dec 9, 2012 at 4:14
-
I beleive those are just "text names". So in your script, you can try to hard code the real names of the Wired networks instead of the generic naming approach they used.– KerryDec 9, 2012 at 4:24
-
1You have two real physical network adapters with a cable going into each one on the same machine right? All that matters is that each adapter in Windows has its own name that you can reference in script.– KerryDec 9, 2012 at 4:25