Scripting Question

What is best way to install drivers?

04/11/2016 836 views
Hi all

Trying to silently install drivers.
Package contains DPInst.exe a .cat, .inf and .sys file

I tried DPInst.exe /S 
DPInst.exe /SE

I see the DPInst.exe process run for 2 seconds then stops.  Running it manually installs the driver correctly.  
1 Comment   [ + ] Show comment


  • Please be careful with double posts...

All Answers

What command line are you using? (try /? or -? for the full options..., then revise your own command line)
Are you changing your working directory to the location in which the files (sys, cat, inf) are stored before executing the command line (important if there are more than 1 inf files, and you only want to install one type of hardware)
What does the log file say?

Answered 04/11/2016 by: Pressanykey
Red Belt

Read this, ignore all the App-V stuff.

DPIsnt crates a log in the Windows (?) directory I think, have a look in there to see what drivers it processed,
Answered 04/12/2016 by: rileyz
Red Belt

i believe my issue is because of certificates similiar to the guy below

but this guy has the source of certificates from a download, if i dont have that is this still possible?

FYI My log files are pretty similiar to the blog in https://www.virtualhere.com/node/311

I exported the certs, will see if i can import them back in through script
Answered 04/14/2016 by: ck357
Orange Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ