Devcon.exe Error Codes
Contents |
Studio 2015 products Visual Studio Team Services Visual Studio Code Visual Studio Dev Essentials Office Office Word/Excel/PowerPoint Microsoft Graph Outlook OneDrive/Sharepoint Skype Services Store Cortana Bing Application Insights devcon.exe download Languages & platforms Xamarin ASP.NET C++ TypeScript .NET - VB, C#, F#
Devcon.exe For Windows 10
Server Windows Server SQL Server BizTalk Server SharePoint Dynamics Programs & communities Students Startups Forums MSDN Subscriber downloads Sign devcon windows 10 download in Search Microsoft Search Hardware Dev Center Hardware Dev Center Explore New device experiences USB driver development Windows IoT Core 3D printing Docs All Windows devices Get started Design Develop install devcon Test Customize Manufacture Service Windows drivers Get started with universal Windows drivers Develop, test, and deploy drivers Device and driver development tools Debugging tools for Windows Device and driver technologies Windows driver samples Desktop Desktop customizations Enterprise customizations OEM manufacturing guide System builder manufacturing guide Mobile Mobile customizations Mobile deployment and imaging Mobile servicing IoT Core IoT Core manufacturing guide IoT Core
Devcon.exe Download Windows 10
updates Downloads Windows Driver Kit (WDK) Hardware Lab Kit (HLK) Assessment and Deployment Kit (ADK) Windows Symbol Packages Windows Debugger (WinDbg) Samples Support Programs Dashboard Explore New device experiences USB driver development Windows IoT Core 3D printing Docs All Windows devices Get started Design Develop Test Customize Manufacture Service Windows drivers Get started with universal Windows drivers Develop, test, and deploy drivers Device and driver development tools Debugging tools for Windows Device and driver technologies Windows driver samples Desktop Desktop customizations Enterprise customizations OEM manufacturing guide System builder manufacturing guide Mobile Mobile customizations Mobile deployment and imaging Mobile servicing IoT Core IoT Core manufacturing guide IoT Core updates Downloads Windows Driver Kit (WDK) Hardware Lab Kit (HLK) Assessment and Deployment Kit (ADK) Windows Symbol Packages Windows Debugger (WinDbg) Samples Support Programs Dashboard Device and Driver Development Tools Driver Development Tools Tools for Testing Drivers Tools for Testing Drivers Windows Device Console (Devcon.exe) Windows Device Console (Devcon.exe) Windows Device Console (Devcon.exe) Bluetooth Inquiry Record Verifier Windows Device Console (Devcon.exe) Device Console (DevCon.exe) Commands Device Console (DevCon.exe) Examples Device Fundamentals Tests Driver Coverage Toolki
Challenges C# Getting Started Examples Development Software Books KiXtart Getting Started Examples Links Tools Books Perl Getting Started Examples Links Tools Books PowerShell Getting Started Examples Links Tools Books Regular Expressions Getting devcon remove device Started Expressions Examples Links Tools Books Rexx Getting Started Examples OS/2 LAN Server devcon disable Links Tools Books VBScript & WSH Getting Started VBScript Techniques Examples HTA & WSC Examples Links Tools Books Challenges Technologies
Windows 10 Devcon Failed
WMI Getting Started Examples Links Tools Books ADSI Getting Started Examples Links Tools Books Silent Installs General Windows Installer Specific Software Software Requirements Hardware Requirements Books Batch Files Windows Resource Kits KiXtart https://msdn.microsoft.com/en-us/library/windows/hardware/ff544707(v=vs.85).aspx Perl PowerShell Regular Expressions Rexx VBScript & WSH C# WMI ADSI HTML, JavaScript & CSS Off-Topic Scripting Tools Batch Utilities Resource Kits Compilers Editors Code Generators Regular Expressions Automation Tools VBScript Add-Ons Visual Studio Printing Tools Inventory Tools Shell Extensions File Viewers Backup Security The making Of... Miscellaneous Tweaks Web Stuff Conversions My Photo Galleries About This Site Disclaimer News FAQ Search What's New http://www.robvanderwoude.com/devcon.php Objective Site Policy Your Preferences Credits The Making Of... Contact Failed Mail Donate DEVCON Command Line Utility Alternative to Device Manager DEVCON is a Microsoft tool that allows "device management" from the command line. It is available for free as part of the Windows Driver Kit (install the Tools). Unfortunately, it is no longer available as a separate download from Microsoft's websites. More detailed information and command line examples can be found at Microsoft TechNet. I dedicated this page to DEVCON because I became impressed by its possibilities. It even allowed me to write scripts to backup drivers without having to search all INF files "manually". This had been on my wish list for a long time. Another great feature is DEVCON's built-in Reboot command. Typing DEVCON help or DEVCON /? returns the following help screen: C:\>DEVCON Help Device Console Help: devcon [-r] [-m:\\ here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack http://stackoverflow.com/questions/1167544/devcon-exe-driver-tool-and-openvpn Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack https://community.openvpn.net/openvpn/wiki/ManagingWindowsTAPDrivers Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up DEVCON.EXE (driver tool) and OpenVPN up vote 4 down vote favorite 5 We have written an application that manages OpenVPN from the tray as an add-on for a bigger software package. OpenVPN includes a file called tapinstall.exe that installs the OpenVPN adapter (or any driver for windows 10 that matter). Doing some research, this file is the exact same as a command-line tool called devcon that Microsoft includes in the Windows DDK. The OpenVPN guys just renamed it for their use. So we use it during our setup (msi) installer in a custom action to install the driver, which for the most part, works just fine. Every now and again, devcon fails and hangs--never exiting. After that point, you can re-run devcon and it will install the driver twice... which basically breaks OpenVPN. Has devcon.exe error codes anyone seen this issue with devcon, know what it's doing, or know a way to fix it? As an alternate solution, does anyone know how to install a driver from C#? (we have a .inf and a .sys file) UPDATE: We've found this issues to be pretty rare. It occurs most often when we've applied an update where we uninstall the V8 version of the OpenVPN adapter and then install the new version (V9) of the OpenVPN adapter. It also seems to not happen if you restart your PC in between installs, so we might be better off forcing a PC restart on uninstall.... SIDE NOTE: I've heard of people using WiX and the DifxAPI (I think that is what it's called) to install drivers from an MSI installer. Any ideas if this can be done from plain C# in a custom action? We don't really want to start over with our setup project using WiX (it could be time consuming). c# driver openvpn share|improve this question edited Jul 22 '09 at 20:24 asked Jul 22 '09 at 19:15 jonathanpeppers 14.9k1373157 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted I don't have a solution for your problem, but here are some ideas: The source code for DevCon is available as part of the Windows DDK under DDK root\Src\Setup\Devcon. If your problem is reproducable, you could build your own version and debug it in your IDE. The sources of the OpenVPN installer can be found in the OpenVPN SVN r the TAP-Windows adapterInstalling and uninstalling TAP-driversExtracting TAP-drivers from OpenVPN installersWindows TAP device namingRenaming the TAP-driverDebugging installation problems Introduction The OpenVPN's Windows TAP-drivers consists of four files for each platform (32/64-bit):