Where to find DevCon.exe
Update 2013-06-22: I recently deleted a comment by a reader who posted a link to the versions of DevCon that he had extracted from the Windows Driver Kit. Redistribution of Microsoft software without consent is usually a violation of our End User License Agreements. Downloading and using such redistributed software may also place you at risk for malware infections. Please do not do this. Such links as this that appear here in the future will also be removed. To obtain the latest versions of DevCon, please download and install the official Windows Driver Kit for matching version of Windows from here: https://msdn.microsoft.com/en-us/library/windows/hardware/gg487428.aspx. You will find the DevCon executables in the installation directory of the WDK. |
The DevCon utility acts as a command-line version of Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. However, because this utility is not part of the operating system many people have had trouble locating the correct version for each OS architecture.
DevCon started life as a sample in the Windows Driver Development Kit. The first compiled sample for administrator use was provided in Microsoft Knowledge Base article 311272. However, I recommend that use use the newest versions which are provided in the Windows Server 2003 Service Pack 2 Support Tools.
- The x86 version can be found in the Windows Server 2003 Service Pack 2 32-bit Support Tools: https://www.microsoft.com/downloads/details.aspx?familyid=96A35011-FD83-419D-939B-9A772EA2DF90
- The x64 version can be found in the Support Tools on the Windows Server 2003 Service Pack 2, x64 Editions ISO image file (in the \Support\Tools folder): https://www.microsoft.com/downloads/details.aspx?familyid=8A6EBFB5-833D-44E2-BF92-44648A8BB250
- The Itanium (IA-64) version can be found in the Support Tools on the Windows Server 2003 Service Pack 2 for Itanium-based Systems ISO image file (in the \Support\Tools folder): https://www.microsoft.com/downloads/details.aspx?familyid=803F39EA-50AC-43CA-B564-75C5C080E471
You can extract devcon.exe for each platform from support.cab in each case.
If you need help with using DevCon, here are a few sources of information:
- Devcon Overview
https://technet.microsoft.com/en-us/library/cc737393(WS.10).aspx - DEVCON - Command Line Utility Alternative to Device Manager
https://www.robvanderwoude.com/devcon.php - The DevCon command-line utility functions as an alternative to Device Manager
https://support.microsoft.com/?id=311272
Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .
This post was contributed by Michael Murgolo, a Senior Consultant with Microsoft Services - U.S. East Region.
Comments
Anonymous
January 01, 2003
x64 version no longer exists in the current build of server 2k3 sp2- Anonymous
August 02, 2017
Just when i need it :-(
- Anonymous
Anonymous
January 09, 2010
Thank you very much for informing ... There are many articles here to read I will follow your site. Thanks...Anonymous
September 17, 2014
”x64 version no longer exists in the current build of server 2k3 sp2“ you need
to install msiAnonymous
March 11, 2015
Excellent post. Thanks.