Save DLL Dependency with Dependency Walker on Windows 8

Q

How to save the DLL dependency tree to a file with Dependency Walker on Windows 8? I want to keep a copy of the DLL dependency list of Firefox.

✍: FYIcenter.com

A

When you are viewing the DLL library dependency tree with Dependency Walker, you can same the DLL dependency tree to file using these steps:

1. Double click on C:\fyicenter\ProcessExplorer\depends.exe to start Dependency Walker.

2. Click "File > Open" menu to open the program you want to inspect, for example, C:\Program Files (x86)\Mozilla Firefox\firefox.exe

4. Click menu "File > Save as" and select "Text (*.txt)" as the "Save as type".

5. Locate folder and enter file name to save data to C:\fyicenter\process_exeplorer_firefox_dependencies.txt.

4. Open the file in notepad. You will see something like:

*****************************| System Information |*****************************
Dependency Walker:       2.2.6000 (32-bit)
Operating System:        Microsoft Windows NT/2000/XP/2003/Vista based Home (64-bit)
OS Version:              6.02.9200
Processor:               Intel64 Family 6 Model 58 Stepping 9, GenuineIntel, ~2494MHz
Number of Processors:    4, Mask: 0x0000000F
Computer Name:           FYICENTER
....

********************************| Search Order |********************************
* Legend: F  File                     E  Error (path not valid)                *
********************************************************************************
Side-by-Side components (Windows 2000/XP/2003/Vista/+)
The system's "KnownDLLs" list
   [F ] c:\windows\system32\ADVAPI32.DLL
   [F ] c:\windows\system32\CFGMGR32.DLL
   [F ] c:\windows\system32\CLBCATQ.DLL
   [F ] c:\windows\system32\COMBASE.DLL
   [F ] c:\windows\system32\COMCTL32.DLL
   [F ] c:\windows\system32\COMDLG32.DLL
   [F ] c:\windows\system32\CRYPT32.DLL
   [F ] c:\windows\system32\DEVOBJ.DLL
   [F ] c:\windows\system32\DIFXAPI.DLL
   [F ] c:\windows\system32\GDI32.DLL
   [F ] c:\windows\system32\GDIPLUS.DLL
   [F ] c:\windows\system32\IERTUTIL.DLL
   [F ] c:\windows\system32\IMAGEHLP.DLL
   [F ] c:\windows\system32\IMM32.DLL
   [F ] c:\windows\system32\KERNEL32.DLL
   [F ] c:\windows\system32\KERNELBASE.DLL
   [F ] c:\windows\system32\LPK.DLL
   [F ] c:\windows\system32\MSASN1.DLL
   [F ] c:\windows\system32\MSCTF.DLL
   [F ] c:\windows\system32\MSVCRT.DLL
   [F ] c:\windows\system32\NORMALIZ.DLL
   [F ] c:\windows\system32\NSI.DLL
   [F ] c:\windows\system32\NTDLL.DLL
   [F ] c:\windows\system32\NTDLL.DLL
   [F ] c:\windows\system32\OLE32.DLL
   [F ] c:\windows\system32\OLEAUT32.DLL
   [F ] c:\windows\system32\PSAPI.DLL
   [F ] c:\windows\system32\RPCRT4.DLL
   [F ] c:\windows\system32\SECHOST.DLL
   [F ] c:\windows\system32\SETUPAPI.DLL
   [F ] c:\windows\system32\SHELL32.DLL
   [F ] c:\windows\system32\SHLWAPI.DLL
   [F ] c:\windows\system32\URLMON.DLL
   [F ] c:\windows\system32\USER32.DLL
   [F ] c:\windows\system32\WININET.DLL
   [F ] c:\windows\system32\WINTRUST.DLL
   [F ] c:\windows\system32\WLDAP32.DLL
   [F ] c:\windows\system32\WOW64.DLL
   [F ] c:\windows\system32\WOW64CPU.DLL
   [F ] c:\windows\system32\WOW64WIN.DLL
   [F ] c:\windows\system32\WS2_32.DLL
The application directory
   [  ] C:\Program Files (x86)\Mozilla Firefox\
The 32-bit system directory
   [  ] C:\Windows\system32\
The 16-bit system directory (Windows NT/2000/XP/2003/Vista/+)
   [  ] C:\Windows\system\
The system's root OS directory
   [  ] C:\Windows\
The application's registered "App Paths" directories
   [  ] C:\Program Files (x86)\Mozilla Firefox\
The system's "PATH" environment variable directories
   [  ] C:\Program Files (x86)\Intel\iCLS Client\
   [  ] C:\Program Files\Intel\iCLS Client\
   [  ] C:\Windows\system32\
   [  ] C:\Windows\
   [  ] C:\Windows\System32\Wbem\
   [  ] C:\Windows\System32\WindowsPowerShell\v1.0\
...

***************************| Module Dependency Tree |***************************
* Legend: F  Forwarded Module   ?  Missing Module        6  64-bit Module      *
*         D  Delay Load Module  !  Invalid Module                              *
*         *  Dynamic Module     E  Import/Export Mismatch or Load Failure      *
*                               ^  Duplicate Module                            *
********************************************************************************
[   ] FIREFOX.EXE
     [   ] KERNEL32.DLL
          [   ] API-MS-WIN-CORE-RTLSUPPORT-L1-2-0.DLL
          [   ] NTDLL.DLL
          [   ] KERNELBASE.DLL
               [ ^ ] NTDLL.DLL
               [D  ] EXT-MS-WIN-ADVAPI32-REGISTRY-L1-1-0.DLL
               [D  ] EXT-MS-WIN-ADVAPI32-EVENTINGCONTROLLER-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-APPCOMPAT-L1-1-0.DLL
               [D  ] EXT-MS-WIN-NTUSER-STRING-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-FILE-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-DATETIME-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-SIDEBYSIDE-L1-1-0.DLL
               [D  ] EXT-MS-WIN-MRMCORER-RESMANAGER-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-WINDOWSERRORREPORTING-L1-1-0.DLL
               [D  ] EXT-MS-WIN-GPAPI-GROUPPOLICY-L1-1-0.DLL
               [D  ] EXT-MS-WIN-NTDSAPI-ACTIVEDIRECTORYCLIENT-L1-1-0.DLL
               [D  ] EXT-MS-WIN-SHELL32-SHELLCOM-L1-1-0.DLL
               [D  ] EXT-MS-WIN-SHELL32-SHELLFOLDERS-L1-1-0.DLL
               [D  ] EXT-MS-WIN-ADVAPI32-NTMARTA-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-ERRORHANDLING-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNEL32-REGISTRY-L1-1-0.DLL
               [D  ] EXT-MS-WIN-KERNELBASE-PROCESSTHREAD-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-REGISTRY-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-HEAP-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-MEMORY-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-FILE-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-DELAYLOAD-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-IO-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-JOB-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-THREADPOOL-LEGACY-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-THREADPOOL-PRIVATE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-LIBRARYLOADER-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-NAMEDPIPE-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-DATETIME-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-SYSINFO-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-TIMEZONE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-LOCALIZATION-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-LOCALIZATION-PRIVATE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-STRING-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-DEBUG-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-FIBERS-L1-1-1.DLL
          [   ] API-MS-WIN-CORE-UTIL-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL
          [   ] API-MS-WIN-SECURITY-BASE-L1-2-0.DLL
          [   ] API-MS-WIN-CORE-COMM-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-WOW64-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-REALTIME-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-SYSTEMTOPOLOGY-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PROCESSTOPOLOGY-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-NAMESPACE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-FILE-L2-1-0.DLL
          [   ] API-MS-WIN-CORE-LOCALIZATION-L2-1-0.DLL
          [   ] API-MS-WIN-CORE-NORMALIZATION-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-SIDEBYSIDE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-APPCOMPAT-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-WINDOWSERRORREPORTING-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-CONSOLE-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-CONSOLE-L2-1-0.DLL
          [   ] API-MS-WIN-CORE-PSAPI-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PSAPI-ANSI-L1-1-0.DLL
          [   ] API-MS-WIN-CORE-PSAPI-OBSOLETE-L1-1-0.DLL
          [   ] API-MS-WIN-SECURITY-APPCONTAINER-L1-1-0.DLL
          [F^ ] NTDLL.DLL
     [D  ] MOZGLUE.DLL
          [ ^ ] KERNEL32.DLL
               [F^ ] NTDLL.DLL
          [   ] VERSION.DLL
               [ ^ ] KERNEL32.DLL
               [   ] MSVCRT.DLL
                    [ ^ ] NTDLL.DLL
                    [ ^ ] API-MS-WIN-CORE-CONSOLE-L1-1-0.DLL
                    [ ^ ] API-MS-WIN-CORE-DATETIME-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-DEBUG-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-FIBERS-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-FILE-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
                    [ ^ ] API-MS-WIN-CORE-HEAP-L1-2-0.DLL
                    [   ] API-MS-WIN-CORE-INTERLOCKED-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-LOCALIZATION-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-LIBRARYLOADER-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-MEMORY-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-NAMEDPIPE-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-PROCESSTHREADS-L1-1-1.DLL
                    [ ^ ] API-MS-WIN-CORE-PROFILE-L1-1-0.DLL
                    [ ^ ] API-MS-WIN-CORE-STRING-L1-1-0.DLL
                    [ ^ ] API-MS-WIN-CORE-SYNCH-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-SYSINFO-L1-2-0.DLL
                    [ ^ ] API-MS-WIN-CORE-UTIL-L1-1-0.DLL
                    [ ^ ] KERNELBASE.DLL
               [ ^ ] NTDLL.DLL
               [   ] API-MS-WIN-CORE-VERSION-L1-1-0.DLL
               [   ] API-MS-WIN-CORE-VERSION-PRIVATE-L1-1-0.DLL
               [   ] API-MS-WIN-CORE-VERSIONANSI-L1-1-0.DLL
               [ ^ ] KERNELBASE.DLL
          [   ] MSVCR120.DLL
               [ ^ ] KERNEL32.DLL
                    [F^ ] NTDLL.DLL
          [   ] MSVCP120.DLL
               [ ^ ] MSVCR120.DLL
               [ ^ ] KERNEL32.DLL
                    [F^ ] NTDLL.DLL
...

 

Windows Sysinternals ListDLLs on Windows 8

Program DLL Dependency with Dependency Walker on Windows 8

Dependency Walker on Windows 8

⇑⇑ Windows 8 Processes Tutorials

2016-12-29, 481👍, 0💬