Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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:

Disable:

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

Enable:

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.