HomeGamingHow to Fix Hogwarts Legacy DirectX Runtime Error on Windows 10/11 PC

How to Fix Hogwarts Legacy DirectX Runtime Error on Windows 10/11 PC

Author

Updated On

Reading Time

The release of Hogwarts Legacy has done a great amount of good to fans of JK Rowling’s Wizarding World. Excitement levels are through the roof and nothing is stopping the hype train. Well, except for the enormous amount of bugs and issues plaguing the game.

If you’re a Hogwarts Legacy player dealing with the DirectX runtime error on Windows 10 or 11 computer, we’ve got you fully covered with this guide. It highlights everything you need to know about the gaming error on PC including the causes and some effective solutions for getting rid of it.

DirectX-on-Windows-PC
Image credit: Microsoft

How to Troubleshoot and Fix Hogwarts Legacy DirectX Runtime Error on Windows 11 or 10 PC

The error message for this problem might state “The following component(s) are required to run this program: DirectX Runtime.”

The-following-components-are-required-to-run-this-program-DirectX-Runtime

One thing you need to watch out for is whether or not you simply need to reinstall DirectX on your Windows 10 or 11 PC. This Hogwarts Legacy game error is a bit tricky because it leads you in multiple directions without a solid answer that works as a universal solution. Follow our solutions in order of appearance to fix it faster.

Reinstall DirectX on your PC

  1. First, head to the following location within your PC <PATH>\Steam\steamapps\common\Steamworks Shared\_CommonRedist\DirectX 
  2. Install the executable file in this directory and accept the requirements
  3. At the end of the process, you should be simply left with a fully installed version of DirectX
  4. Open the game to see if your problem is resolved

Run DirectX Diagnostics Tool or dxdiag

Run-DirectX-Diagnostics-Tool-or-dxdiag

The DirectX service is actually supported with a handy command that can be run from your Windows terminal.

  1. Press the Windows Key + R on your keyboard
  2. Type in “dxdiag” and hit Enter to open the DirectX Diagnostic Tool
  3. Once it has opened up, check the System Tab and see the version of DirectX currently installed on your computer
  4. Next, go to the Display tab and you can check DirectX 3D Feature Levels along with other DirectX Features
  5. If you see this as a number less than DirectX version 12, the problem could be stemming from your outdated version

Download and Install GPU Drivers Update

If your DirectX Runtime Error is a consistent problem with Hogwarts Legacy, it might be a good idea to update your Graphics Driver as soon as possible.

  1. Go to the Windows Key + X and open the Quick Link Menu
  2. Open Device Manager within this list
  3. Select Display Adapters
  4. Right-click on your system’s dedicated GPU
  5. Select Update driver
  6. Choose the Search automatically for drivers option
  7. If an update is available, it will download and install
  8. Once the update is installed, restart your computer to allow the changes to take effect

Update Windows OS Build to Latest Version

If your Operating System is outdated, you may begin to encounter a plethora of issues on your device. Here’s how you can quickly use an update to get rid of your DirectX problem.

  1. Press Windows Key + I and open your Windows Settings
  2. Go to Update & Security then select Check for updates within the windows updates screen
  3. Go to Download and Install
  4. Wait for the installation to be completed
  5. Reboot your device to successfully apply the changes

There you have it! With the provisions of this guide, you should have no problems getting Hogwarts Legacy to successfully run on your computer.

READ MORE ON:

Windows Dispatch is a website supported by its readers & community. Some pages may contain affiliate links which may allow us to earn a little money when you buy through them.

Tobi Olanrewaju
Tobi Olanrewaju
Hi, I'm Tobi. A writer, gamer and tech enthusiast. If I'm not typing on my keyboard, you can probably find me watching hours and hours of YouTube. I’ve spent a lot of time troubleshooting tech, and this experience helped me get into writing guides. I enjoy helping other people get over pesky bugs and errors with their devices.

Further Readings

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Recent Articles

Trending