Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

What's the equivalent of ifup under Windows?

share|improve this question
up vote 2 down vote accepted

From Microsoft's The DevCon command-line utility functions as an alternative to Device Manager:

The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. DevCon also provides information that is relevant to the driver developer and is not available in Device Manager.

See Using Devcon for more info.

You may therefore use :

devcon listclass Net

to figure out the name of the network adaptor in question, then just make a bat file with for example

devcon disable *ven_14E4*<br/> or
devcon enable *ven_14E4*

share|improve this answer
+1 That is a nice find. And it does way more than toggling an interface. wow. – DaveParillo Nov 12 '09 at 16:01

You might try netsh - it's an interactive program. Type netsh. At the prompt try:

> netsh interface ip set address 
        name="Local Area Connection" 
        source=static addr= 
        mask= gateway= gwmetric=1
share|improve this answer

ipconfig /renew <adapter>

share|improve this answer

Your Answer


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.