-
×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
- LaserJet Pro MFP M127 fails to install

Create an account on the HP Community to personalize your profile and ask a question
12-19-2019 02:39 PM
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:
Unfortunately, none of them worked for me. It would be great if you can help me in solving this problem.
Solved! Go to Solution.
Accepted Solutions
12-25-2019 01:30 AM
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
12-22-2019 02:50 AM
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
12-24-2019 08:27 AM - edited 12-24-2019 02:31 PM
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,
12-25-2019 01:30 AM
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
12-25-2019 01:18 PM
It worked, Thank you very much.
I installed it on a new account and now I have the printer on both accounts.
Another question: Now, if I delete the new account, will printer work on the other account?
12-26-2019 12:12 AM
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