How to accept install this driver software anyway error in PnPUtil.exe?

Hello, I use this script to automatically download drivers without internet.

Get-ChildItem "C:\users\user\Desktop\Drivers" -Recurse -Filter ".inf*" | ForEach-Object { PNPUtil.exe /add-driver $_.FullName /install}

But it says Windows can't verify the publisher of this driver software and I have to answer each time. I want to select "Install this driver software anyway" without asking the question. Is there are any way to do this?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Mashby1 9 months ago
Orange Belt

I think you can only do silent installs with pnputil with signed certificates:
windows 10 - How do I install drivers silently with pnputil.exe? - Super User

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