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

解決「新增/移除程式」開啟報錯 Value creation failed at line 472/521

編輯:XP 系統基礎知識

在 Windows XP 控制台開啟「新增/移除程式」時,跳出 Value creation failed at line 472(SP1)或 line 521(SP2)錯誤。此問題多因第三方主題修改導致系統相關 DLL 註冊異常。

解決方法一:切換回 Windows XP 預設主題(最簡單)

  1. 「控制台」→「外觀和主題」→「顯示」→「主題」標籤。
  2. 主題下拉選單選擇 「Windows XP」(預設藍色主題)。
  3. 確定套用,重新開啟「新增/移除程式」測試。

解決方法二:重新註冊核心系統 DLL(徹底修復)

「開始」→「執行」依序執行以下指令(每行按 Enter):

regsvr32 Appwiz.cpl
regsvr32 Mshtml.dll
regsvr32 Jscript.dll
regsvr32 Msi.dll
regsvr32 "c:\Program Files\Common Files\System\Ole DB\Oledb32.dll"
regsvr32 "c:\Program Files\Common Files\System\Ado\Msado15.dll"
regsvr32 Mshtmled.dll

執行完成後重新開機,問題即可解決。

原因分析

  • 精簡版/修改版 XP 主題常移除或替換系統預設視覺元素。
  • 「新增/移除程式」對話方塊 (Appwiz.cpl) 依賴 Mshtml.dll、Jscript.dll 等渲染元件。
  • 主題修改導致這些 DLL 版本不符或註冊資訊遺失,觸發行號錯誤(實為內部腳本錯誤行號)。

預防建議

  • 避免使用來源不明的「美化版」「精簡版」XP 安裝映像。
  • 若需美化,建議使用 StyleXP、WindowBlinds 等成熟工具套用主題,而非替換系統核心檔案。
  • 定期建立系統還原點,方便問題發生時快速回滾。
Copyright © Windows教程網 All Rights Reserved