sodcalculator

10 Tech How-To

How to Reinstall DirectX on Windows (Step-by-Step)

Guide 10-46566 · Updated · Step by step

Reinstalling DirectX on a Windows computer can fix missing DLL errors, broken game launches, and graphics glitches. This guide walks you through the clean removal of the current DirectX runtime files and the reinstallation of the latest supported version, without touching your graphics drivers or Windows system files.

What You’ll Need

  • An administrator account on the Windows PC
  • A stable internet connection
  • Your Windows version (10, 11, or older) and whether it’s 32-bit or 64-bit
  • A temporary folder to store downloaded files
  • Optional: a system restore point or backup of important files

Step-by-Step

  1. Check your current DirectX version. Press Win + R, type dxdiag, and press Enter. In the System tab, look at the “DirectX Version” line at the bottom. Write this down. This tells you what you’re working with before you change anything.
  2. Determine your Windows architecture. Press Win + I to open Settings, go to System → About, and look for “System type” (64-bit or 32-bit). You need this to download the correct installer.
  3. Create a restore point (recommended). In the Start menu, type “Create a restore point” and open it. Select your system drive (usually C:), click “Create,” give it a name like “Before DirectX reinstall,” and wait for it to finish. This lets you roll back if something goes wrong.
  4. Download the DirectX End-User Runtime Web Installer. Go to the official Microsoft Download Center and search for “DirectX End-User Runtime Web Installer.” Download the file (dxwebsetup.exe). This is the official Microsoft tool that installs the latest DirectX 9.0c runtime files that many games still require.
  5. Run the web installer. Double-click dxwebsetup.exe. Accept the license agreement. The installer will check your system and download any missing or outdated DirectX runtime components. It does not install a “newer” DirectX 12 — that’s built into Windows — but it refreshes the older runtime libraries that games depend on.
  6. Restart your computer. After the installer finishes, reboot. This ensures all DLL files are properly registered and loaded.
  7. Verify the installation. Press Win + R, type dxdiag, and press Enter. Check that the DirectX Version line still shows the same version as before (e.g., DirectX 12). If it shows a lower number, something went wrong — see Troubleshooting below.
  8. Test your game or application. Launch the program that was giving you errors. If it still fails, proceed to the Common Mistakes and Troubleshooting sections.

Common Mistakes

  • Downloading from unofficial sites. Many third-party sites offer “DirectX installers” that bundle adware or outdated files. Always use the Microsoft Download Center link.
  • Deleting DirectX from the system folder. Do not manually delete files from C:\Windows\System32 or C:\Windows\SysWOW64. DirectX is not a single program you can uninstall like a game; it’s a set of system DLLs. Manual deletion breaks Windows.
  • Using the wrong architecture installer. While the web installer handles both 32-bit and 64-bit automatically, if you downloaded a standalone redistributable, make sure it matches your system type.
  • Skipping the restart. The installer may not register all files until you reboot. If you skip this, errors can persist.
  • Confusing DirectX with graphics drivers. DirectX is a software layer; your GPU driver is separate. Reinstalling DirectX won’t fix a driver crash. If your issue is black screens or driver timeouts, update the GPU driver instead.

Tips

  • Run the installer as administrator. Right-click dxwebsetup.exe and choose “Run as administrator” to avoid permission errors.
  • Use the offline installer for slow connections. Microsoft also offers a full offline “DirectX End-User Runtime” package (directx_Jun2010_redist.exe). It’s larger but doesn’t need internet during installation. Download it on another machine if needed.
  • Keep Windows Update enabled. DirectX 12 and its updates come through Windows Update. If you’ve disabled updates, you’re missing security and compatibility fixes.
  • Check game-specific requirements. Some older games need DirectX 9.0c specifically. The web installer includes those files, so you don’t need to hunt for legacy versions.
  • Use dxdiag to test. The “Display” and “Sound” tabs in dxdiag have test buttons that stress DirectX features. Run those to confirm everything works.

Troubleshooting

DirectX version shows lower than before. This is rare. If dxdiag shows DirectX 11 on Windows 10/11, your GPU driver may not support DirectX 12. Update your graphics driver from the manufacturer’s website (NVIDIA, AMD, Intel).

Installer fails with an error code. Common codes like 0x80070005 mean access denied — run as administrator. Error 0x80070002 means a file is missing — restart and try again, or download the offline redistributable. If the web installer keeps failing, use the offline package.

Games still crash after reinstall. The problem may not be DirectX. Check the game’s error log, verify game files (Steam/Epic have this option), and test with a different game. If only one game fails, it’s likely that game’s files or settings.

dxdiag reports “No problems found” but games won’t launch. This can point to a corrupted game installation or missing Visual C++ Redistributables. Install the latest Visual C++ Redistributable packages from Microsoft.

You can’t find the web installer. Microsoft sometimes moves download links. Search for “DirectX End-User Runtime Web Installer” on the Microsoft official site. Avoid any URL that isn’t microsoft.com.

System restore doesn’t work. If you need to undo changes and restore points are missing, boot into Safe Mode and run System Restore from there. If that fails, you may need to use the Windows Recovery Environment (WinRE) to reinstall Windows without losing files.

Frequently Asked Questions

Q: Is DirectX 12 the same as DirectX 12 Ultimate?
A: No. DirectX 12 Ultimate is a feature set within DirectX 12 that adds ray tracing, mesh shaders, and variable rate shading. It’s available only on compatible GPUs. Running dxdiag shows the base version, not Ultimate.

Q: Can I uninstall DirectX completely and start fresh?
A: No. DirectX is integrated into Windows and cannot be fully removed without reinstalling the OS. The “reinstall” process is really a repair/refresh of the runtime files.

Q: Will reinstalling DirectX affect my saved games or settings?
A: No. DirectX is a system component; it doesn’t store game saves or user preferences. Your games’ data is untouched.

Q: Why does the installer say “DirectX is already up to date”?
A: That’s normal. The web installer checks for missing or outdated runtime files. If none are found, it reports up to date. This doesn’t mean your problem isn’t DirectX-related; it might be a specific DLL that’s corrupted.

Q: Do I need DirectX 9 if I have DirectX 12?
A: Yes, for older games. DirectX 12 does not include the legacy DirectX 9 DLLs. The web installer adds those, which is why most games work after running it.

Q: Is it safe to download DirectX from third-party sites?
A: No. Only use Microsoft’s official download page. Third-party sites often bundle malware or outdated files that can break your system.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →