DxDiag logoShort for DirectX diagnostics, DxDiag is a Microsoft tool included with DirectX that allow you to view system information and DirectX information relating to your video card and sound card. This tool is helpful when needing to troubleshoot driver related issues being encountered by DirectX. Below, is a picture of the DirectX Diagnostic Tool window. As can be seen in the picture, DxDiag has system, display, sound, and input information tabs and gives you access to save all DirectX information to a text file by clicking the Save All Information button at the bottom of the window.

Dxdiag dialog box

How to run DxDiag

To run DxDiag, click Start, and in the run line, type dxdiag and press enter.

DxiagD commands

The dxdiag also has a few command options, as shown in the below syntax.

dxdiag [/dontskip] [/whql:on] [/whql:off] [/64bit] [/x outfile] [/t outfile]

Option Description
/x outfile Silently save XML information to <outfile> and quit.
/t outfile Silently save txt information to <outfile> and quit.
/dontskip Don't bypass any diagnostics due to previous crashes in DxDiag.
/whql:on Allow dxdiag to check for WHQL digital signatures.
/whql:off Do not allow dxdiag to check for WHQL digital signatures.
Note: Checking for WHQL digital signatures may connect via Internet to update WHQL certificates.
/64bit Launch 64-bit dxdiag.

Example of dxdiag command

dxdiag /t dxdiag_output.txt

In the above example, DxDiag would save the output into the Users folder.

Additional information

Also see: DirectX