-
×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
- Uninstall/install permission error message

Create an account on the HP Community to personalize your profile and ask a question
06-23-2020 01:14 PM
After experiencing issues I could not seem to resolve I attempted to unistall and reinstall my Officejet Pro 8600 Plus All in One device. I cannot seem to completely uninstall or reinstall. Anytime I try to do either one, I get an error message part way through, error5, which after some intro tech says this, "A caller of DriverPackageInstall must be a member of the administrators group to install driver package."
I am the sole administrator of my system, so I do not understand. When asked for permission early in the process I grant it, but this error keeps popping up. I even tried creating a new administrator account and installing from there, but that did not work either--I got the very same error message. I have wasted far too much time, and this is very frustrating! Does anyone know how to resolve this?
06-28-2020 12:59 PM
@1NathanB Welcome to HP Community!
I understand that you are unable to install the printer drivers.
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.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
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!