Devcon Exe Install Driver

Devcon Exe Install Driver 4,5/5 3949votes

The DevCon command-line utility functions as an. The DevCon.exe file. This is useful when you want to install new versions of drivers during. As refered to by Microsoft: DevCon (Devcon.exe) is included when you install the WDK, Visual Studio, and the Windows SDK for desktop apps. But these programs take.

Install Driver Table Manager

I'm trying to find a way to update drivers using a batch script. I've cobbled together some different things to get the hardware ID's of the various devices in the system, but I cannot find a way to get the windows command devcon to update the drivers using the script: @ECHO OFF cls REM *** Checking for admin permissions *** >nul 2>&1 '%SYSTEMROOT% system32 cacls.exe' '%SYSTEMROOT% system32 config system' REM *** If error flag set, we do not have admin *** if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges. Do you know DPInst32.exe for x86 and DPInst64.exe for x64 drivers? No, search in www for those two free Microsoft applications to install driver packages.

Those two executables are used by many driver installers (in background) to simply install all driver files in a folder. Make the directory with the driver files the current directory and run DPInst*.exe and the driver package installer installs the driver files independent on number of *.inf files needed to be installed for the hardware (network adapters usually have multiple INF files).

– Feb 2 '16 at 6:01 •. @Mofi had the solution of using the (DPInst.exe) to install the driver packages.

To be thorough, here's the script I ended up writing that works: @ECHO OFF SET loc= REM *** Checking for 32bit or 64bit *** IF EXIST '%PROGRAMFILES(X86)%' ( set drivercmd=%loc% dpinst64.exe ) ELSE ( set drivercmd=%loc% dpinst32.exe ) ECHO Please type the full path to the driver folder. SET /P folder=': ' ECHO. ECHO Installing drivers. For /f 'tokens=*'%%a in ('dir /a:d /s /b '%folder%') do (%drivercmd% /s /sh /path '%%a' ) shutdown -r -f -t 0.

I was working on a computer recently that was getting a fresh install of Windows XP on it. After the Windows setup was completed, it had a few unknown devices. One of those devices was the network card, so I downloaded the driver from HP and moved it over to the computer by USB figuring I could download the rest directly once I could get the NIC installed. I ran through the driver’s setup file that I had downloaded and everything seemed to go fine until it froze and eventually crashed. I’m not sure what caused it but it removed the network card as an unknown device in Device Manager. The problem was it didn’t put it under Network Devices either.

It wasn’t listed anywhere and the NIC wasn’t working. No combination of scanning for new hardware or restarting the computer caused it to be listed in device manager. The link lights on the integrated network card were still on, indicating it was getting power. I ran through the driver setup file a few times to no avail and received an error saying the driver was already installed. I also tried manually searching through the registry for the device but it wasn’t listed After giving everything else I could think of a whirl, something popped into my head from a previous article I had written where. To fix that problem back in 2008, I used, a tool from Microsoft that is a command line version of Device Manager.

If the GUI Device Manager couldn’t see the hardware, why would the command line alternative? Surprisingly, it worked though. I was able to use devcon to list all device and I eventually found an entry for Network Controller. I further used devcon’s parameters to get the hardware ID and other information of the card so that I could uniquely identify it, similar to. I then installed the. Durlabh Kundli Pro Software on this page. inf from the driver I had downloaded earlier using the devcon command: [shell]Devcon install e100b325.info “PCIven_8086&dev_27dc&cc_0200″[/shell].

From the Device Console help (devcon.exe /? Ais Multi Sim Activate. ), here is the full functionality of devcon: Device Console Help: devcon.exe [-r] [-m: ] [.] -r if specified will reboot machine after command is complete, if needed. Is name of target machine. Is command to perform (see below). Is one or more arguments if required by command.

For help on a specific command, type: devcon.exe help classfilter Allows modification of class filters. Classes List all device setup classes. Disable Disable devices that match the specific hardware or instance ID. Driverfiles List driver files installed for devices.