うーいお

オレ様用技術メモBlog

Exe, DLLの依存関係の調査

Dependency Walker

以下からダウンロード。
(Version 2.2.6000)
http://www.dependencywalker.com/

最新版(Version v2.2.10011)はWindows Driver Kitに含まれている模様。
https://en.wikipedia.org/wiki/Dependency_Walker

The latest version v2.2.10011 is not available on dependencywalker.com website but is included in the Windows Driver Kit v10
 
Windows 10 用のキットとツールのダウンロード
https://msdn.microsoft.com/ja-jp/windows/hardware/dn913721.aspx


開いているファイルの調査

openfilesコマンドを使用。デフォルトで入ってます。

実行してみます。
C:\>openfiles
エラー: ログオンしているユーザーは管理者特権を持っていません。
ならば管理者権限で実行。
C:\>openfiles

情報: ローカルで開いたファイルを参照するには、システム グローバル フラグ
      'maintain objects list' を有効にする必要があります。
      詳細情報は、Openfiles /? を参照してください。


ローカルの共有ポイントをとおしてリモートで開いているファイル:
---------------------------------------------

情報: 開いている共有ファイルが見つかりませんでした。
下記コマンドを実行。
C:\>openfiles /local on

成功: システム グローバル フラグ 'maintain objects list' は有効になりました。
      システムを再起動すると、変更が有効になります。
再起動。そして再度実行。
C:\>openfiles

ローカルで開いているファイル:
---------------------

ID    プロセス名           開いているファイル (パス\実行可能ファイル)
===== ==================== ==================================================
8     taskhost.exe         C:\Windows\System32
120   taskhost.exe         C:\..\Local\Microsoft\Windows\WebCacheLock.dat
472   taskhost.exe         C:\Windows\System32\ja-JP\KernelBase.dll.mui
608   taskhost.exe         C:\Windows\System32\ja-JP\msutb.dll.mui
52    cmd.exe              C:\Windows\System32\ja-JP\cmd.exe.mui
8     conhost.exe          C:\Windows\System32
156   conhost.exe          C:\Windows\System32\ja-JP\msctf.dll.mui
164   conhost.exe          C:\Windows\Fonts\StaticCache.dat
64    openfiles.exe        C:\Windows\System32\ja-JP\openfiles.exe.mui


ローカルの共有ポイントをとおしてリモートで開いているファイル:
---------------------------------------------

情報: 開いている共有ファイルが見つかりませんでした。                                                 

Robocopy GUI Front-end


  • Rich Copy(MS)
  • Robocopy GUI(MS)
  • WinRobocopy

結論
コマンドラインを使えばいいじゃなーい 
ギャラリー
  • VMware ゲストのシャットダウン
  • Windows10 システムトレイアイコン
  • Windows10 システムトレイアイコン
  • Windows10 GIMP
  • Windows10 OneDrive
  • Windows10 OneDrive
  • Windows10 Firefox
  • Windows10 Firefox
  • Windows 10 Enterprise Technical Preview
  • ライブドアブログ