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

I have a external wireless card of D-Link, which I generally use in Linux Mint. But I wanna use it in windows too. After spending a lot of time googling, i realized that configuring it in windows (just like the ifconfig and iwconfig commands in linux would let you do) is not that straightforward in windows 7.

I recently wrote a packet capturer/analyzer/injector tool n when I started injecting packets on that interface, n sniffed using wireshark (on the same iface of course), nothing was captured. Tried another injector software (Colasoft), but still nothing. Just couldn't get it to work..I think it isn't in operational mode ("up") or something.. Anybody done this before? Any suggestions on how to configure it are welcome.

Machine is Windows 7 32bit.

share|improve this question
and yes, my network card DOES support injection, and everything works fine with the internal WiFi network adapter. – Rushil Sep 3 '11 at 14:13
Does the external nic connect to your LAN normally? If you disable the internal nic, are you still able to connect or is all traffic only running over the internal nic? – OldWolf Sep 3 '11 at 16:23
When I boot up in linux, I'm able to do everything imaginable thing, wid my NIC. and I never tried to disable my internal NIC. – Rushil Sep 4 '11 at 2:23
If you run ipconfig /all from the cmd prompt, does the external adapter show up and is it connected? Or, if you go into control panle-> network and internet -> network connections, do you see the external nic as enabled? – OldWolf Sep 4 '11 at 2:27
Yes it shows up in ipconfig. But I wanna change the settings, not only view it. – Rushil Sep 4 '11 at 3:31

Okay, so you just want to be able to enable and disable by the command line?

If so, per the directions here

You need to get a list of NICs and their index numbers with the command:

wmic nic get name, index

The disable command is (for example, for nic 7):

wmic path win32_networkadapter where index=7 call disable

The enable command is:

wmic path win32_networkadapter where index=7 call enable
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.