• July 17, 2017
    Announcement: New site design for Microsoft Community

    In July, Microsoft will roll out the first of ongoing site improvements aimed to modernize Microsoft Community and help customers get the most out of their community experience.

    • During the roll out period, you may see the old or new site design depending on your location

    • We expect the roll out to finish by 31 July

    Note: Past private message conversations will not move to the new site design. Please save any private messages you would like to keep.

     Learn more about the upcoming site improvements in this thread.

    Thank you for being part of Microsoft Community!


Devcon not working correctly in Windows 7

ialW asked on

*original title - Command Prompt pop-ups with DevCon"

Hi everyone,

My problem is :
I use Devcon to manage my devices, it's a small .exe file.

With the command : devcon /hwids, the program returns all the devices linked with the PC.

But when I do this, it open a new window, print the list, and then this window close.

But what should normally happened, and what I want, is that the list print in the same window I execute the command.

With the aim, after, to write this list in a txt file, with the command : devcon /hwids *usb* > device.txt

Thank You !

23 people had this question

Abuse history

The answered status icon Answer
Kusin Knase replied on

OK, I've now managed to use devcon.exe to disable/enable my WiFi adapter. Here's what I did.

1. I DL'ed the “Windows Driver Kit (WDK) 7.1.0″ from MS, it is an ISO image several hundreds meg

2. Using UniversalExtractor (http://legroom.net/software/uniextract) I extracted the ISO to a temporary folder on my HD

3. Again using UniversalExtractor, I extracted the install file "WDK\setuptools_x64fre.msi" to a temporary dir

4. In that temporary dir you will find "WinDDK\7600.16385.win7_wdk.100208-1538\tools\devcon\amd64\devcon.exe". This devcon works fine (as far as I've tested) for me under W7x64 Pro.

Along the way UniversalExtractor will prompt you with some warnings, just click OK.

*phew* so much time wasted for such a simple thing...

Note: devcon MUST be run from an administrator cmd win.

1 person found this helpful

Abuse history

The answered status icon Answer
Debbie_H replied on

Hi walibixo,

Please see the following article with some helpful information:


Hope this helps!

Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think
Be the first person to mark this helpful

Abuse history