• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Do you need the WPS PIN to connect your printer? Click here for tips and tricks!
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

Many, many thanks!

HP Recommended

Nice one: you're a star 🙂

HP Recommended

Well, nothing seems to work for me. This 8600 Plus is becoming a real pain. All I want to do is uninstall it and then reinstall the software. I get the Error 5 message. I am the adminstrator but a new install will not run.

HP Recommended

Hi @Richned ,

Have you tried following the steps listed on this thread?

 

As the thread is quite long already, summarizing the steps to resolve it in below post:

Symptoms

When you try installing or uninstalling the HP Basic Device Software for your printer, a form of the following error returns:

DriverPackageUninstallError5.png

Solution

Note: if you have an HP Computer, follow the steps within the HP PC Solution section and do not follow any further steps within this section

 

  • 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 till any command completes
  • processing:
    takeown /f %windir%\System32\DriverStore\FileRepository /r /d y
    icacls "%windir%\System32\DriverStore\FileRepository" /grant %username%:(OI)(CI)F /T
    for /d %G in ("%windir%\System32\DriverStore\FileRepository\hpwia*") do rd /s /q "%~G"
    takeown /f %windir%\System32\DriverStore\FileRepository /A /r /d y
    Note: This provides your user full permissions to the File Repository system folder and deletes all HP's folders from within the system folder
    Note: if you receive any Syntax error and your operating system language is in a different language than English, review the following Takeown command documentation from Microsoft for your language and modify the syntax accordingly.

  • From the Start menu click the Gear icon, select Apps and uninstall the HP Basic Device Software for your printer.
  • Download and install the latest HP Basic Device Software for your printer as necessary:
    https://support.hp.com/us-en/drivers/printers

 

HP PC Solution
  • 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 till any command completes processing:
    takeown /f %windir%\System32\DriverStore\FileRepository /r /d y
    icacls "%windir%\System32\DriverStore\FileRepository" /grant %username%:(OI)(CI)F /T
    takeown /f %windir%\System32\DriverStore\FileRepository /A /r /d y
     Note: This provides your user full permissions to the File Repository system folder
    Note: if you receive any Syntax error and your operating system language is in a different language than English, review the following Takeown command documentation from Microsoft for your language and modify the syntax accordingly.
  • From the Start menu click the Gear icon, select Apps and uninstall the HP Basic Device Software for your printer and evaluate the error message, then close the Uninstall dialog.
  • Right-click the Start button and select Run, then paste the following path and press OK:

    %windir%\System32\DriverStore\FileRepository
  • Locate and delete only the HP Folder listed in the error message.
    Example: following below error message, delete the hpwia_pw477dw.inf_amd64_efa093991b821954 folder as an example:
    DriverPackageUninstallError5HP.png
  • From the Start menu click the Gear icon, select Apps and uninstall the HP Basic Device Software for your printer.
  • Download and install the latest HP Basic Device Software for your printer as necessary:
    https://support.hp.com/us-en/drivers/printers

Shlomi

 



Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂
HP Recommended

Hi I have admin rights on my computer and I tried it but I still have no access to the files / access denied:

 

C:\WINDOWS\system32>takeown /f %windir%\System32\DriverStore\FileRepository /r /d y
Fehler: Ungültige Syntax. Der Wert 'y' kann für die Option '/d' nicht verwendet werden.
Geben Sie "TAKEOWN /?" ein, um die Syntax anzuzeigen.

C:\WINDOWS\system32>icacls "%windir%\System32\DriverStore\FileRepository" /grant %username%:(OI)(CI)F /T
Bearbeitete Datei: C:\WINDOWS\System32\DriverStore\FileRepository
Bearbeitete Datei: C:\WINDOWS\System32\DriverStore\FileRepository\1394.inf_amd64_2336da6415b7dc6f
Bearbeitete Datei: C:\WINDOWS\System32\DriverStore\FileRepository\3ware.inf_amd64_408ceed6ec8ab6cd
Bearbeitete Datei: C:\WINDOWS\System32\DriverStore\FileRepository\61883.inf_amd64_fb51a2f8b89aa4a7
C:\WINDOWS\System32\DriverStore\FileRepository\acpi.inf_amd64_700577de2656f0f6: Zugriff verweigert
4 Dateien erfolgreich verarbeitet, bei 1 Dateien ist ein Verarbeitungsfehler aufgetreten.

C:\WINDOWS\system32>takeown /f %windir%\System32\DriverStore\FileRepository /A /r /d y

 

Can you help me with this issue - I can not deinstall and install the new software - I am using an HP PC and my printer is a HP Office Jet 5740.

HP Recommended

Hi,

Try changing the syntax by replacing the Y (Yes) with a J (Ja), may you see any difference?

 

For an HP PC:

 

takeown /f %windir%\System32\DriverStore\FileRepository /r /d j
icacls "%windir%\System32\DriverStore\FileRepository" /grant %username%:(OI)(CI)F /T
takeown /f %windir%\System32\DriverStore\FileRepository /A /r /d j

 



Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂
HP Recommended

I am using hp compaq elite8000 pc and hp office jet3830 and it doesn't work .

HP Recommended

@ShlomiL I see your below instructions, and I also note not to follow them as I have different printers than the ones in the OP.

 


@ShlomiL wrote:

 

Before following any further, please make sure that the HP printer is the only HP device you have, any HP Device will be affected.

 

If you have multiple HP printers or an HP Computer, please stop at this point and let me know what exact HP products your have and DO NOT follow any further steps in this post!




I am trying to uninstall the HP Photosmart Plus B210 series, as I have just installed my new HP OfficeJet Pro 8020 Series.

 

As above I am getting the same error:

2020-04-25 09_57_09-HP Photosmart Plus B210 series Basic Device Software.jpg

Is it possible for me to rectify this issue using your suggested method?

HP Recommended

Hi @Benno85,

you should be able to resolve it by following the standard steps, just keep in mind that if the 8020 printer is already installed, it will have to be uninstalled and then reinstalled too in order to work.

 

Shlomi



Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂
HP Recommended

Thanks heaps it worked for me to I've been trying all afternoon to uninstall printer it was scary seeing all the green commands it worked  treat 

Go Well

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