ACTIVE MALWARE WINDOWS

How to fix
“The following components are required to run this program” error
on Windows

Resolve "The following components are required to run this program" error on Windows 10 or 11 quickly and effectively. Expert-tested solutions await!

How to fix “The following components are required to run this program” error in Windows?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix “The following components are required to run this program” error in Windows?

  • Outdated DirectX
  • Missing DirectX
  • Corrupt Microsoft Visual C++ Runtime
  • Missing Microsoft Visual C++ Runtime
  • Outdated Windows updates
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hi, I was trying to play a game on Steam, but I keep getting the following error: "The following components are required to run this program DirectX runtime." Any advice on how to fix this?

"The following components are required to run this program" error is a common issue that Windows users encounter, especially when running games on their PCs. This error message appears when certain components, such as DirectX Runtime or Microsoft Visual C++ Runtime, are missing or outdated, preventing the program or game from running properly.

One of the main causes of this error is outdated or missing DirectX. DirectX is a collection of libraries that are responsible for rendering video game graphics on a PC by gaining direct access to the hardware, including the CPU and GPU. If DirectX is not updated or installed on Windows, it can trigger an error message.

Another possible cause is a corrupt or missing Microsoft runtime application. Just like DirectX, Microsoft Visual C++ Runtime is a collection of libraries that are required by Windows programs developed using Microsoft Visual Studio. If the Microsoft Visual C++ Runtime application is missing or corrupt, it can also result in an error message.

To resolve this error, users can take several steps. First, it's important to ensure that DirectX is updated to the latest version or installed if it's missing. Similarly, checking and updating Microsoft Visual C++ Runtime is also crucial. We provide several of the manual solutions below.

How to fix the following components are required to run this program error in windows
How to fix the following components are required to run this program error in windows

If you frequently encounter issues on your PC, including the "The following components are required to run this program" error, you may consider using a reliable repair tool [d1]. Such tools can help identify and fix various issues that may be affecting the performance and stability of their Windows system.

Fix 1. Install the latest Windows updates

One of the main components that are missing is DirectX from Microsoft. Usually, users have an outdated version or don't even have it installed. To install it, you need to implement all the Windows updates, especially if you haven't been installing them for a while.

  • Type Updates in the Windows search box and hit Enter.
  • Click Check for Updates and wait till all the needed files are downloaded.
  • If optional updates are available, install them too.
  • When all is done, restart your system to implement the changes.

How to fix the following components are required to run this program error in windows install updates
How to fix the following components are required to run this program error in windows install updates

Fix 2. Check your system for corruption

  • Type in cmd in Windows search.
  • Right-click the Command Prompt result and pick Run as administrator.
  • User Account Control will ask whether you want to allow changes - click Yes.
  • Type this command and press Enter:
    sfc /scannow
  • Wait for the scan to finish.
  • Then, use the following commands, pressing Enter after each:
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /RestoreHealth
  • Restart your PC.

How to fix the following components are required to run this program error in windows sfc dism
How to fix the following components are required to run this program error in windows sfc dism

Fix 3. Install DirectX legacy components

In some cases, the newest DirectX version is not what causes the "The following components are required to run this program" error. Some older games require components from older DirectX versions. To install them, you can download and install DirectX End-User Runtime, which would implement the legacy DirectX SDK.

  • Open your browser and navigate to the official Microsoft website for DirectX End-User Runtime Web Installer.
  • Select your language and click Download.
  • When the installer downloads, click the dxwebsetup.exe file to run it.
  • Follow the prompts and finalize the process. Restart your PC as necessary.

How to fix the following components are required to run this program error in windows directx runtime web installer
How to fix the following components are required to run this program error in windows directx runtime web installer

Fix 4. Install Visual C++

  • Open Control Panel and go to Programs > Uninstall a program.
  • Here, scroll down and check the list of the installed Visual C++ versions.
  • Open your browser and navigate to the official Microsoft Visual C++ download page.
  • Download and install all the missing versions (including the x84 and x64 versions) of Visual Studio.
  • Once done, restart your system.

How to fix the following components are required to run this program error in windows install visualc plus plus
How to fix the following components are required to run this program error in windows install visualc plus plus

Fix 5. Reinstall the game

If none of the solutions worked, reinstalling the game that's producing the "The following components are required to run this program" error. You can do so in many different ways; for example, on Steam, you can right-click on the gram in your Library and select Manage > Uninstall. Alternatively, you can always remove it in Windows as follows:

  • Right-click on Start and pick Apps and Features.
  • Scroll down to find the game in question.
  • Select it and click Uninstall.
  • When the prompt shows up, click Uninstall again and follow the on-screen instructions.
  • Once done, reboot your PC and reinstall the game.

How to fix the following components are required to run this program error in windows reinstall the game
How to fix the following components are required to run this program error in windows reinstall the game

Bottom line

To fix the error, ensure that DirectX is updated to the latest version and check for any missing or corrupt Microsoft Visual C++ Runtime installations. Additionally, installing the latest Windows updates can help resolve the issue. If none of these solutions work, consider using a reliable repair tool to identify and fix other potential problems.

Frequently asked questions

This error often arises due to missing Visual C++ Redistributables, .NET Framework versions, or outdated drivers required by the application in Windows 10.

You can visit the Microsoft website to download and install the latest Visual C++ Redistributables and .NET Framework for Windows 11 to resolve the issue.

If reinstalling the components does not help, try running the program in compatibility mode or check for Windows updates that might resolve underlying compatibility issues.

Did this fix work for you?
Lucia Danes

Written & verified by

Tech Support Specialist
Driver troubleshooting Hardware conflicts Device Manager errors USB and peripheral issues Audio and video problems

Lucia Danes is a tech support specialist focused on driver conflicts, hardware recognition failures, and device-level troubleshooting on Windows. Her guides walk users through the full diagnostic process — from reading Device Manager error codes and identifying problematic drivers to performing clean driver installations and resolving hardware compatibility issues. Lucia covers a wide range of devices including printers, audio hardware, graphics cards, USB peripherals, and external storage. Her writing is valued for its step-by-step precision and the real-world testing behind every recommended fix.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →