Freigeben über


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.

 

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:

 

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

  • Anonymous
    March 11, 2015
    Excellent post. Thanks.