Skip to main content

Using WinDbg to Troubleshoot Windows System Errors

Installing the WinDbg Preview

  1. Open the Microsoft Store and search for WinDbg Preview.
    1. Alternatively, click here to view WinDbg Preview on the Microsoft Store Website: https://www.microsoft.com/store/productId/9PGJGD53TN86
    2. Click Get.
    3. If prompted, click Open the Microsoft Store.
  2. Click the WinDbg Preview search result when it appears.

    image-1649654414901.png

  3. Click the Get or Install button.
    1. If prompted to Sign In, click Cancel or Close.

Opening a Dump File in WinDbg

  1. With the WinDbg Preview app open, click File then click Open dump file.
  2. On the right-hand side, click Browse.
  3. Find your Dump File and click Open.

    image-1649687526711.png

  4. Under the Browse button, click Open.
  5. The Dump File will now be loaded into WinDbg and the appropriate application modules will be downloaded.

Default Dump File Locations

Generally Dump files can be found in the C:\Windows\Minidump or C:\Windows\System32 directories.
Searching the C:\Windows directory for *.dmp can reveal the file locations.

Analyzing Dump Files

  1. With a Dump file open in WinDbg, click the !analyze -v link or type !analyze -v into the command box and press Enter.

    image-1649688383407.png

  2. Wait for the modules to download and the processing to finish. From here you can read through the Dump record. Researching the Process Name and Bug Check Code could result in a solution or fix for the crash.

    image-1649688820070.png