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

Windows Server 2003 修補程式批次安裝:兩類封裝格式參數差異解析

編輯:Windows 2003 常見問題解答

批次安裝修補程式常因參數錯誤失敗。根因:Windows 修補程式分兩種封裝格式,需對應不同安裝參數。

識別兩類格式

  • 類型 A (SFXCAB 封裝): 圖示為一般執行檔。範例:WindowsServer2003-KB823559-x86-ENU.exe。版本資訊顯示由 SFXCAB.EXE 建立。支援參數:/U (無訊息)、/Z (不重開機)
  • 類型 B (WEXTRACT 封裝): 圖示為壓縮檔樣式。範例:DirectX9-KB819696-x86-ENU.exe。版本資訊顯示由 WEXTRACT.EXE 建立。不支援 /U /Z,強制使用會報錯。需用 /Q (無訊息)、/N (不重開機) 等參數

批次腳本建議策略

  1. 依圖示/版本資訊分類兩類修補程式
  2. 類型 A 使用 /quiet /norestart (或 /U /Z)
  3. 類型 B 使用 /Q /N 或解壓後手動執行 INF 安裝
  4. 記錄安裝日誌統一審核

正確識別封裝類型並套用對應參數,是自動化修補部署成功的關鍵。

Copyright © Windows教程網 All Rights Reserved