Profiling x86 executable with Dependency Walker hangs on Windows 7 x64

Updated instruction based on @Stone Free’s comments

The download link you need has changed to:

https://www.microsoft.com/en-us/download/details.aspx?id=42273

Go down to the 2. Install WDK 10 section and select the download:

Locate and run the Wdk setup (wdksetup.exe) from stage 2, then choose the download option rather than install.

Once completed locate and run DownloadLocation\Windows Kits\10\WDK\Installers>”Windows Driver Kit-x86_en-us.msi”

Then you will find Dependency Walker at:

  • C:\Program Files (x86)\Windows Kits\10\Tools\x64\depends.exe for the 64 bit version
  • C:\Program Files (x86)\Windows Kits\10\Tools\x86\depends.exe for the 32 bit version

Which is Dependency Walker version 2.2.10011 built 2015-10-29
x86 version

A handy tool is to use https://github.com/juntalis/depends-launcher which is a simple launcher for Dependency Walker that determines the platform (x86|x64|ia64) of an windows image (dll, exe, etc) and launches the appropriate version of depends.exe to view its dependencies. It’s main purpose is for use in a context menu entry to easily view an image’s dependencies.

Leave a Comment