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)

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2023-02-13 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

Windows 10 / 11 - Download Installation - DVD or USB Boot | Windows | Windows 10/11: automatic login | Autologon - Autologin

Top articles in this section


Windows : create a missing recovery partition

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...


Windows 11 23H2 (Build: 22631.3374) : show current version

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.


the 4 best tools to compare two text files

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. 

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details