Question
runtime error
Replies (30)
Reply
 
Student
ashme
Posts: 1
Member Since: ‎12-04-2013
Message 21 of 31 (1,369 Views)

Re: runtime error

Hi PCWizard,

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++

runtime library

Runtime error!

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?

 

Please help!

 

Thanks

Ashme

Retired
SuperMario1
Posts: 5,085
Member Since: ‎09-05-2013
Message 22 of 31 (1,347 Views)

Re: runtime error

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&lc=en&dlc=en&docname=c03270359

 

Before any other troubleshooting is done, please reference this HP document: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=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-files-using-disk-cleanup#delete-files-using-disk-c...

 

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://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02691615

 

(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/products/features/system-restore

 

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:

 

2005 - http://www.microsoft.com/en-ca/download/details.aspx?id=26347

 

2008 - http://www.microsoft.com/en-ca/download/details.aspx?id=5582

 

2010 - http://www.microsoft.com/en-us/download/details.aspx?id=14632

 

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:

I worked on behalf of HP.
Retired
SuperMario1
Posts: 5,085
Member Since: ‎09-05-2013
Message 23 of 31 (1,347 Views)

Re: runtime error

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/install-windows-updates

 

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):

msiexec /unregister

msiexec /regserver

 

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/restore-refresh-reset-pc

 

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-printer#install-printer=windows-7

 

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-install

 

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!
 

Mario

I worked on behalf of HP.
Honor Student
Jacco
Posts: 2
Member Since: ‎01-07-2014
Message 24 of 31 (1,256 Views)

Re: runtime error

Even though this solution was not posted to solve this problem, it seems to work for my 8500 all in one as well..
Top Student
Oreopudge
Posts: 5
Member Since: ‎10-23-2011
Message 25 of 31 (1,130 Views)

Re: runtime error

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.

Honor Student
dorebea
Posts: 2
Member Since: ‎12-16-2013
Message 26 of 31 (1,005 Views)

Re: runtime error

Thank you! I have been struggling for days to get my printer (c310 aio) working with my laptop after upgrading to windows 7. Stumbled on your post today and it did the trick. Note to all: You do need to delete the desktop copy of the '7z' folder before step 14 ( as noted a few posts below).
Student
HappyCamper01
Posts: 1
Member Since: ‎04-18-2014
Message 27 of 31 (864 Views)

Re: runtime error

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!!!

Provost
pcwizard
Posts: 11,508
Member Since: ‎12-31-2009
Message 28 of 31 (854 Views)

Re: runtime error

Hi HappyCamper01,

 

I am very happy to hear my solution resolved your issues. Have a great weekend.

 

 

I am an HP employee.

Say Thanks by clicking the Kudos Star in the post that helped you.

Please mark the post that solves your problem as "Accepted Solution"
Honor Student
immiksson
Posts: 2
Member Since: ‎05-12-2014
Message 29 of 31 (760 Views)

Re: runtime error

[ Edited ]

Hi.
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-Install-Setup/runtime-error/m-p/1848685#M70239)

I get an eror.. :smileysad:

hp-error.png

Student
GamerMom2014
Posts: 1
Member Since: ‎05-14-2014
Message 30 of 31 (727 Views)

Re: runtime error

Hi, 

 

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

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation