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!
Top articles in this section
When cloning a large hard disk to a smaller one, I lost the recovery partition. So far not bad, Windows works without recovery partition, but in case of an error the partition helps to get the PC up and running again. To summarize, here's how it works with the recovery partition: As long as the partition is still there, it can be deactivated and written to a file. If the partition gets lost unexpectedly, it can be recovered from the Windows setup media. This post is also available as a video, se...
Anyone who frequently creates scripts or analyzes log files and handles different versions can compare them very quickly with the help of the right editor.
Build means the kernel version of Windows. How current the Windows 10 or Windows 11 installation is, can be seen by the build number used.