• ×
    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
Envy 7640 Printer
Microsoft Windows 10 (64-bit)

I NO LONGER own the HP Envy 7640 printer. The software is still on my laptop, but when I try to uninstall the software off my laptop I keep getting an error message. 

Annotation 2020-08-11 164142.png

 

I just want this software of off my laptop because NO LONGER own that printer or any HP printer anymore. 

7 REPLIES 7
HP Recommended

@KekeJ, Welcome to the HP Support Community!

 

Let us try these steps:

  1.  In Windows, search for and open Programs and features 
  2.  Select your HP Printer 
  3.  Select Uninstall 
  4.  In Windows, search for and open Devices and printers 
  5.  In the Devices and Printers windows look for your HP printer. If you see it listed right-click on it and choose ‘Delete’ or ‘Remove Device’ 
  6.  Open up the run command with the “Windows key + R” key combo. 
  7.  Type printui.exe /s and click Ok. (Note: there is a space in between “printui.exe” and “/s”) 
  8.  Click on the “Drivers” tab 
  9.  Look for HP Printer driver. If you see it Click on it and click Remove at the bottom 
  10.  Select Ok 
  11.  Select Apply and Ok on the Print Server Properties windows 
  12.  Close Devices and Printers, restart the computer.

If the issue persists, you may have to use a third-party uninstaller.

 

Hope this helps! Keep me posted. 

 

Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.

Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

Have a great day! 

KUMAR0307
I am an HP Employee

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

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


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

Did not help.

HP Recommended

I tried the command option and it said that my access is denied.  

HP Recommended

Please uninstall the HP Basic Device Software using below Microsoft's utility, and then reinstall the latest software:

https://aka.ms/Program_Install_and_Uninstall

 

Are you able to uninstall it using the utility? note that it may take some time to complete the uninstall process.

 

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

When clicking on the link you provided it says 404 file not found.

HP Recommended

Nothing is working. I keep trying command and uninstalling but keep getting the same error. It wont give me access to delete it no matter what or where.

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