1. #1
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,563
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Register Windbg for dump files (File Associations)


    SET WINDBG FILE ASSOCIATIONS


    These simple commands will set Windbg as the default app to open files with file extensions .DMP, .HDMP, .MDMP, .KDMP and .WEW.

    You can then double-click on a dump file and Windbg will start.

    Bring up an Admin CMD prompt; enter these 2 line commands:
    Code:
    cd\Program Files (x86)\Windows Kits\8.0\Debuggers\x64
    
    windbg.exe -IA
    * Change line 1 to the folder containing your installed Windbg
    * IA is case sensative

    CMD Screen + Result of line 2 (Windbg will open):


    - The above is from a Windows 7 SP1 x64 system
    - Windbg version = Windows 8.0 (6.2.9200) x64



    Set Windbg to "Run as Admin" - RIGHT-click on Windbg.exe via Windows Explorer -

    Last edited by jcgriff2; 09-04-2017 at 06:06 PM.
    blueelvis, gandolf, zigzag3143 and 7 others say thanks for this.

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,563
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    re: Register Windbg for dump files (File Associations)

    LilBambi says thanks for this.

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015

  3. #3
    x BlueRobot's Avatar
    Join Date
    May 2013
    Location
    Minkowski Space
    Posts
    1,749

    re: Register Windbg for dump files (File Associations)

    I would love to have access to the Private symbols.
    Machines Can Think

    Oxygen, Nature's paradox.

  4. #4
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,563
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Re: Register Windbg for dump files (File Associations)

    For additional Program Default options for Windbg, please see - http://www.sysnative.com/forums/bsod...ump-files.html
    usasma and LilBambi say thanks for this.

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015

  5. #5
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,563
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Re: Register Windbg for dump files (File Associations)

    Add Windbg (kd>) Commands to Program Default for Dump Files

    Most of us have Windbg set up as the default program for dump files - Register Windbg for dump files (File Associations)

    Did you know that you can also add kd commands to run by default as well?

    Simply setting up Windbg as the default program leaves Windbg at this point after double-clicking on a dump file -- waiting for you to enter additional commands at the kd> line such as !analyze -v -
    Code:
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************
    
    Use !analyze -v to get detailed debugging information.
    
    BugCheck 50, {fffff80011b0e74d, 8, fffff80011b0e74d, 2}
    
    Could not read faulting driver name
    Probably caused by : ntkrnlmp.exe ( nt! ?? ::FNODOBFM::`string'+43346 )
    
    Followup: MachineOwner
    ---------
    I changed my default set up to include these commands -
    Code:
    !analyze -v;r;kv;lmtn;lmtsmn;.bugcheck
    So, when I double-click on a dump file, all of the basic commands that I like to run do so without me having to enter them at the kd> command line.

    Try it out!

    Back up your registry first (I opted to create a system restore point).

    Maneuver to this registry key and add your default Windbg commands -

    Code:
    HKLM\SOFTWARE\Classes\WinDbg.DumpFile.1\shell\Open\command
    The (Default) should look something like this (by default):
    Code:
    "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe" -z "%1"
    I added the kd commands that I mentioned above:
    Code:
    "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\windbg.exe" -z "%1" -c "!analyze -v;r;kv;lmtn;lmtsmn;.bugcheck"
    Double-clicking on a dump file now runs all of the commands in RED by default.

    Please note that I made these changes yesterday for the first time, so it is far from 100% tested.

    Regards. . .

    John

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015

  6. #6
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    1,721
    • specs System Specs
      • Motherboard:
        ASROCK FM2A88M Pro3+
      • CPU:
        AMD APU A10-7800 (65W/45W) Socket FM2+ 28nm Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        See CPU: Radeon R7 720MHz
      • Sound Card:
        RealTek ALC662 (See motherboard)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum SF-450P14PE
      • Case:
        Sharkoon VG4-S
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: Register Windbg for dump files (File Associations)

    I tried this right now and I found IA is case sensitive.
    I.e., windbg -ia won't work, whereas windbg -IA will work.

    Default folders: C:\Program Files (x86)\Windows Kits\10\Debuggers\x86 and C:\Program Files (x86)\Windows Kits\10\Debuggers\x64.

    Therefore, if you installed windbg in its default folders, and after you opened an elevated command prompt, the command could be:
    "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg" -IA
    Tried on OS: Win10 STD x64 v1703 b15063.540 (i.e. updated)

    Win7 x86 (professional):
    Default folder: C:\Program Files\Windows Kits\8.1\Debuggers\x86
    Command: "C:\Program Files\Windows Kits\8.1\Debuggers\x86\windbg" -IA
    Last edited by xilolee; 11-01-2017 at 04:12 AM.
    jcgriff2 says thanks for this.

  7. #7
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,563
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Re: Register Windbg for dump files (File Associations)

    Thanks - I edited the tutorial, adding the instruction that "IA" is case sensitive.

    John

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015

Similar Threads

  1. [SOLVED] Access is Denied with Kernel Memory Dump [WinDbg]
    By x BlueRobot in forum BSOD, Crashes, Kernel Debugging
    Replies: 5
    Last Post: 11-08-2013, 09:00 PM
  2. [BATCH/VBS] List File Associations - ASSOC CMD
    By jcgriff2 in forum Windows Tips & Tricks
    Replies: 9
    Last Post: 10-10-2013, 12:41 AM
  3. [BATCH/ VBS] [BATCH/VBS] List File Associations - ASSOC CMD
    By jcgriff2 in forum Programming
    Replies: 5
    Last Post: 09-15-2013, 10:24 PM
  4. Windbg: Processes and Threads in mini dump?????
    By Shintaro in forum BSOD, Crashes, Kernel Debugging
    Replies: 4
    Last Post: 06-14-2012, 11:52 AM

Log in

Log in