install driver via command line cmd: inf
Windows drivers can of course also be managed via the command line. Microsoft offers two different tools for this purpose: The PnPUtil integrated in Windows and as part of the Windows Driver Kit (WDK) the command: devcon.
PnPUtil
PNPUtil is located by default in the folder c:\windows\system32 and therefore does not need to be downloaded or installed separately.
Install driver
pnputil -i -a driver.inf
devcon
devcon is part of the Windows Driver Kit (WDK).
WDK Download:
docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
Search devices
all devices:
devcon find *
all IDE devices:
devcon find IDE*
certain PCI devices (an asterisk * can be used as a wildcard:
devcon find PCI\*EN_8086*_24*
Uninstall devices
devcon remove PCI\*EN_8086*_24*
switch off / deactivate devices
devcon disable PCI\*EN_8086*_24*
enable / activate devices
devcon enable PCI\*EN_8086*_24*
install devices
devcon install Pfad_zur_inf_Datei DeviceID
as DeviceID belongs the DeviceID from the .inf file (can be read out there)

{{percentage}} % positive

THANK YOU for your review!
created by Bernhard
| published: 2023-02-13
| Updated: 2023-02-13 |
Übersetzung Deutsch
|🔔
| Comments:0