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

Vista 所有 .exe 無法執行?檔案關聯損壞一鍵修復 REG 檔下載

編輯:Windows Vista 系統基礎知識

前幾天論壇有用戶反映 Vista 中所有 .exe 可執行程式無法運行,提示「檔案沒有與之關聯的程式來執行」。即使在「執行」視窗輸入程式也顯示「不支援的介面」。初步估計是病毒改了 exe 檔案關聯,於是新建一個用戶登入,一切正常。開啟註冊表編輯器,將 exe 檔案關聯鍵值導出,切回舊用戶雙擊導入 REG 檔,一切恢復正常。

導出的註冊表內容

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

若你也遇到同樣問題,只需做以下幾步即可恢復:

  1. 新建記事本
  2. 複製上述藍底部分到記事本
  3. 另存為 XXX.reg 檔案
  4. 雙擊導入
  5. 重新啟動
Copyright © Windows教程網 All Rights Reserved