12-04-2013 03:51 AM
I am facing the same issue with my HP Deskjet f4185. I have a windows 8 operating system now. I tried to instal the new driver. I get the runtime error
Microsoft Visual C++
I tried the steps you suggested.But it is not working on my windows 8. Do you know how to troubleshoot this issues for 8?
12-06-2013 06:23 PM - last edited on 04-20-2016 10:48 AM by OscarFuentes
Hello ashme. I understand you are experiencing a Microsoft Visual C++ runtime error when installing your printer. I will do my best to assist you with the issue. The first step I implore you to perform is to backup your computer. If a mistake is made when performing some of these troubleshooting steps, Windows might have to be reinstalled automatically. Additionally, a reinstall of Windows will likely be required if the troubleshooting steps, below, do not resolve the issue. Here is some information on backing up your computer on Windows 8: http://h10010.www1.hp.com/ewfrf/wc/document?cc=us&
Before any other troubleshooting is done, please reference this HP document: http://support.hp.com/us-en/document/c01609772
On this page, please click the "SP40669 File Download" under the "See also" section. Once you do this, a patch will download. When finished downloading, double-click it to install it on the computer. Afterward, a level 3 uninstall of the printer software is required. This will remove any spare HP software from the unsuccessful installation attempts. Here are some instructions on performing a level 3 uninstall:
a) On your keyboard, press the Windows key and the letter "R" key to open the Run windows. In the search bar type %temp% and hit enter.
b) Locate the correct folder starting with "7z" (the correct folder contains "Util" and "CCC" folders).
c) Open folder "Util".
d) Open folder "CCC".
e) Please run the L3uninstall.bat.
f) When the uninstall has completed, restart the computer.
The next step is to perform a full virus scan of the computer. Viruses and malware have been known to create situations where a runtime error will occur. Please use your Anti-Virus software to perform a full scan of the computer.
Next, I would like you to perform a Disk cleanup in "System Tools". I have provided information on how to do this: http://windows.microsoft.com/en-ca/windows/delete-
Finally, before reinstalling the software, you should download and install the latest version of Adobe flash player: http://get.adobe.com/flashplayer/
Now, I would like you to utilize the Printer Install Wizard to install the printer software. I have included an HP document on how to use it and where to download it: http://support.hp.com/us-en/document/c02073861
(Please note that unless specified otherwise, use the Printer Install Wizard to install the printer software when my instructions suggest installing the printer software.)
If this issue is not resolved by the patch, I would like you to perform a System Restore. I want you to bring the computer back to the earliest restore point possible, in an attempt to dodge the runtime error. Here is a document on how to perform a System Restore: http://windows.microsoft.com/en-CA/windows7/produc
Once the System Restore is completed, try installing the printer software again. If the installation fails with the same error, please perform another level 3 uninstall, and proceed with further troubleshooting.
The next step is to download and install the Microsoft Visual C++ 2010, 2008 and 2005 Redistributable Packages. You will find the download links to these packages below:
Once they are downloaded and installed, restart the computer and try to install the software again. If the installation fails, perform another level 3 uninstall and continue troubleshooting below.
I would like you to create a new administrator user account, just in case there is some hidden corruption based off of your current user account. Please follow these specific steps, since I am providing instructions on unlocking a specific user account:
12-06-2013 06:23 PM
Run Command Prompt as Administrator. To do that, go to the start menu, type “CMD” in the search bar. Now, you should see a shortcut for CMD above. Right click on it, and click “run as administrator”. If it asks you for administrative permission, please allow permission. In your Command Prompt window (as administrator), type the following and hit Enter: net user administrator /active:yes
You should see a message saying "the command completed successfully". After troubleshooting is done, you can disable this account by typing the following command into Command Prompt (as administrator): net user administrator /active:no. Restart the computer, and utilize the new account that is available, which should be named "Administrator". In this user account, proceed with the following:
(Note, ensure these changes are completed in the Administrator account that was just created.)
After this account is created, I would like you to perform a clean boot on the computer. This will prevent most third-party programs from interfering with the software installation, since some third-party programs can provoke this issue. Here is some information on how to perform a clean boot: http://support.microsoft.com/kb/929135
The next step is performing a System File Check. To do this, run Command Prompt as administrator again. Type in this command and hit Enter afterward: sfc /scannow
SFC stands for System File Checker, and it scans and attempts to restore corrupted Windows files. Running this might find a corrupted file or service and repair it. After it completes it will basically say either no corrupted files were found, corrupted files were found and repaired, or corrupted files were found but were unable to be repaired. Restart after this completes and record your results.
After the check is complete, I want to ensure that all Windows updates have been installed. Here is some information on how to install all of your Windows updates: http://windows.microsoft.com/en-ca/windows-vista/i
Before you install the printer again, I would like you to re-register the Windows Installer service. To do this properly, please open Command Prompt as administrator and type the following commands (hit enter after the first command):
I would now like you to try installing the printer software again. If the issue still remains, please perform another level 3 uninstall and restart the computer.
I believe the next step is performing a Windows 8 refresh. This will not delete personal files or change major settings. This will simply clean up the computer thoroughly. It is the next step before reinstalling Windows, essentially. For more information on how to do this, please reference this Microsoft website: http://windows.microsoft.com/en-CA/windows-8/resto
This can take a good amount of time to complete. After the refresh is complete, try to install the printer software again. If the error remains, perform another level 3 uninstall and restart the computer.
The next step is going to be to install a generic printer driver on the computer, for this printer. If you reference this Microsoft document, it will explain how to install the generic Windows print driver for this printer: http://windows.microsoft.com/en-ca/windows/install
If this is successful, this indicates that the required services to install printer software are working correctly. If not, skip the next paragraph.
Now that this generic driver is installed, you can try installing the printer using the Printer Install Wizard. Since there is already some software installed, it might be enough to allow the entire installation to go through. If the issue is not resolved, please proceed to the next paragraph.
Unfortunately, unless you received any other errors that are different than the c++ runtime error, I'm afraid the final step is to reinstall Windows. The software on the operating system is damaged to the point where it cannot install the software properly. For more information on reinstall Windows 8, please reference this website (You can also reference the document I provided when suggesting the Windows 8 refresh) : http://windows.microsoft.com/en-CA/windows-8/clean
Now, if you received any different error message that the c++ runtime error, please stop troubleshooting and provide the exact error. Also, please inform me where you left off with my troubleshooting steps.
Hopefully this troubleshooting guide will resolve the issue. If you found my information useful, please mark my posts with a Kudos, so others can locate this information easier. Please let me know if you have any other questions or concerns. I'm only here to help!
02-24-2014 12:18 AM
You Rock!!! Your procedure worked!! My printer was working and all of sudden it stopped. Could not download driver due to runtime error. I paid HP support to fix. They remotely took control, could not fix. Refunded my money. Told me it was a Microsoft problem. I am so thrilled that I finally have a fully functioning printer again. Spent hours trying to fix and then trying to decide who to hire to fix since HP support said they could not fix.
Thank you, thank you, thank you!!!
Note to others with problems - follow the steps precisely. I had a slight glitch installing the scanner function, but I searched the discussion board and found the solution. The above steps got me beyond the problems of Run time error.
03-16-2014 08:40 PM
04-18-2014 01:58 PM
It is April 18th, 2014 and I used your solution for my Photosmart C410 All-In-One and if worked. I tried everything else and searched everywhere and your solution was the one that fixed the Runtime Error. Thank you for sharing!!!
04-18-2014 10:08 PM
I am very happy to hear my solution resolved your issues. Have a great weekend.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution"
05-12-2014 03:59 AM - edited 05-12-2014 06:04 AM
I also get the problem while installing the hp photosmart 4584 driver.
I did all step by step but have no results. (http://h30434.www3.hp.com/t5/Printer-All-in-One-In
I get an eror..
05-14-2014 12:27 PM
So i have been following the steps and im up to Step 10 :Run the L4uninstall.exe
and i am receiving an error message.
"Windows can not find 'CCC uninstaller.exe. Make sure you typed the name correctly, and then try again.
I tried again and i keep getting the same message please help!! I really need my printer.
Thanks so Much
- HP Printers - Using HP Diagnostic Tools for HP Printers in Windows
- HP Printers - After Windows 10 Upgrade, Printer Does Not Print
- HP Printers - Using Google Cloud Print with Your HP Printer
- HP Printers - Printer is Offline (Windows)
- HP LaserJet Pro Printers and Multifunction Printers - HP Smart Install Discontinuation