Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

揪出系統中搞亂的 DLL 黑手:用 ListDlls 比對法快速定位導致「搜尋助理」「說明與支援」「使用者帳號」變白板的元兇

編輯:XP 系統基礎知識

多個程式同時異常(白板、無介面)通常源於共同 DLL 損壞/未註冊。本文實戰示範如何用 ListDlls 比對法精準鎖定問題 DLL。

案例:三個程式同時「毀容」

  • 「搜尋助理」變白板
  • 「控制台→使用者帳號」無介面
  • 「開始→說明與支援」點擊無反應

分析步驟

  1. 識別對應進程:工作管理員→應用程式→右鍵「搜尋助理」→「前往程序」發現屬於 Explorer.exe;Helpctr.exe 為說明與支援;觀察比較法確定「使用者帳號」屬 mshta.exe。
  2. 擷取 DLL 清單並比對:下載 ListDlls.exe 放 C:\Windows。命令提示字元依序執行:
    listdlls -r explorer.exe > C:\explorer1.txt
    (開啟搜尋助理)
    listdlls -r explorer.exe > C:\explorer2.txt
    fc C:\explorer1.txt C:\explorer2.txt > C:\explorer.txt
        
    explorer.txt 多出的即為搜尋助理專用 DLL。
  3. 重開機清除記憶體殘留 DLL,同法取得 helpctr.txt(說明與支援)與 mshta.txt(使用者帳號)的 DLL 清單。
  4. 篩選共同異常 DLL:比對三份清單,找出三者共同使用的 DLL。本案為 sxs.dll、vbscript.dll、jscript.dll。
  5. 修復驗證:三檔均存在未損壞,嘗試 regsvr32 jscript.dll 重新註冊,「白板」程式瞬間恢復正常。

心得

DLL 故障不僅是遺失,未正確註冊同樣致命。掌握 ListDlls + fc 比對法,可快速定位並修復疑難雜症。

Copyright © Windows教程網 All Rights Reserved