Installing a driver(.inf) file from command line

yemans picture yemans · Mar 19, 2014 · Viewed 76.8k times · Source

I am working in windows 8.1. I need to install a driver file(.inf file) from command line. Which command i need to use.? I know i have many other method for installing a .inf file, but i must install this from command line.

Please help me Thanks in advance...

Answer

Roland Pihlakas picture Roland Pihlakas · Dec 20, 2016

Granger's comment works in Windows 7 too. According to MS, PnPUtil (PnPUtil.exe) is included in every version of Windows, starting with Windows Vista.

It is useful for device drivers that do not have default install (right-click "Install" does not work for them).

pnputil -i -a <driverinf>