• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about printers, Click here to check it out!
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
laserjet pro mfp m127
Microsoft Windows 7 (64-bit)

Hello, 

Two days ago I tried to uninstall my printer. In the middle of uninstalling, because of the electricity interruption, it stopped. After that, every time that I want to do the installation I see this window says: "The prior product installation failed to complete. The partially installed files must be uninstalled before you rerun the product installation.". I tried all the different solutions that I could find in this forum and web including the steps mentioned in these two posts:

https://h30434.www3.hp.com/t5/Printer-Software-and-Drivers/LaserJet-Pro-MFP-M125nw-fails-to-install/... 

https://h30434.www3.hp.com/t5/Printer-Software-and-Drivers/How-to-uninstal-partially-installed-files... 

 

Unfortunately, none of them worked for me. It would be great if you can help me in solving this problem. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

@naser12345678

 

I'd suggest try creating a new user account and check -

 

1. Tap the Windows icon.
2. Select Settings.
3. Tap Accounts.
4. Select Family & other users.
5. Tap "Add someone else to this PC."
6. Select "I don't have this person's sign-in information."
7. Select "Add a user without a Microsoft account."
8. Enter a username, type the account's password twice, enter a clue and select Next.
9. Tap the Windows icon.
10. Select the User icon at the upper left corner of the Start menu.
11. Select the new user. You'll then sign into your account with your password from step 8.
 

and install the printer driver. 

Asmita
I am an HP Employee

View solution in original post

5 REPLIES 5
HP Recommended

Hi @naser12345678

 

Welcome to the HP Support Community. I'd be happy to assist you with the printer installation.

 

Let's try these steps -

 

1. In the search box, type and open "Uninstall a Program".

2. Look for HP Printer software.

3. Right-click to uninstall.

4. In the search box, type and open “Devices and printers”.

5. In the Devices and Printers, look for your HP printer. If you see it listed right-click on it and choose “Delete” or “Remove Device”.

6. Open 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 Once the software and drivers are removed.

13. Restart the computer.

14. Download and install the software and drivers from here for Windows 7 (64-bit).

15. Click on the downloaded file and follow the on-screen instructions. 

 

If the issue still persists, try these steps -

 

1) Right-click on the Start or the Windows icon and open run.

2) In the Run box, type %temp% and hit on "Ok". This will open the "Temp" folder.

3) Select "Date Modified" to "Today" and look for a 7z.... folder.

4) Open the folder and look for a .msi file.

5) Right click on it to install.

 

Try running the downloaded file in compatibility mode. Once the driver is downloaded, right click on the download in the browser and then click on "Show in folder". Right click on "Properties" and then click on the "Compatibility" tab. Select, "Run this compatibility mode for:" - Windows Vista. Also, check the box for "Run this program as an administrator".  

 

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! 

Asmita
I am an HP Employee

HP Recommended

Hello @asmita6658,

Thanks for the solution. I tried it but unfortunately, it didn't work for me. I still get the same window ("failed installation ...")

Do you have any Idea?

thanks,

HP Recommended

@naser12345678

 

I'd suggest try creating a new user account and check -

 

1. Tap the Windows icon.
2. Select Settings.
3. Tap Accounts.
4. Select Family & other users.
5. Tap "Add someone else to this PC."
6. Select "I don't have this person's sign-in information."
7. Select "Add a user without a Microsoft account."
8. Enter a username, type the account's password twice, enter a clue and select Next.
9. Tap the Windows icon.
10. Select the User icon at the upper left corner of the Start menu.
11. Select the new user. You'll then sign into your account with your password from step 8.
 

and install the printer driver. 

Asmita
I am an HP Employee

HP Recommended

@

HP Recommended

Hi @naser12345678

 

If the printer is working on the old account too, you may delete the new one. 

 

Keep me posted. 

Asmita
I am an HP Employee

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