-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Setup, Software & Drivers
- Officejet 5740 no longer prints and I am unable to uninstall...

Create an account on the HP Community to personalize your profile and ask a question
06-10-2020 10:39 PM - edited 06-10-2020 10:41 PM
I have tried everything shown in earlier post related to this. PLEASE HELP. The printer works for all devices EXCEPT my All-in-One desktop which accepted an update...from that point on...I can scan, but I can not print.
When I go to uninstall (or re-install) I get this message...
Call to DriverPAckageUninstall returned error 5 for package C:\\WINDOWS\System32\Driverstore\FileRepository\hpwia_oj5740.inf_amd64_ad1248a34e6ae108\hpwia_oj5740.inf : A Caller of DriverPackageInstall must be a member of the Administrators group to install a driver package.
I am the only user on this desktop and I have admin account..and I installed this printer at the years ago.
BTW - I have ran the HP PC doctor, the windows tools, I have downloaded the lasted driver (full and driver only).
Solved! Go to Solution.
Accepted Solutions
06-16-2020 01:08 PM - edited 06-16-2020 04:02 PM
Thank you for posting on HP Support Community.
Don't worry as I'll be glad to help, I have a few troubleshooting steps we could try to fix the issue:
Let's try these steps to resolve the issue:
Download and run HP Print and Scan Doctor: Follow steps from the link: Click here
Root level uninstall and reinstall printer drivers:
- Go to Control panel – Programs and feature – Select all the HP Officejet printer entries and uninstall them.
- Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
- Then press the "windows key" + "r" to get the "Run" window open - Type "printui.exe /s" and press enter.
- Under print server properties, go to drivers - remove any entry there as well.
- Again, go to run window, type – “c:/programdata” – Go to Hewlett Packard folder, remove any printer related folders & files.
To reinstall, click here.
- If the issue continues, uninstall and reinstall printer Basic drivers from the link: Click here
- If the issue still continues, install using Using the Windows Built-in Print Driver: Click here
Hope this helps! Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
ECHO_LAKE
I am an HP Employee
06-16-2020 01:08 PM - edited 06-16-2020 04:02 PM
Thank you for posting on HP Support Community.
Don't worry as I'll be glad to help, I have a few troubleshooting steps we could try to fix the issue:
Let's try these steps to resolve the issue:
Download and run HP Print and Scan Doctor: Follow steps from the link: Click here
Root level uninstall and reinstall printer drivers:
- Go to Control panel – Programs and feature – Select all the HP Officejet printer entries and uninstall them.
- Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
- Then press the "windows key" + "r" to get the "Run" window open - Type "printui.exe /s" and press enter.
- Under print server properties, go to drivers - remove any entry there as well.
- Again, go to run window, type – “c:/programdata” – Go to Hewlett Packard folder, remove any printer related folders & files.
To reinstall, click here.
- If the issue continues, uninstall and reinstall printer Basic drivers from the link: Click here
- If the issue still continues, install using Using the Windows Built-in Print Driver: Click here
Hope this helps! Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
ECHO_LAKE
I am an HP Employee
06-17-2020 11:42 AM
Echo_Lake...THANK YOU!!! You and your steps resolved it on the first attempt. I was soo close to performing a full restore on my all-in-one PC. It was frustrating to go to my work PC (Dell - which instantly knew my printer), my iPad, my iPhone, and all other devices to print anything. I knew it was a printer maint update (or a Windows update) on this single device (which could always receive scans from the printer) or some other item isolated to this device.
AGAIN...thank you and I should have posted this question - to this forum - much sooner.