Forum Discussion
Jonesy6123
Aug 28, 2024Copper Contributor
Printer Driver not found in DriverStore even though the file is there
I have a script that installs printer drivers onto a machine. It has worked perfectly for years up until yesterday. This is the script: # This script works on Windows 8 or newer since the add-prin...
Jonesy6123
Sep 03, 2024Copper Contributor
Hi Harm,
As you can see from the above script I am definitely using Add-Printer -Name $driver which has successfully added the driver in the past. When I use Get-PrinterDriver, the expected driver does not appear.
As you can see from the above script I am definitely using Add-Printer -Name $driver which has successfully added the driver in the past. When I use Get-PrinterDriver, the expected driver does not appear.
Sep 04, 2024
I understand that, so either pnputil doesn't work / throws an error or you specify the wrong name using add-printer (check the inf file carefully)
If you run the commands for that manually, what does that do?
If you run the commands for that manually, what does that do?
- Jonesy6123Sep 04, 2024Copper ContributorVery same issue arises if I use the commands outside of the script. The thing that bothers me is that the INF file can in fact be found in the DriverStore, so it's on the machine.
- Sep 04, 2024
It will not add if you use add-printerdriver and supply the wrong driver name.
Use Windows to add the driver (from the print server options, add, browse to the driver, etc.) Then check the name of the driver that it shows you, remove the driver first, and use that name with add-printerdriver- Jonesy6123Sep 04, 2024Copper ContributorI will try that, thank you.