Jan 25, 2010 · If you can do it with devcon then why not just put that in a machine startup script? The only tricky thing is that you only want it to run once but that can be done by either setting a registry value or writing a flag file to say "driver installed":
Devcon Onto Devcon next, I tried executing "devcon.exe install mv2.inf mv_hook_display_driver2" from a Command Prompt window to test it out -- I still get the dreaded Hardware Installation prompt. However, if I do hit "Continue Anyway", the virtual device, "mv video hook driver2", does appear under "Display adapters" in the Device Manager! The Devcon is reliant on sinking a driver down into kernel-mode for some of its functionality, and that architecture so that won't work either. Under the circumstances, you may need to write (and compile) actual code doesn't work from WoW64 - a 32-bit kernel-mode driver cannot be used with 64-bit Windows under any circumstances. Install the Windows Driver Kit ; Go to Start -> Programs -> Development Kits -> WDK XXXX -> Build Environments -> Windows [Target] -> Windows [Target] Free Build Environment, replacing [Target] with the appropriate version of Windows you are building for. Go to the src\setup\devcon folder in the WDK install directory and run: build -ceZ Jul 05, 2017 · If you have to manually install a driver for the device — perhaps the driver is already installed on your system — you can use the Update Driver button in the device’s Properties window. If the device driver is already installed on your system, click the “Browse my computer for driver software” link and choose an installed driver. Sep 16, 2017 · However, if while you’re on the page for the Windows Driver Kit downloads you look around a bit, you’ll also see the Enterprise WDK, currently labeled “Install the EWDK 1703.” While it is a large download, once you have this downloaded and extracted, you’ll find a Program Files\Windows Kits\10\tools path with folders for x86, x64, and
Feb 21, 2015 · To install a certain driver using the DevCon utility, you need the INF file which comes bundled with the driver files. Now, to install a device driver, use the following command. Don’t forget to replace “Path to INF file” with the actual path and the “hardwareID” with the actual hardware ID.
The following command uses the DevCon Install operation to install a keyboard device on the local computer. The command includes the full path to the INF file for the device (keyboard.inf) and a hardware ID (*PNP030b). Jul 12, 2020 · View Devices by connection: Lists all the device setup classes on a machine. Install a device using unattended setup. The following command uses the DevCon DriverNodes command and an ID pattern to list the driver nodes of software-enumerated devices. Using the DevCon Tool to Install a Driver Package – Windows drivers | Microsoft Docs May 11, 2020 · devcon install device driver May 11, 2020 Scanners admin 0 Install a device using unattended setup The following example shows how to install the Microsoft Loopback Adapter during an unattended installation of Microsoft Windows XP.
The following command uses the DevCon Install operation to install a keyboard device on the local computer. The command includes the full path to the INF file for the device (keyboard.inf) and a hardware ID (*PNP030b).
Nov 24, 2011 · or download devcon from microsoft web site. devcon.exe is part of windows driver kit (WDK) . ps. start command prompt with administrator rights to avoid problems.