How to install drivers (INF) from command line?

K

Kevin C.

Anyone know how to install INF files via command line? I recently
read a white paper from a company that claimed MS had an API that
could be used for this, but I haven't had much luck finding it.

Thanks!
-Kevin
 
O

Oli Restorick [MVP]

If you look at the "install" verb for the inf filetype, you find that the
following command is used when you right-click an inf file and choose
install.

%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection
DefaultInstall 132 %1

Hope this helps

Oli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top