When you try installing or uninstalling the HP Basic Device Software for your printer, a form of the following error returns:
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
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.