97

Does anyone know how to get ahold of windbg without having to download the entire 620MB WDK ISO?

All I can find on the net to download the debugger is this link, which says you have to get the whole WDK: http://www.microsoft.com/whdc/devtools/debugging/default.mspx.

3

14 Answers 14

52

Actually, Microsoft has now made the Debugging Tools downloadable separately from the SDK. Look for the section "Standalone Debugging Tools for Windows (WinDbg)" about mid-page:

5
  • 5
    As eightx2 clarifies below, the web installer for the Windows SDK has the option to install the Debugging Tools for Windows without downloading the rest. Oct 27, 2013 at 15:21
  • 9
    This isn't valid anymore, as the link now redirects to the WDK download site. The windbg MSI package hovewer can be downloaded directly, as @Wu Yongzheng pointed out.
    – abaumg
    Aug 1, 2014 at 10:31
  • 2
    The WDK download site now has a section for downloading the Debugging Tools standalone - msdn.microsoft.com/en-us/windows/hardware/hh852365
    – Dave Black
    Mar 20, 2015 at 18:22
  • currently webpage with link, says it's for win 8.1 but works fine on win7. it says it requires 1.2GB but click through a few windows and it has an option to install just windbg about 250MB. The file, at least as of writing, is sdksetup.exe
    – barlop
    Oct 6, 2015 at 7:08
  • 1
    This is once again invalid, and now the WDK is again the only way to legit download it again. Jul 25, 2018 at 20:51
52

Officially, you can't. But someone's been extracting them for your convenience and hosting them.

Note: You can get the older releases on the official site, but the latest ones are part of the WDK.

3
  • 1
    It seems the link does not provide WinDbg downloads any more. Jan 5, 2014 at 15:11
  • This was a decision made by Microsoft a couple yrs ago. After receiving a lot of complaints about having the Debugging Tools no longer available as standalone, they decided to add it back. See my answer above for the OP's question for the location of the download.
    – Dave Black
    Feb 28, 2014 at 16:33
  • 2
    They're still on that site, but at codemachine.com/downloads.html as posted by Addy below.
    – EM0
    Aug 10, 2016 at 10:01
47

If you run winsdk_web.exe from the following link, you can selectively install windbg or extract windbg installer msi.

Microsoft Windows SDK for Windows 7 and .NET Framework 4 http://go.microsoft.com/fwlink/?LinkID=191420

Debugging tools for Windows

6
  • 1
    Also, just to be explicit, when you run the installer suggested by Sukesh, you only need to select 'Debugging Tools for Windows'. It'll be installed with that! (I've added an image to Sukesh's answer (hope you don't mind), to help others).
    – Andy
    Sep 29, 2012 at 9:59
  • 19
    Tried this just now on Win 7 64bit, and the installer fails.
    – Kylotan
    Feb 20, 2013 at 23:57
  • 2
    Tried this just now on Win 7 32bit, and I can't find windbg.exe. Someone also had this problem. stackoverflow.com/questions/14020077/… Oct 18, 2013 at 6:23
  • 1
    This solution works ok for win xp but NOT on win 7 64bit. eightx2 or Dave Black's solution above works fine for windows 7 64bit.
    – RoundPi
    Feb 19, 2014 at 15:01
  • 1
    I installed all the stuff, yet the windbg.exe is nowhere to be found. Anyone knows where the executable is? Apr 22, 2014 at 16:58
32

The standalone MSI file of windbg can be downloaded from here. The version is 6.12.0002.633 (x86). http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi

4
  • 2
    Does exist a 64bit version of that? Does it really matter?
    – m3nda
    Aug 19, 2015 at 7:57
  • 1
    @WuYongzheng, Where did you find this from? Which page is it linked from?
    – Pacerier
    Nov 20, 2015 at 3:07
  • I found it from a non-microsoft website. Forget which one. Nov 20, 2015 at 3:12
  • Work on Windows 7 64bit. The link is suspicious tho.
    – Mr Rubix
    Jun 22, 2017 at 19:52
28

If you're on Windows 7 x64, the solution provided by Sukesh doesn't work.

I managed to install the debugging tools by downloading the Windows SDK installer for Windows 8 (here), and then choosing "Debugging Tools for Windows" in the installer:

screenshot

2
  • Dave Black provided a more up to date answer which I've marked as the accepted answer. The page he links to contains your link (and other information). Aug 13, 2013 at 1:56
  • Thanks this worked on my Windows 7. The windows 7 one was not getting installed.
    – zar
    Jul 16, 2014 at 18:05
18

http://codemachine.com/downloads.html

Has all the individual msi files

11

Try the MSDN archive link at http://archive.msdn.microsoft.com/debugtoolswindows/Release/ProjectReleases.aspx?ReleaseId=4912. It has the WinDbg MSI for both 32- and 64-bit (Version 6.12.2.633).

0
11

I found both, x64 and x86 version 6.12.0002.633 here:

http://rxwen.blogspot.de/2010/04/standalone-windbg-v6120002633.html

0
9

The saga continues with the Windows 10 version. I had to install Win Debug Tools on clean Windows 10 OS with Visual Studio 2015.

To make a long story short, just follow the instructions in the link provided by David Black. After downloading the files, instead of running the SDK installer, browse to the installers directory and execute the msi files directly.

I wonder how many man hours have been lost through the last decade because of MS sloppiness in regards to WDK/SDK installation?

6

You can also get it from Chocolatey:

https://chocolatey.org/packages/windbg

4

For Windows 7 x86 you can also download the ISO: http://www.microsoft.com/en-us/download/confirmation.aspx?id=8442

And run \Setup\WinSDKDebuggingTools\dbg_x86.msi

WinDbg.exe will then be installed (default location) to: C:\Program Files (x86)\Debugging Tools for Windows (x86)

1
  • I was looking for a way to avoid downloading the large ISO when I only want to install a small part of it Jun 9, 2014 at 23:36
4

I was looking for the same thing for a quick operation and found this question. I needed both 32-bit and 64-bit versions.

This is an older version but the links are from the Microsoft servers, it should be safe. The link for 32-bit version is also in a previous answer but the version number i get on the install is different, maybe the same link is updated with a newer version since 2013.

Cheksums are generated both locally and on VirusTotal, they match.

Debugging Tools for Windows (x64) (6.12.2.633)(VirusTotal Scan): http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools_amd64/dbg_amd64.msi (SHA-256:2e491bb98850abf9b9d2627185b57e048ba9b2410d68303698ac68c2daad9e5d)

Debugging Tools for Windows (x86) (6.12.2.633)(VirusTotal Scan): http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi (SHA-256:5a0f43281e51405408a043e2f94dd51782ef29671307d3538cfdff5b0e69d115)

I tested the 64 bit debugger with a 64 bit program that was compiled some years ago (~2012) and it works. Test is done on Windows 10 Pro 64 bit (v2004 Build 19041.207).

2

WinDbg is now available separately via MS Store. It's called "Preview" but I tested it to analyse some memory dumps and it works fine.

If you're on Windows 10 - launch MS Store, type "WinDbg" in the search box and voi-la - you have it. The download is approx. 100mb. It will downlaod required symbols automatically.

1
  • 1
    This seems unusable to me at the moment; buggy.
    – Elliot
    Jun 6, 2019 at 13:21
0

This Microsoft link allows you to select the SDK. When you run the install and only select Windows debugging tools it will only download 288mb and install the tool as stand alone.

https://developer.microsoft.com/en-us/windows/hardware/download-windbg

Not the answer you're looking for? Browse other questions tagged or ask your own question.