Save DLL Dependency with Process Explorer on Windows 7

Q

How to save the DLL dependency tree to a file with Process Explorer on Windows 7? 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 in Process Explorer, you can same the DLL dependency tree to file using these steps:

1. Double click on C:\fyicenter\ProcessExplorer\procexp.exe to start Process Explorer. You will all processes displayed.

2. Locate the Firefox process "firefox.exe".

3. Right-mouse click on "firefox.exe" and select "Launch Depends" You will see the DLL dependency tree of Firefox process.

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 
                         Media Center (32-bit)
OS Version:              6.01.7601 Service Pack 1
Processor:               x86 Family 6 Model 42 Stepping 7, GenuineIntel, 
                         ~2491MHz
Number of Processors:    4, Mask: 0x0000000F
...

********************************| 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\API-MS-WIN-DOWNLEVEL-ADVAPI32-L1-1-0.DLL
   [F ] c:\windows\system32\API-MS-WIN-DOWNLEVEL-NORMALIZ-L1-1-0.DLL
   [F ] c:\windows\system32\API-MS-WIN-DOWNLEVEL-OLE32-L1-1-0.DLL
   [F ] c:\windows\system32\API-MS-WIN-DOWNLEVEL-SHLWAPI-L1-1-0.DLL
   [F ] c:\windows\system32\API-MS-WIN-DOWNLEVEL-USER32-L1-1-0.DLL
   [F ] c:\windows\system32\API-MS-WIN-DOWNLEVEL-VERSION-L1-1-0.DLL
   [F ] c:\windows\system32\CFGMGR32.DLL
   [F ] c:\windows\system32\CLBCATQ.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\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\PROFAPI.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\USERENV.DLL
   [F ] c:\windows\system32\USP10.DLL
   [F ] c:\windows\system32\WININET.DLL
   [F ] c:\windows\system32\WINTRUST.DLL
   [F ] c:\windows\system32\WLDAP32.DLL
   [F ] c:\windows\system32\WS2_32.DLL
The application directory
   [  ] C:\Program Files\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\Mozilla Firefox\
The system's "PATH" environment variable directories
   [  ] C:\local\Perl\bin\
   [  ] 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                   
*                                                                     
**********************************************************************

[   ] c:\program files\mozilla firefox\FIREFOX.EXE
  [   ] c:\windows\system32\KERNEL32.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-RTLSUPPORT-L1-1-0.DLL
    [   ] c:\windows\system32\NTDLL.DLL
    [   ] c:\windows\system32\KERNELBASE.DLL
      [ ^ ] c:\windows\system32\NTDLL.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-PROCESSTHREADS-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-HEAP-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-MEMORY-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-FILE-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-IO-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-THREADPOOL-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-LIBRARYLOADER-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-NAMEDPIPE-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-MISC-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-SYSINFO-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-LOCALIZATION-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-STRING-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-DEBUG-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-ERRORHANDLING-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-FIBERS-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-UTIL-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-CORE-PROFILE-L1-1-0.DLL
    [   ] c:\windows\system32\API-MS-WIN-SECURITY-BASE-L1-1-0.DLL
    [F^ ] c:\windows\system32\NTDLL.DLL
  [D  ] c:\program files\mozilla firefox\MOZGLUE.DLL
    [ ^ ] c:\windows\system32\KERNEL32.DLL
      [F^ ] c:\windows\system32\NTDLL.DLL
    [   ] c:\windows\system32\VERSION.DLL
      [ ^ ] c:\windows\system32\KERNEL32.DLL
      [   ] c:\windows\system32\MSVCRT.DLL
        [ ^ ] c:\windows\system32\KERNELBASE.DLL
        [ ^ ] c:\windows\system32\NTDLL.DLL
        [   ] c:\windows\system32\API-MS-WIN-CORE-CONSOLE-L1-1-0.DLL
        [   ] c:\windows\system32\API-MS-WIN-CORE-DATETIME-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-DEBUG-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-ERRORHANDLING-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-FIBERS-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-FILE-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-HANDLE-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-HEAP-L1-1-0.DLL
        [   ] c:\windows\system32\API-MS-WIN-CORE-INTERLOCKED-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-LOCALIZATION-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-LIBRARYLOADER-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-MEMORY-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-MISC-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-NAMEDPIPE-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-PROCESSENVIRONMENT-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-PROCESSTHREADS-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-PROFILE-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-STRING-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-SYNCH-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-SYSINFO-L1-1-0.DLL
        [ ^ ] c:\windows\system32\API-MS-WIN-CORE-UTIL-L1-1-0.DLL
      [ ^ ] c:\windows\system32\NTDLL.DLL
    [   ] c:\program files\mozilla firefox\MSVCR120.DLL
      [ ^ ] c:\windows\system32\KERNEL32.DLL
        [F^ ] c:\windows\system32\NTDLL.DLL
    [   ] c:\program files\mozilla firefox\MSVCP120.DLL
      [ ^ ] c:\program files\mozilla firefox\MSVCR120.DLL
      [ ^ ] c:\windows\system32\KERNEL32.DLL
        [F^ ] c:\windows\system32\NTDLL.DLL

...

 

Process Explorer on Windows 7

⇒⇒Windows 7 Processes Tutorials

2016-07-30, 1516👍, 0💬