Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

PDQ Deploy MSI install requesting api-ms*.dll

I am currently trying to deploy a HP LaserJet software/driver install which will run in cmd fine with the same msi command line, but when it is run in PDQ Deploy I seem to constantly run into the error: Error 1308. Source file not found: C:\WINDOWS\AdminArsenal\PDQDeployRunner\service-1\exec\api-ms-win-core-file-l1-2-0.dll. Verify that the file exists and that you can access it.

This dll isn't requested at all during an install process run locally through cmd, it just for some reason requests the file when run through PDQ Deploy.

The file is also being deployed to Windows 10 machines, which I understand that version of dll was changed in windows 8.1 which PDQ seems from what I can see to be requesting a windows 8 file.

Any help at all would be appreciated with this one as I am at a bit of a loss.




1 comment
Date Votes
  • Hard to replicate your specifics but... I have 100 year old script that i still use as a base in Deploy for my HP/Epson/Samsung etc printers, never failed, works for 7,8,10, same soft and drivers... use as Command line step or *.bat file

    :: Install port
    cscript %WINDIR%\System32\Printing_Admin_Scripts\en-US\Prnport.vbs -a -r IP_10.xx.xx.xx -h 10.xx.xx.xx -o raw -n 9100
    :: Install the drivers (unpack universal printer drivers to share "HPLJinf")
    rundll32 printui.dll,PrintUIEntry /ia /m "HP LaserJet P2050 Series PCL6" /f "\\domain\repository\deploy\printer\HPLJinf\prnhp002.inf"
    :: Install the printer
    rundll32 printui.dll,PrintUIEntry /if /b "HP LaserJet P2055dn" /f "\\domain\repository\deploy\printer\HPLJinf\prnhp002.inf" /r "IP_10.xx.xx.xx" /m "HP LaserJet P2050 Series PCL6"
    :: Set printer as default
    :: Create Step Options - Run As - Logged On User / or Create Deploy package with one command and Step Options - Run As - Logged On User
    rundll32 printui.dll,PrintUIEntry /y /n "HP LaserJet P2055dn"
    :: Set HP settings
    rundll32 printui.dll,PrintUIEntry /Sr /n "HP LaserJet P2055dn" /a "\\domain\repository\deploy\printer\printer_settings\HPLJP2055dnTLL.dat" d g r
    :: Stop and Start the print spoolers so a restart is not neccessary.
    net stop spooler
    net start spooler

    :: Configure printer settings manually and then save all printer settings into a file
    rundll32 printui.dll,PrintUIEntry /Ss /n "HP LaserJet P2055dn" /a C:\HPLJP2055dn.dat d g 

    have phun