Microsoft DirectX is a suite of programming interfaces capable of allowing software to communicate with a computer’s hardware. DirectX has been designed to be used for multimedia purposes – be it audio or video, be it for rendering video and audio for a game or be it for rendering video and audio for a video file. The purpose of DirectX is to basically allow Microsoft platforms such as the Windows Operating System to smoothly and effectively communicate with a computer’s graphics and audio hardware to provide the user with the best multimedia experience possible. DirectX has been a constant throughout all of the different forms the Windows Operating System has taken, with different, newer versions of DirectX being bundled with newer iterations of Windows.
As is the case with all other Windows components, however, things can spontaneously go awry with DirectX, and when they do, the user faces a host of different multimedia problems on their computer. From being locked out of their favorite games to not being able to play video or even audio files, there’s a lot you have to lose if DirectX stops working as it is supposed to. In the event that DirectX does break, there’s a lot you can do to try and fix it – first and foremost, you should run an SFC scan as DirectX files are classified as system files, and an SFC scan is designed to scan for and fix problems with system files on a Windows computer.
If an SFC scan doesn’t fix the problem, however, reinstalling DirectX becomes the recommended course of action for you. On every version of Windows, though, DirectX is integrated into the Operating System and is a part of it, so completely uninstalling it and then reinstalling it is simply not possible. There are, however, other ways to get the job done. If you want to reinstall DirectX on a Windows computer, the following are the two best ways you can go about doing so:
Method 1: Repair installing DirectX using the DirectX End-User Runtime Web Installer
On all versions of Windows that are currently supported by Microsoft, DirectX is installed via Windows Update and updates for DirectX are shipped through Windows Update as well. There exists, however, a redistributable installer package for DirectX that Windows released back in 2010. This redistributable can be used to repair install DirectX – doing so overwrites all DirectX files on a Windows computer with fresh ones, getting rid of damaged or corrupted ones, which is the ambition of a reinstallation. To repair install DirectX on a Windows computer using the DirectX End-User Runtime Web Installer, you need to:
- Go here, click on Download and follow the onscreen instructions to download the DirectX End-User Runtime Web Installer.
- Once the DirectX End-User Runtime Web Installer has been downloaded, navigate to where you saved it and run it.
- Follow the onscreen instructions, and the downloaded installer will unpack all of the DirectX End-User Runtime Web Installer‘s files and place them in a directory of your choosing.
- Navigate to the folder you had the downloaded installer unpack the DirectX End-User Runtime Web Installer‘s files to, locate a file named DXSETP.exe and double-click on it to run it.
- Follow the onscreen instructions and prompts to get through the wizard, at the end of which the DirectX on your computer will be successfully repaired/reinstalled.
Once the repair installation is done and dusted, you are free to delete the folder full of the DirectX End-User Runtime Web Installer’s files created by the installer you downloaded off Microsoft’s website.
Method 2: Roll back the version of DirectX you have and then update it
Another way you can basically achieve everything you do when you uninstall and then reinstall something, in the context of DirectX on a Windows computer, is to roll back the version of DirectX you have to an older version, and then update it to the latest available version. In order to do so, you need to:
- Press the Windows Logo key + R to open a Run dialog.
- Type regedit into the Run dialog and press Enter to launch the Registry Editor.
- In the left pane of the Registry Editor, navigate to the following directory:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft
- In the left pane of the Registry Editor, click on the DirectX sub-key under the Microsoft key to have its contents displayed in the right pane.
- In the right pane of the Registry Editor, locate a registry value titled Version and double-click on it to Modify it.
- Replace 4.09.00.0904 in the Value data: field with 4.08.00.0904 and click on OK. Doing so will roll back the version of DirectX you have on your computer to an older version, or at least that’s what Windows will believe has happened.
Note: The values described in this step are exclusive to Windows XP, Windows Vista and Windows 7. This method can also be used on newer versions of Windows, but the values will differ – all you have to do, though, is simply change the value for whatever version of DirectX you have to the value of an older version.
- Close the Registry Editor.
- Now, all you need to do is try to install DirectX – doing so will cause Windows to see that you apparently have an older version of DirectX on your computer, and Windows will install the latest available version for your computer to remedy the situation. This can be accomplished by running Windows Update or by running the DirectX End-User Runtime Web Installer as described in Method 1.