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

EXE 檔案關聯被病毒竄改無法執行?修改登錄恢復預設開啟方式

編輯:XP 系統應用技巧

故障原因

病毒將 .exe 檔案關聯指向自身,殺毒軟體清除病毒後,關聯遺失導致所有 EXE 無法執行。

修復方法

  1. Win+R → regedit。
  2. 定位至:HKEY_CLASSES_ROOT\exefile\shell\open\command。
  3. 右側雙擊「預設」字串值,將數值資料改為:
    "%1" %*
  4. 確定,重新開機驗證。

補充

若 HKEY_CLASSES_ROOT\.exe 也被竄改,請同步將其「預設」值設為 exefile。

Copyright © Windows教程網 All Rights Reserved