Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am checking something out in my connection and I just wanted to ask, is there a way to auto-disconnect and connect the internet.

For example say I want to disconnect the internet in 1.05 minutes and connect after 10, and repeat this action, is there any program that does that on Windows XP and Windows 7?

share|improve this question
Can you just unplug your network cable manually? – Force Flow Dec 13 '10 at 0:01

One way to do it would be to create two batch scripts, one to disable your network adapter, and another to re-enable it, with something like to following:


netsh interface set interface name="Local Area Connection" admin=disabled


netsh interface set interface name="Local Area Connection" admin=enabled

Change the "Local Area Connection" to the name of your NIC.

You can schedule them in Task Scheduler to run whenever you need.

share|improve this answer
Of course this disables your entire network, not just your internet connection... – KJ-SRS Dec 12 '10 at 18:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .