• ×
    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
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
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
HP ENVY 7645
Microsoft Windows 10 (64-bit)

Please help with a solution.  I'm to the point of considering a new laptop because I can't fix this issue and the recording at the HP help number I called said they can't take my call now and that I was being disconnected.

 

Installation Error:

Call to DriverPackageUninstall returned error 5 for package.

A caller of DriverPackageinstall must be a member of the Administrators group to install a driver package.

 

Overnight my computer decided to stop communicating with my printer.  This is the error message I keep getting when I try to reinstall my printer software.  It downloads and then will not install.  I've done much trouble shooting and I'm at my wit's end.  Please help!  

1 REPLY 1
HP Recommended

@aghahn Welcome to HP Community!

 

From what I can find, it doesn't look like this error 5 is limited to HP.  It appears to be an issue with the Windows Installer. Before I jump to conclusions, let's try a few things and see what the outcome is.

 

Let's first try performing a clean boot, then installing the software; How to perform a clean boot in Windows

 

If the issue persists, try the following;

 

If you want to give a quick step a try I would suggest unlocking the hidden Administrator account and installing under there. This will also help prove that whatever is causing the error is related to your user account. To do this please follow the steps below.

 

How to Unlock Admin Account:

 

  1. Go to your Start menu and under the 'search programs and files' box type CMD
  2. CMD will populate as a search option above, just right click on it and 'run as administrator'
  3. Once CMD (Command Prompt) opens, type net user administrator /active:yes and hit enter
  4. Next, close CMD and restart your computer
  5. When your computer comes on log into the new account that should show. It will  be called Administrator and will not have a password on it.
  6. If your computer automatically logs into your account after restart than go to your start menu click the arrow beside 'shutdown' and choose 'switch user'. Now log into the Administrator account we just unlocked
  7. Under the Administrator account download and install the drivers: https://ftp.hp.com/pub/softlib/software13/printers/en7640/EN7640_Full_WebPack_40.13.1176.exe 
  8. If everything installs fine, log out of this account and back into your normal user account. All the Software and Drivers for your product should show installed now on your account.

If everything works fine, you will want to Hide the Administrator account.

 

 

  1. Go to your Start menu and under the 'search programs and files' box type CMD
  2. CMD will populate as a search option above, just right click on it and 'run as administrator'
  3. Once CMD (Command Prompt) opens, type net user administrator /active:no and hit enter
  4. Next, close CMD and restart your computer

 

- These steps are from a post by X-23 : Source

 

If the issue remains unresolved, please run the Microsoft fix it utility;

What it fixes

  • Corrupted registry keys on 64-bit operating systems
  • Corrupted registry keys that control the update data
  • Problems that prevent new programs from being installed
  • Problems that prevent existing programs from being completely uninstalled or updated
  • Problems that block you from uninstalling a program through the Add or Remove Programs (or Programs and Features) item in Control Panel

 

If the issue persists, try the HP Print and Scan Doctor. The HP Print and Scan Doctor is a free utility (tool) that helps to quickly resolve common printing, scanning and connectivity issues including but not limited to:

 

  • Connectivity :

     USB: Verifies that the USB connection from your computer to the HP product is working correctly.

    Network: Verifies that the network connection between your computer and your network is working correctly.

  • Device Status Test : Checks for device errors such as out of paper, paper jams, carriage stalls, and paper feed issues, and then provides instructions for fixing the error.

  • Driver Check : Checks for missing or corrupt driver files.

  • Device Manager : Checks for problems in Device Manager that would prevent printing.

  • Device Online : Checks if the product has been paused or set to offline, and then sets the status back to online if necessary.

  • Print Queue : Checks for and clears pending print jobs in the print queue (a log of print jobs waiting to print).

  • Port Match : Checks the port settings for the HP product.

  • Device Conflicts : Checks for conflicts with other drivers, such as other printer brands.

  • Ink Issues : Checks the cartridges and ink levels for issues that affect print quality.

  • Print Settings : Checks and adjusts the print quality settings.

  • Test Print : Prints a test page for print quality evaluation, and provides options for cleaning and aligning the printhead if necessary.

  • Scan Tests : Checks the scan mechanism, drivers, and registry entries.

You can also click the Printer menu to find the additional features such as cleaning printheads, aligning printheads, checking ink levels, and viewing advanced printer data for your selected printer.

 

Source: Try the HP Print and Scan Doctor for Windows

 

Click here to download and run the Print and Scan Doctor> www.hp.com/go/tools

 

Keep us posted,

If you would like to thank us for our efforts to help you, 


Give us a virtual high-five by clicking the 'Thumbs Up' icon below, followed by clicking on the "Accept as solution" on this post, 


Have a great day!

† 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>.