Open DXDiag from the Windows Run Box
Press Windows + R to open the Run box. Type
dxdiag and press Enter. DXDiag opens immediately. This is the fastest and most reliable method to open DXDiag on any Windows PC.How to Use the Run Box to Open DXDiag
- Hold the Windows key and press R. The Run dialog opens.
- Type
dxdiagin the Open field. - Press Enter or click OK.
Exact command to type:
dxdiag
The DirectX Diagnostic Tool opens within 1 to 3 seconds. If a User Account Control prompt appears asking for permission, click Yes to proceed.
The Run Box Command History
Windows saves all commands you have previously typed in the Run box. The next time you open the Run box with Windows + R, you can press the down arrow key on your keyboard to scroll through previous commands. Select dxdiag from the list and press Enter — no retyping required.
To clear your Run box history, open the Registry Editor (regedit), navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU, and delete the entries you want to remove.
Other Useful Run Box Commands for PC Diagnostics
| Command | Opens |
|---|---|
dxdiag | DirectX Diagnostic Tool |
msinfo32 | System Information (full hardware inventory) |
devmgmt.msc | Device Manager |
perfmon | Performance Monitor |
eventvwr | Event Viewer (Windows error logs) |
mrt | Malicious Software Removal Tool |