DirectX is required to play games. Whether it’s missing or corrupted, here’s a simple way to download and install DirectX 12 in Windows 11 & 10.
By default, DirectX 12 is pre-installed in Windows 11 & 10 and is automatically updated via Windows Updates. Since the latest games require DirectX, some installers will also try to install or update it so you can play without any hiccups. In fact, Windows provides a simple way to find which version of DirectX is installed on your computer.
While DirectX is pre-installed and works flawlessly in most cases, there might be situations where it is missing or corrupted. For example, while troubleshooting one of my friends’ computers recently, I found that some DirectX 12 files were corrupted after a sudden crash. This caused games to fail to launch or throw weird errors.
One of the most common DirectX errors, when it is corrupted, is the dsetup.dll error. In the worst-case scenario, the entire system might frequently crash, causing data loss. Thankfully, the fix is pretty easy. All you have to do is download and install the DirectX 12. In this quick and easy guide, I will show you how to do it in simple and easy steps. Let’s get started.
Before You Start
Unlike regular programs, Microsoft doesn’t provide any standalone DirectX 12 installer. Instead, you have to download the DirectX Web Installer, which will download the latest version of DirectX supported by your system. In Windows 11 & 10, the latest supported version is DirectX 12.
Download and Install DirectX 12 in Windows 11 & 10
- Click this link to open the DirectX download page.
- Select the language from the dropdown menu.
- Click the “Download” button.
- After downloading, open the File Explorer and find the file.
- Double-click the downloaded file.
- Follow the on-screen instructions to install DirectX 12.
- Once done, restart your computer.
- That is it. With that, you’ve installed DirectX 12 in Windows 11 & 10.
Detailed Steps (With Screenshots)
First, head over to the official DirectX download page, select the language from the dropdown menu, and click the “Download” button.

After downloading the DirectX installer, open File Explorer (Windows key + E), locate the installer file (usually in the Downloads folder), and double-click it. This action will start the installer.

In the installer window, select the “I accept the agreement” option and click the “Next” button.

Sometimes, the installer tries to install adware, even though it is an official installer. Make sure to “Uncheck” the “Install the Bing Bar” checkbox or any other adware option and click “Next“.

The installer will now show all the components it is going to download and their sizes. Click the “Next” button to continue.

As soon as you click the button, the installer will download and install the latest version of DirectX, in this case, DirectX 12.
Once that is done, reboot your computer, and you are done. With that, you’ve installed DirectX 12 in Windows 11 and 10.
If you have any questions or need help, comment below. I’ll be happy to assist.