/build/static/layout/Breadcrumb_cap_w.png

DPINST.exe silent install drivers

If you have to install a driver and you encounter a pop up windows to accept the installation/certificates you can make a silent installation by doing the next steps:
1 - install the drivers using dpinst.exe using the following command: dpinst.exe /A /SE /PATH C:\pathtoinifile 
it is no necesary to use complex parameters to make the first install
2 - go to run and search for certmgr.msc and export from trusted publisher and export the certificates from there e.g. driver.cer
3 - use certutil.exe to install the certificates: certutil.exe -addstore "TrustedPublisher" C:\pathtocertificate
4 - after you install the certificate you can use dpinst.exe /A /SE /SW /SA /PATH C:\pathtoinifile in order to install the driver without any UI and ARP entry use the parameters from the above command line  or check http://msdn.microsoft.com/en-us/library/windows/hardware/ff544775(v=vs.85).aspx 

Add all of this from CA in an msi or mst and everything will be without UI

Comments

  • Where can I find a DPINST signed!?! - d4n4mp 8 years ago
  • Usually a DPinst is signed by the OEM, if so, first export the certificate that was used to sign it and use certmgr to import it on the machine where you want to use that dpinst. - evasive2008 4 years ago
This post is locked

Don't be a Stranger!

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

Sign up! or login
Blog

View More Blogs from EmanuelPopescu

Share

 
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