InstallPrinterDriverFromPackage 80070490 issue

Hrach Martirosyan 6 Reputation points
2020-12-01T23:46:36.507+00:00

Hi all,

I'm trying to call InstallPrinterDriverFromPackage function. This causes error 80070490`.
Just wanted to know possible reasons of this.

Thank you in advance.
Hrach Martirosyan

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,537 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Cymon Kilmer -MSFT 801 Reputation points
    2021-01-04T22:44:36.97+00:00

    Were you able to narrow down what updates affected this?

    0 comments No comments

  2. 09917186 96 Reputation points
    2021-03-22T13:53:19.007+00:00

    I recently got same error E_ELEMENT_NOT_FOUND (0x80070490) on calling InstallPrinterDriverFromPackage, which was obviously caused by UploadPrinterDriverPackage's parameter dwFlags UPDP_CHECK_DRIVERSTORE. When using UPDP_SILENT_UPLOAD instead, I never encountered any trouble, neither before nor after experimenting with UPDP_CHECK_DRIVERSTORE. I haven't tried UPDP_UPLOAD_ALWAYS, but I could well imagine that replacing it by UPDP_SILENT_UPLOAD could solve your problem.

    0 comments No comments