I have a Powershell script which "builds" a Windows 7 PC. PC only has Windows 7 operating system and the Admin account. My Powershell script makes all the changes we want and adds accounts, users, applications, programs, patches, printers et al.
I'm running into one problem - I have a driver from Xante that is unsigned and Xante is NOT being forthcoming with a signed driver. The problem is, we want the user to not have to click on anything - just sit back and watch the Powershell script run until it's done. The Xante driver pops open the Windows warning box "This driver is unsigned!!" With the option to "yes" install it, or "no" to proceed without it. The user has to click one for it to keep going. I'm using PNPutil to add several drivers and this is the only unsigned one.
Is there a way for me to "force" add the driver via either a Powershell command or PNPutil? Here is the command I am currently using:
PNPutil /a c:\"Printer Drivers"\Xante\AW3G_64PPD.inf