• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about printers, Click here to check it out!
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs AND MORE.
HP Recommended
ENVY 5646
Microsoft Windows 10 (64-bit)

I can no longer print from my PC. I am getting consistent error messages with code 0x80004005. I searched the internet for advice on this error message and go the advice to uninstall and reinstall the printer (drivers). The first part suggested to:

 

In Windows, search for and open Programs and Features.

Select your HP printer.

Select Uninstall.

 

I am unable to uninstall because an error message (error5) came up that I am not an administrator. I checked my Windows 10 account details, which is saying I am the administrator of my stand-alone PC. Please help, since I wasted hours!

 

Michiel

1 REPLY 1
HP Recommended

@Michiel11 

Hello,

I notice that you encounter a problem when uninstalling the printer.

In order to alleviate this incident, please download Fix problems that block programs from being installed or removed from the Microsoft website, and then try uninstalling again.

To address this incident, please follow the following procedure:
1. Uninstall printing software:

  1. Unplug the USB cable at the back of the printer, if necessary.
  2. On the keyboard, simultaneously tap the Windows flag and the R key. The Run window opens.
  3. Type appwiz.cpl, then OK. The Programs and Features window opens.
  4. Click the right mouse button on HP ENVY 5640 series Basic Software, then Uninstall and Yes.

    Note: If the software uninstall process does not start or an error displays while uninstalling, download Fix problems that block programs from being installed or removed from the Microsoft website, and then try uninstalling again.

  5. Follow the instructions on the screen to complete the uninstall of the printer.
  6. Restart the computer.

2. Launch the registry editor:

  1. On the keyboard, simultaneously tap the Windows flag and the R key. The Run window opens.
  2. Type regedit, then OK. The registry editor opens.
  3. Develop HKEY_LOCAL_MACHINE, then SOFTWARE, click with the right mouse button on Hewlett-Packard and Delete. (If the PC is HP-branded, develop Hewlett-Packard and remove Digital Imaging)

3. Delete the HP ENVY 5640 series folder in the way:

  • C: \Program Files\HP
  • C:\Program Files (x86)\HP

4. Rename folder 3 in 3_old in the path below (a restart may be required):

  • C:\Windows\System32\spool\drivers\x64.
  • C:\Windows\System32\spool\drivers\W32X86.

NOTE: If the file refuses this action do as follows:

  • On the keyboard, tap the Windows and X keys simultaneously.
  • Click Command prompt (admin), and then Yes.
  • Type net stop spooler, then press Enter.
  • Rename the file.
  • Type net start spooler, then tap Enter.

5. Launch a new the printer installation with the HP ENVY 5640 series Full Feature Drivers and Software.

Do not hesitate to contact us in case of need.

Best regards,:Wink:



I'm not an HP employee. Did this message answer your question? Include it below as an Accept As Solution! Did you find this message useful?  Click on the thumbs up set to give a Compliment! Follow us on Facebook Assistance customers HP.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.