• ×
    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
Experiencing 'Printer Blocked' or 'Printer Error' message? Click here for more information.
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our Black or Color Ink Not Printing, Other Print Quality Issues info about: Print quality and Cartridge Issues.
HP Recommended
Microsoft Windows 10 (64-bit)

HP Admin error.png

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended
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

 

  • 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

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 🙂

View solution in original post

2 REPLIES 2
HP Recommended
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

 

  • 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

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

Dude you ROCK!  Thank you!

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