Fix: DirectX Setup Error ‘An internal error has occurred’ in Origin

Users experience the error message “DirectX Setup Error: An internal error has occurred” when they try to install or launch games in Origin. Origin makes use of the DirectX API like all other game engines out there.

DirectX Setup Error in Origin

DirectX is used in graphics and the rendering done inside the game. This error occurs when Origin is unable to launch the DirectX setup when installing or launching your game for the first time. This is a very common issue and is present in the game engine for quite some time.

What causes DirectX Setup Error in Origin?

This error message particularly signifies that DirectX could not be initialized properly. There are only a few causes for why this might happen on your computer.

  • DirectX Files are Corrupt: The main reason why Origin is not able to launch DirectX is because the files are either corrupt or outdated. Refreshing these files usually fixes the issue at hand.
  • DirectX not Installed: In some cases, Origin is unable to independently install DirectX on your computer. This might be because of permission issues or because the elevation is not granted.
  • Antivirus Software Conflicting: If all the components are working as expected, there are chances that your Antivirus software is not working as it should and is blocking Origin’s actions.

Before moving on to the solutions, make sure that you are logged in as an administrator on your computer. Furthermore, you should have an open internet connection without any proxy servers or VPNs.

Solution 1: Deleting old DirectX Files

As mentioned before, the number one reason why you experience this error is because the DirectX files already present in your directory are corrupt or unusable. This occurs a lot in Origin and can also be caused if you have changed the directory of Origin folder. The original file paths might have been hampered and caused them useless. We will delete the old file (or place them in a folder) and launch Origin. When Origin will notice that the files it needs aren’t there, it will download/install them again accordingly.

  1. Press Windows + E to launch the File Explorer and navigate to the following directory:
C:\Program Files (x86)\Origin Games\*name of game*\Installer\directx\redist

If you do not have hidden files enabled on your computer, follow the following steps in order:

Click View and select Options > Change folder and search options. You perform similar steps if you are using an older version of the operating system.

Changing Folder options – Windows Explorer

Select the tab View and check the option Show hidden files, folders, and drives. Also, uncheck the option Hide protected operating system files (Recommended).

Unchecking Hide protected operating system files
  1. Now you need to create a new folder and name it anything you want. Now move all the files except the ones mentioned below:
DSETUP.dll

dsetup32.dll

DXSETUP.exe
Moving extra files to a folder
  1. Now you will see the three files and the folder we just created in the directory.
Selected files in ‘redist’ direectory

Solution 2: Installing DirectX Manually

There are some cases where Origin fails to install DirectX on its own. This can be traced back to Windows Updates where the security settings are made tighter and access of applications gets limited.

DirectX is basically a collection of APIs (application programming interface) which helps the application and your hardware in rendering and graphics processing. In this solution, we will navigate to Microsoft’s website and install DirectX after downloading the executable. Do note that you will require an administrative account to perform these steps.

  1. Navigate to the official Microsoft website and download the installer from there.
Downloading DirectX Run time installer
  1. After downloading the file to an accessible location, run the executable with administrator privileges and install DirectX. If it is already installed, consider doing a proper reinstall in case any modules are missing.
  2. Restart your computer and check if the error message is resolved.

Solution 3: Disabling Antivirus Software

If you have recently activated/installing Antivirus software on your computer, there are chances that it is conflicting with Origin when it tries to install DirectX files. This is a known issue which comes out every now and then with the Origin client.

We advise that you first disable your Antivirus Software temporarily. If this doesn’t work, consider uninstalling it and then checking Origin. You should always use the latter if you have the Antivirus Product Key at hand. You can check our article on How to Turn Your Antivirus Off.

Solution 4: Reinstalling Origin

Origin is an online gaming, digital distribution and digital rights management platform developed by Electronic Arts that allows users to purchase games on the internet for PC and mobile platforms, and download them with the Origin client. You are basically using Origin to launch your games. In this solution, we will try to reset Origin client and see if this fixes the issue.

Note: You will have to re-download all of your games from scratch.

  1. Press Windows + R, type “appwiz..cpl” and open the application manager. Navigate to the entry of Origin, right-click it and uninstall the application completely.
  2. Once the application is uninstalled, navigate to the official website and download the client again.
Downloading Origin
  1. Now launch the Origin Client and download the game again from the store. Now check if the issue is resolved.

Note: You can also try repairing the entire game from within the client. This helps pinpoint files which are incomplete or corrupt.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.