Windows System Administrator Interview Question, Network/System Administrator, DHCP, DNS, Active Directory, Servers, Firewalls, Linux

scans any 32/64-bits Windows module (exe, dll, ocx, sys, etc.)

Posted by: memon212 on: June 3, 2009

Here is the very good utility for system errror related named as Dependency Walker

Dependency Walker is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures.

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.

check required DLL for executable

All you need to do is run depends.exe and then load an executable (EXE) file that you want to check what file is required to run it. Within a few seconds Dependency Walker will show you the required files. As you can see on the image above, I loaded RRT.exe (Remove Restriction Tool) unto Dependency Walker and it shows me that KERNEL32.DLL and MSVBVM60.DLL is required. Every Windows has kernel32.dll file so we don’t need to worry on the availability of that file. As for msvbvm60.dll, I can place a working copy of that DLL file at the same folder as where the RRT.exe is and it will automatically load the DLL file if it can’t find one in system32 folder.

Download

Dependency Walker

Leave a Reply