Share via

DirectX error after resetting PC

Tu Tran 0 Reputation points
2026-06-04T19:16:59.8766667+00:00

I used Reset this PC function on window 11, download window from cloud. Now I can't open dxdiag:

User's image

But when I open the folder that file still there, I tried reinstall with dxwebsetup but it failed:
User's image

I try sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth but report nothing problem.
Please help me.

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

2 answers

Sort by: Most helpful
  1. Ivan B 113.7K Reputation points Independent Advisor
    2026-06-04T19:49:36.12+00:00

    Hi ,

    Search for msinfo32.exe in the search bar, take a screenshot, and post it here so we can see the correct laptop model or desktop configuration.

    What GPU do you have?

    Open the command prompt (admin) and run the commands: sfc /scannow and dism /online /cleanup-image /restorehealth, wait for the process to finish and restart the computer.

    Install Directx: https://www.microsoft.com/pt-br/download/details.aspx?id=35

    It's likely that the video driver isn't loaded correctly.

    Thanks

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-04T19:17:16.2333333+00:00

    On Windows 11, DirectX is part of the operating system and is serviced through Windows itself, not by reinstalling with the legacy web installer. After a reset with “Cloud download,” the correct DirectX version should already be present.

    Because sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth report no issues, and the DirectX web setup fails, the most reliable way to repair a broken DirectX component such as DXDIAGN.DLL on Windows 11 is to repair or reinstall Windows using the built‑in recovery options rather than trying to manually replace DirectX files.

    Recommended sequence:

    1. Ensure all Windows updates are installed using Windows Update (DirectX is updated this way on Windows 11).
    2. If problems persist, use the Windows recovery options:
      • First try Reinstall Windows using Windows Update if available.
      • If that does not resolve the issue and other system components are also affected, use Reset this PC with Keep my files. This reinstalls Windows while keeping personal files but removes apps and settings.
      • If system corruption is more severe, use Remove everything to perform a full reset, which reinstalls Windows and removes all personal files, apps, and settings.

    Before doing any reset, back up important files and, if the device is encrypted, ensure the BitLocker recovery key is available.

    After the repair/reset completes, DirectX and dxdiag should function normally again because they are part of the fresh Windows installation.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.