On Windows 11, do not use the downloaded standalone installer for the current DirectX version; install all pending updates through Settings > Windows Update, then restart the PC. ^1^
Check the installed version
- Select Start, type dxdiag, and open dxdiag.
- If asked to check whether drivers are digitally signed, select Yes.
- On the System tab, find DirectX Version under System Information.
Windows 11 already includes its current DirectX version, and updates are delivered through Windows Update. ^2^
If a game reports a missing DirectX 9 DLL
Only use the DirectX End-User Runtime when a specific older game reports a missing file such as d3dx9_35.dll. This package adds optional legacy components; it does not replace or downgrade the DirectX version built into Windows 11. Use the official runtime linked under the Windows XP/Server 2003 section of Microsoft’s DirectX installation article. ^1^
Do not download individual DLL files from third-party websites.
If Windows Update or DirectX components are failing
Since the downloaded installer already fails, repair Windows components instead of downloading it again:
- Install any available updates in Settings > Windows Update, and restart.
- Search for Command Prompt, right-click it, and select Run as administrator.
- Run these commands in order:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
- Wait until SFC reaches 100%, restart Windows, and run the affected game or application again.
DISM repairs the Windows component image, and SFC checks and replaces damaged protected system files. ^3^
Remote installation cannot be performed through this forum. If the problem remains, provide:
- The complete installer error message and error code
- The DirectX Version shown by
dxdiag
- The name of the game or application requesting DirectX
- Whether Windows Update completes successfully
In dxdiag, Save All Information... can create a text report for troubleshooting, but remove personal or device-identifying information before posting it.
References
- How to install the latest version of DirectX | Microsoft Support
- Which version of DirectX is on your PC? | Microsoft Support
- Using System File Checker in Windows | Microsoft Support