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

殺毒後無法執行任何 .exe 程式?EXE 檔案關聯被病毒劫持修復指南

編輯:Windows XP 系統介紹

現象描述

執行完整掃描並清除病毒後,重新開機發現雙擊任何 .exe 執行檔皆無反應,或彈出「開啟方式」對話框,系統無法啟動任何程式。

原因分析

病毒(如 W32/Sality、Virut 等)會修改登錄 HKEY_CLASSES_ROOT\exefile\shell\open\command,將預設值改為指向病毒本體。殺毒軟體清除病毒檔案時,未同步修復登錄關聯,導致 .exe 關聯指向不存在的路徑,系統無法啟動程式。

修復步驟(登錄編輯法)

  1. 按 Win+R 輸入 regedit 開啟登錄編輯器。
  2. 展開至:
    HKEY_CLASSES_ROOT\exefile\shell\open\command
  3. 在右側窗格雙擊 (預設) 字串值。
  4. 將數值資料修改為:
    "%1" %*
    (含雙引號、%1、空格、%*)
  5. 按「確定」,關閉登錄編輯器,重新啟動電腦。

替代方案:使用 .reg 檔一鍵修復

將以下內容存為 FixExeAssociation.reg,雙擊匯入:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

進階:若 .lnk(捷徑)關聯也損壞

同樣修復 HKEY_CLASSES_ROOT\lnkfile\shell\open\command 預設值為:
"%1" %*

預防建議

  • 使用具備「修復系統修改」功能的殺毒軟體(如 Kaspersky、ESET、Windows Defender 完整掃描)。
  • 定期匯出 HKEY_CLASSES_ROOT\exefile 與 \lnkfile 分支備份。
  • 啟用 Windows「受控資料夾存取」防止勒索軟體竄改關聯。
Copyright © Windows教程網 All Rights Reserved