-
×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
- Re: Printer driver issue

Create an account on the HP Community to personalize your profile and ask a question
06-01-2020 03:20 PM
driverpackageuninstall returned error 5 for package This is the error I am getting when I try to uninstall an old printer. I am also having trouble installing my new her printer. OfficeJet Pro 6970
06-05-2020 11:31 AM
@Kara365 Welcome to HP Community!
I understand that you are facing the printer drivers issue.
Do not worry. I will try to fix the issue.
Please perform the below steps and check.
- From the search bar type CMD, right-click on Command Prompt and select Run as Administrator.
- Copy the following command, then right-click the Command Prompt dialog and select Paste, then press Enter:
Spoilericacls "%windir%\System32\DriverStore\FileRepository" /grant %username%:(OI)(CI)F /T
Note: this will provide your user full permissions to the FileRepository system folder - Copy the following command, then right-click the Command Prompt dialog and select Paste, then press Enter:
Spoilerfor /d %G in ("%windir%\System32\DriverStore\FileRepository\hpwia*") do rd /s /q "%~G"
Note: this will delete all HP's folders from the FileRepository system folder - Uninstall the HP Software.
- Now download the latest drivers and reinstall the HP Software.
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!
06-07-2020 11:56 AM
I understand your concerns.
I would suggest you try the Windows built-in drivers. Follow the steps below:
• Go to Control Panel - Devices and printers - Click on "Add printer" and follow the on-screen instructions.
• When the page prompts for the drivers, select "Windows update". The driver list will be updated.
• Click HP, Hewlett Packard, or Hewlett-Packard in the Manufacturer pane, and then click the name of your printer in the Printers pane.
Refer to this document HP Printers - Installing and Using the Windows Built-in Print Driver for help
Have a nice day!!