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,288 questions
Hello @Hrach Martirosyan , could you show how do you call
InstallPrinterDriverFromPackage()
?Thank you for quick response.
Sure
This code was working completely fine, but over the weekend Windows updated and now I have this issue
Maybe this will help :)
Thanks for shared information. Could you try to narrow down this issue to see if it is related to the update? Like try another machine or uninstall the update. If it is update related you can show your OS version and update package number. And one suggestion is asking a question at Windows Hardware WDK and Driver Development forum because it is related driver development, for more professional support.
Sure,
Updated from 1909 to 2004 version.
Just wanted to figure out possible reasons of this error.
Dear RitaHan-MSFT do you have any idea?
Could you show a mini, complete and reproducible sample via GitHub or OneDrive? Make sure your private data removed before sharing. And could you follow this tutorial to create a test driver to see if it reproduces this issue?
Here is the topic.
It works for me, it works for everybody, but for my second laptop it doesn't work.
Just need possible reasons for this.
Started to not work when updated Win from 1909 to 2004 version.
Just want to know what mean
80070490
error, and possible reasons of this error.So it seems your second laptop environment related issue. After a search on Internet there seems no similar issue, so there is no possible reason I can provide directly. For this specific issue we need to collect information to narrow down step by step as pointed out by my previous comments.
Search this error via this site. General means NOT FOUND error.
I see thanks,
In my logs I can find also Installing printer driver Send to Microsoft OneNote 16 Driver failed, error code 0x0, HRESULT 0x80070490.
Installing printer driver Microsoft Print To PDF failed, error code 0x3, HREULT 0x80070057.
The print spooler failed to load a plug-in module , error code 0x57.
Maybe this will tells you something about my enviorment issues?
Error code
0x80070057
and0x57
mean "The parameter is incorrect." Unfortunately, we can't determine which parameter is incorrect just based on the error code. Maybe you can try devcon.exe tool to install the driver to see if you can get more useful information. As I mentioned you can ask a question at Windows Hardware WDK and Driver Development forum for more professional support. Hope this helps.Sign in to comment
2 answers
Sort by: Most helpful
Were you able to narrow down what updates affected this?
Sign in to comment
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.
Sign in to comment
Activity