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.

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

2 Answers 2

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

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
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.