Driver Package Installer (DPInst) with the "/s" (silent) flag fails to install a signed driver on Windows XP. The certificate is a valid one (an Authenticode certificate) but not a WHQL one. How can I fix this problem?
'dpinst /silent' fails on Windows XP with signed (but not WHQL) drivers
2.8k Views Asked by Ilya At
2
There are 2 best solutions below
1
csk
On
If the device driver is signed, you need to add its publisher to trusted publisher list. follow steps mentioned in below article
http://www.richud.com/wiki/Windows_7_Broken_Trusted_Publisher_Certificates_signed_Drivers_fix
after this silent installation will work fine.
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in DRIVER-SIGNING
- WFP driver test always failed due to machine state for Win11 on cloud azure
- how to fix .driverfiles is missing from [SourceDisksFiles] error when creating a .cat file for a driver?
- Windows Driver signing: Do I need EV or simple certification
- Do you have to run HLK against every target OS?
- Windows 10 (11?) signed driver signing issues after SafeNet Token update
- Install a seft signed driver on Windows 10 64 bit
- is it possible for pnputil to ignore unsigned drivers?
- how to sign windows driver for virtual device
- HCK has 0 tests for our NDIS LWF? And HLK doesn't include NDIS Test 6.5 LWF Logo tests?
- Device driver does not install on any devices, use primitive driver if this is intended. [Security Certificate]
- Microsoft deprecated cross-signing certificates, what's the new procedure to sign kernel drivers for Windows 11 & 10?
- Windows MS signed filter driver doesn't load on Win 7 x64 after updating driver to build with VS2019 / WDK 22000
- Can AWS CloudHSM-backed systems support EV certs?
- StartService FAILED 577 self-signed kernel driver, how to fix?
- Permanently permit (single) Unsigned Driver on Windows 10
Related Questions in DPINST
- How to automatically remove driver after crash?
- dpinst fails to install driver silently
- Run Wix MSI installation in WinpE
- DriverPackageInstall tries to start to driver after install
- Add NSIS script with electron builder to run DPInst.exe during install
- dpinst silent signed driver installation fails on windows 7
- How can I capture the console output of dpinst when running silently?
- How do I install drivers using Burn and DPInst after MSI installation?
- DriverPackagePreinstall error with dpinst.exe
- how to create windows installation package for my .inf?
- Install Driver Silent
- DPInst.exe fails to execute from within InnoSetup on 64-bit Windows 7
- How to get DPInst? Can't find it in WDK 8.1 install
- PerUser install with Custom Action - UAC disabled
- DPInst. Specify .sys file location
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
DPInst has two "silencing" flags --
/q(Quiet) and/sw(Supress Wizard)./qimplies Quiet but also probably (I didn't test!) sets DI_QUIETINSTALL when issuing the DIF_REMOVE request. Apparently this makes the SetupAPI library (of Windows XP) go "they're trying to go sneaky on me!" and reject the installation if the certificate isn't a treasured WHQL[*] one.Note that DPInst itself ignores the certificate's validity when the
/lm(Legacy Mode) flag is set, but it's the underlying Windows that'll reject it still.The solution is to use the
/swflag (along with/lm).BTW, I'm still yet to check the implications of this - e.g. does Windows pop-up a "STOP Installation" prompt box under some configurations? I'll test and update this answer accordingly.
The "STOP Installation" prompt" looks like:
[*] ... or another Windows System Component Verification certificate, but that's besides the point.