Fix: Runtime error r6025 in Visual C++ [Skyrim, Fallout]

Matthew Adams
by Matthew Adams
Windows & Software Expert
Loading Comments
Download PDF
Affiliate Disclosure

  • Many games, and other software, rely on some frameworks to work properly. In case your computer is missing some components of the framework, the software cannot run properly. 
  • Running sfc in Command Prompt, repairing the .NET framework installed or the Visual C++ redistributable packages are the best way to fix runtime error r6025. 
  • If you are having any other similar issues, make sure to visit our exclusive guides found in the Fix Runtime Errors section
  • The guides from the Windows 10 Errors Hub are very helpful in figuring out what is wrong and what to do about it.  
Fix runtime error r6025 in Visual C++

The Microsoft Visual C++ runtime library error r6025 occurs on Windows platforms when running software that relies on Visual C++ libraries.

When software calls a pure virtual function with an invalid call context, you can get an error message stating, Runtime Error! Program: C:Program FilesProgram Name R6025 – pure virtual function call. This is a runtime error that crashes software, and these are a few resolutions that might fix it.

How to solve Microsoft Visual error r6025

  1. Scan System Files
  2. Repair Microsoft NET Framework 3.5
  3. Install Visual C++ Redistributable Packages
  4. Clean Boot Windows
  5. Erase Junk Files and Reinstall the Software

1. Scan System Files

Runtime errors can often be due to corrupted system files. As such, running a System File Checker could repair pertinent system files and fix this issue. You can run an SFC scan as follows.

  1. Press the Win + X hokey, and select Command Prompt (Admin) on the Win + X menu.
  2. Input ‘Dismissive /Online /Cleanup-image /Restore health’ and press Enter before running the SFC scan.
  3. Then enter sfc /scannow and press Return to run the SFC scan.installation error 0xc000021a sfc/scannow
  4. The SFC scan can take between 20-30 minutes. If the Command Prompt states that WRP repaired some files, restart the Windows OS.

2. Repair Microsoft NET Framework 3.5

  1. It might be the case that you need to repair the Microsoft NET Framework installation. To do that, press the Win key + R keyboard shortcut, enter ‘appwiz.cpl’ in Run and press the OK button.
  2. Click Turn Windows features on or off on the Programs and Features tab to open the window directly below. net framework 3.5
  3. Now uncheck the NET Framework 3.5 checkbox, and press the OK button.
  4. Restart the Windows OS.
  5. Open the Windows Features window again.
  6. Select the NET Framework 3.5 checkbox, and click the OK button.
  7. Then restart your desktop or laptop.

3. Install Visual C++ Redistributable Packages

It might be the case that your laptop or desktop is missing a Visual C++ redistributable package and its run time components required by the software. Those are usually automatically installed on Windows.

The Programs and Features tab lists your installed Visual C++ packages as shown in the snapshot directly below.

control panel programs and features uninstall a program

If your desktop or laptop lacks some C++ redistributable packages, you can manually install 32 and 64-bit versions. Make sure you add the 32-bit packages to a 32-bit Windows platform. You can download the more recent Visual C++ redistributable packages from these website pages:


4. Clean Boot Windows

Error r6025 could be due to antivirus and system maintenance software conflicts. To ensure that isn’t the case, you can disable all non-Microsoft services. That selective startup is a clean boot, which can resolve software conflicts.

  1. First, open MSConfig by entering ‘msconfig’ in Run. That will open the window shown directly below when you press the OK button.msconfig
  2. Select the Selective startup option on the General tab if that isn’t already selected.
  3. Select the Services tab shown directly below.msconfig
  4. Select the Hide all Microsoft services option.
  5. Press the Disable all button to stop all the services.
  6. Press the Apply and OK buttons.
  7. Then select the Restart option on the System Configuration dialog box.

restart after msconfig changes


5. Erase Junk Files and Reinstall the Software

Erasing junk files and reinstalling the program that’s returning the r6025 error is another potential resolution for the issue. Erase the junk files before installing the program again. This is how you can erase junk files and reinstall software in Windows.

  1. First, open the Programs and Features tab by entering ‘appwiz.cp’ in Run.
  2. Select the software to remove, and press its Uninstall button. Then press the Yes button to confirm.disk cleanup
  3. Next, enter ‘cleanmgr’ in Run; and press the OK button.
  4. Select to scan the drive where you installed the program, which would usually be the C drive.
  5. Select all the file checkboxes on the Disk Clean-up window directly below.disk cleanup
  6. Press the OK button and click Delete Files to erase the selected file categories.
  7. Restart Windows after erasing the junk files.
  8. Then reinstall the software that you uninstalled.
  9. In addition, check if there are updates available for the preinstalled software.

Those are a few potential fixes for error r6025 that don’t require any extra third-party utility software.

Aside from the resolutions above, there is numerous third-party system optimization software that could feasibly fix error r6025 with their registry cleaners and system file repair tools. Check out this software guide for further PC repair kit details.

Here are some similar issues that users encounter and that should have the same steps applied to fix them:

  • Skyrim runtime error r6025 – The error occurs while playing Skyrim and updating the framework components will fix the issue.

  • Runtime error r6025 Fallout 4 – This runtime error happens when opening Fallout 4. Either reinstall the game or update the Redistributable package to make the problem go away.

  • Runtime error r6025 pure virtual function call – Follow the steps from this guide to fix this issue.

  • Microsoft Visual C++ runtime error r6025 – The main culprit, Microsoft Visual C++ Redistributable package that has to be fixed.

FAQ: Learn more about runtime error r6025

  • How do I fix r6025 runtime error?

If the error was caused while opening a piece of software or a game, completely exit the game, end the process and reinstall Microsoft Visual C++ Runtime Libraries. See download links and more details in this article.

  • What is runtime error r6025 pure virtual function call?

It is an error that occurs when a program is being run and a version conflict or missing files from a framework prevents it from working properly.

  • What is C++ runtime error?

When a system conflict between some Windows components occurs, the Microsoft Visual C++ Runtime error is displayed, suggesting you need to perform some of the steps from this article to solve it or have a look at our Fix Visual C++ runtime error guide.

Editor’s Note: This post was originally published in November 2017 and has been since completely revamped and updated in June 2020 for freshness, accuracy, and comprehensiveness.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!