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

My internet connection gets disconnected sometimes so I click on Troubleshoot problems in Windows 7 and it gets fixed when the troubleshooter resets the Local area connection.

The problem is that it takes sometime for it to reset and verify that the issue has been fixed,so I'm wondering if there's a Command which automatically does that ?

share|improve this question
up vote 0 down vote accepted

To Disable:

netsh interface set interface "Local Area Connection" DISABLED

You can create .bat script.

share|improve this answer

You can do

ipconfig /release followed by ipconfig /renew

share|improve this answer
Yea I know that,but it's like the connection gets back for some seconds and disconnects again. only way it gets fixed properly is when I click troubleshoot problems. – wadie Feb 16 '12 at 16:20

You must log in to answer this question.

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