Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 8 安裝 MSI 套件出現 2502/2503 錯誤?以系統管理員身分執行 msiexec 解決

編輯:關於 Windows

Windows 8 安裝 MSI 封裝程式時出現 2502/2503 錯誤,主因權限不足且右鍵選單缺少「以系統管理員身分執行」選項。解法:透過管理員命令提示字元手動呼叫 msiexec 安裝。

操作步驟

  1. 滑鼠游標移至左下角熱區 → 右鍵 → 選「命令提示字元 (系統管理員)」。
  2. 確認 UAC 提示選「是」,進入管理員命令提示字元視窗。
  3. 複製 MSI 檔案完整路徑與檔名。
  4. 輸入指令:msiexec /package "完整路徑\檔名.msi" → Enter。
  5. 安裝精靈將以系統管理員權限正常啟動。

原理: msiexec 為 Windows Installer 服務執行程式,以管理員權限啟動可繞過 UAC 限制,直接取得安裝所需的系統資源存取權。此法適用於所有 MSI 封裝安裝程式。

Copyright © Windows教程網 All Rights Reserved