Skip to content

How to fix Runtime Error?

  • by
  • 5 min read

Windows is a relatively stable OS perfected over the years by Microsoft. However, the long-running OS still isn’t immune to the occasional bugs and glitches, especially those that might happen in individual programs.

We’re talking about runtime errors. These are different from the errors you might receive when a program is already running and opening up before the program starts. Common causes include a lack of memory or any other system resources required to start the program, missing Visual C++ runtime or simply a bug.

In this article, we’re going over how to fix the runtime error.

Also read: How to fix Error 1053 in Windows?

Restart your PC

Restarting your PC should be the first item on your troubleshooting list. Rebooting your machine can fix many seemingly random issues, including any runtime errors any programs might be facing. 

Close other programs

It’s also possible that any other programs running your PC might interfere with the program you’re trying to launch. Try closing all other programs and launching only the program you’re having trouble with to isolate the issue. 

Update the program

If it’s a bug in the program itself, chances are the developers are aware of it and most likely have already issued a fix in an update. Try checking for any updates to the program and if they’re available, install them immediately and try running the program again. 

Reinstall the program

If updating the program didn’t work, reinstalling might do the trick. Reinstalling a program can refresh and reinstall any corrupt or damaged files that the program might be using and eliminate the runtime error.

Scan for malware

Scanning for any possible malware and removing any found can also help get rid of the issue. Often, malware will block a program’s access to a resource it needs to start triggering a runtime error.

Also read: Windows could not automatically detect this network’s proxy settings: 10 Fixes

Repair Visual C++ Runtime

Repairing the Visual C++ Runtime library can fix any corrupt or damaged files triggering the error.

Step 1: Press Windows key + R to open the Run prompt. Type appwiz.cpl and hit enter.

Step 2: Find the Microsoft Visual C++ Runtime (2012 and onwards), select them and click the Change button. Follow along with the instructions to repair the library.

Once your computer restarts, try rerunning the program. The runtime error should be fixed.

Reinstall Visual C++ Runtime 

Step 1: Press Windows key + R to open the Run prompt. Type appwiz.cpl and hit enter.

Step 2: Find the Microsoft Visual C++ Runtime (2012 and onwards), select them and click the Uninstall button.

Head over to this website to download the latest Visual C++ Runtimes and install them.

Also read: How to change the primary monitor in Windows 10?

Use Safe Mode

If all else fails, try booting into the Windows 10 Safe Mode and running your program to check whether the program or Windows is at fault. 

Step 1: Open the Start menu, click on the power icon and click on Restart while holding down the Shift key.

Step 1: Click on Troubleshoot.

Step 2: Head over to Advanced Options.

Step 3: Select Startup Settings

Step 4: Click the Restart button.

Now try running the program again. The runtime error should be fixed.

Perform a clean boot

To isolate the problem, perform a clean boot and then start the missing processes one at a time to find your culprit. 

Step 1: Press the Windows key and search for System Configuration. 

Step 2: Head over to the Services tab. 

Step 3: Uncheck the Hide all Microsoft Services checkbox. Now click the Disable All button. 

Step 4: Now head over to the Startup tab and click on Open Task Manager.

Step 5: Click the Startup tab again, select all the services and click the Disable button. 

Also read: How to play MOV files on Windows 10?

Yadullah Abidi

Yadullah is a Computer Science graduate who writes/edits/shoots/codes all things cybersecurity, gaming, and tech hardware. When he's not, he streams himself racing virtual cars. He's been writing and reporting on tech and cybersecurity with websites like Candid.Technology and MakeUseOf since 2018. You can contact him here:

Exit mobile version