解決作業系統Sysprep失敗,提示無法驗證您的Windows安裝

針對作業系統做一般化處理,是要執行sysprep處理,但在實際執行的時候可能會報錯

錯誤的提示如下

sysprep 無法驗證您的Windows安裝。如需詳細資訊,請檢閱位於%WINDIR%\System32\Sysprep\Panther\Setupact.log的記錄檔。解決該問題之後,請使用Sysprep再次驗證您的安裝。

查看此文件的內容,可以看到一些關鍵字

2020-10-27 11:28:54, Error                 SYSPRP Package Microsoft.LanguageExperiencePackzh-TW_19041.12.27.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2020-10-27 11:28:54, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2020-10-27 11:28:54, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

在Powershell中使用指令查詢系統當前的程式,可以看到有問題的那一個,就在紅框的部分


在Powershell中使用指令移除這個有問題的程式。


重新查詢,系統已經沒有這個有問題的程式了。

重新執行一般化,就可以正常的進行,如果還是提示錯誤,就按照流程重新查找出現問題的程式並移除。

一些有用的說明:

https://docs.microsoft.com/zh-tw/troubleshoot/windows-client/deployment/sysprep-fails-remove-or-update-store-apps

https://social.technet.microsoft.com/Forums/en-US/c18af9ed-bd5b-4eac-bf03-bec89aca1ae3/sysprp-package-ltpackagenamegt-installed-for-a-user-but-not-provisioned-for-all-users?forum=win10itprosetup

如果是簡體中文系統則可能是移除簡體的程式


 

10 Comments

  1. racer.yang

    這是小弟我封裝時遇到的問題,WIN10-20H2-筆電封裝
    [0x0e00ba] TOOL GeneralizeBcdStore: Unable to get the associated resume object for the current OS loader. Status = [0xC0000225]
    [0x0e00b1] TOOL Sysprep_Generalize_Bcd: There was an error generalizing the bcd store. Status=[0xC0000225]
    SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Generalize_Bcd' from C:\Windows\System32\spbcd.dll; dwRet = 0x490
    SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0x490
    SYSPRP SysprepSession::ExecuteInternal: Error in executing action for Microsoft-Windows-Sysprep-SpBcd; dwRet = 0x490
    SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x490
    SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x490
    [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x490
    [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80070490

    想請問各位大大們有沒有遇到這問題

    • icka

      不好意思,沒有遇見過,可能要用關鍵字去搜尋下

    • DannyChen

      我都會以Administrator帳號去封裝,
      封裝前須把使用者的資料清除掉再砍掉帳號,
      只剩下Administrator帳號去封裝。

  2. 小詹

    很棒的文章~
    也解決我的問題~感謝

  3. santcheese

    太感謝你了,解決了我工作上遇到的困難,太實用了。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料