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

XP SP2 無法安裝 IIS 提示缺 staxmem.dll?組策略資料庫損壞或需整合 SP2 光碟

編輯:Windows XP 系統介紹

兩大原因與分級解決方案

安裝 IIS 提示找不到 staxmem.dll,插入 SP2 光碟仍無效,主因:

  1. 本機組策略資料庫 secedit.sdb 損壞
  2. 「Windows 元件精靈」同時需要 XP 原版與 SP2 升級光碟

步驟 1:檢測資料庫完整性

esentutl /g %systemroot%\security\database\secedit.sdb

情況 A:回報資料庫損壞 → 重建本機組策略

  1. %systemroot% 下建立 OldSecurity,移走 security 下所有 .log 檔
  2. 重命名 %systemroot%\security\database\secedit.sdb 為 Secedit.old
  3. 執行 MMC → 「檔案」→「新增/移除管理單元」→ 加入「安全性設定與分析」
  4. 右鍵「安全性設定與分析」→「開啟資料庫」→ 指向 %systemroot%\security\Secedit.sdb
  5. 右鍵→「匯入範本」→ 選 setup security.inf
  6. 重開機嘗試安裝 IIS,失敗則進行情況 B

情況 B:資料庫完整 → 整合 SP2 至 XP 安裝源

  1. 建立 C:\i386
  2. XP 光碟放入,執行 xcopy /E /I /V F:\i386\*.* /s C:\i386(F 為光碟機)
  3. 換入 SP2 光碟,執行 F:\xpsp2 /integrate:C:\i386
  4. 安裝 IIS 時指定來源為 C:\
Copyright © Windows教程網 All Rights Reserved