Printer Driver Adding Error 0X80070490

%3CLINGO-SUB%20id%3D%22lingo-sub-2177728%22%20slang%3D%22en-US%22%3EPrinter%20Driver%20Adding%20Error%200X80070490%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177728%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20I'm%20having%20issues%20with%20Add-PrinterDriver%20%22printerDriverName%22.%3C%2FP%3E%3CP%3EI%20can%20succesfully%20call%20pnputil.exe%20-i%20-a%20%22path_to_inf_file.inf%22.%20It%20shows%20that%20driver%20is%20successfully%20added.%3CBR%20%2F%3EBut%20afterwards%20I%20have%20to%20call%20%3CSTRONG%3EAdd-PrinterDriver%20%22printerDriverName%22.%2C%20which%20shows%3C%2FSTRONG%3E%3C%2FP%3E%3COL%20class%3D%22linenums%22%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3EAn%3CSPAN%20class%3D%22pln%22%3E%20error%20accoured%20%3CSPAN%20class%3D%22kwd%22%3Ewhile%3CSPAN%20class%3D%22pln%22%3E%20preforming%20the%20specified%20operation%3CSPAN%20class%3D%22pun%22%3E.%20%3CSPAN%20class%3D%22typ%22%3ESee%3CSPAN%20class%3D%22pln%22%3E%20the%20error%20details%20%3CSPAN%20class%3D%22kwd%22%3Efor%3CSPAN%20class%3D%22pln%22%3E%20more%20information%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3ECategory%3CSPAN%20class%3D%22pln%22%3E%20info%20%3CSPAN%20class%3D%22pun%22%3E%3A%20%3CSPAN%20class%3D%22typ%22%3EObjectNorFound%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3EMSTF_PrinterDriver%3CSPAN%20class%3D%22pun%22%3E%3A%3CSPAN%20class%3D%22typ%22%3ERoot%3CSPAN%20class%3D%22pun%22%3E%2F%3CSPAN%20class%3D%22typ%22%3EStandardCimv2%3CSPAN%20class%3D%22pun%22%3E%2F%3CSPAN%20class%3D%22pln%22%3EMSFT_PrinterDriver%3CSPAN%20class%3D%22pun%22%3E)%5B%3CSPAN%20class%3D%22typ%22%3EAdd%3CSPAN%20class%3D%22pun%22%3E-%3CSPAN%20class%3D%22typ%22%3EPrinterDriver%3CSPAN%20class%3D%22pun%22%3E%5D%2C%20%3CSPAN%20class%3D%22typ%22%3ECimException%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3E%3CSPAN%20class%3D%22typ%22%3EFullQualifedErrorID%20%3CSPAN%20class%3D%22pun%22%3E%3A%3CSPAN%20class%3D%22pln%22%3E%20HRESULT%20%3CSPAN%20class%3D%22lit%22%3E0X80070490%3CSPAN%20class%3D%22pun%22%3E%2C%20%3CSPAN%20class%3D%22typ%22%3EAdd%3CSPAN%20class%3D%22pun%22%3E-%3CSPAN%20class%3D%22typ%22%3EPrinterDriver%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

 

Hi,

I I'm having issues with Add-PrinterDriver "printerDriverName".

I can succesfully call pnputil.exe -i -a "path_to_inf_file.inf". It shows that driver is successfully added.
But afterwards I have to call Add-PrinterDriver "printerDriverName"., which shows

  1. An error accoured while preforming the specified operation. See the error details for more information.
  2. Category info : ObjectNorFound(MSTF_PrinterDriver:Root/StandardCimv2/MSFT_PrinterDriver)[Add-PrinterDriver], CimException
  3. FullQualifedErrorID : HRESULT 0X80070490, Add-PrinterDriver

     

0 Replies