执行sysperp无法验证你的windows安装,请帮忙解答

南 江 0 信誉分
2026-01-15T04:39:20.36+00:00

1

以下是setupact.log日志

2026-01-15 11:18:18, Info SYSPRP ========================================================

2026-01-15 11:18:18, Info SYSPRP === Beginning of a new sysprep run ===

2026-01-15 11:18:18, Info SYSPRP ========================================================

2026-01-15 11:18:18, Info [0x0f004d] SYSPRP The time is now 2026-01-15 11:18:18

2026-01-15 11:18:18, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther

2026-01-15 11:18:18, Info [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine

2026-01-15 11:18:18, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything

2026-01-15 11:18:18, Warning SYSPRP WinMain: File operations pending

2026-01-15 11:18:18, Info [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...

2026-01-15 11:29:33, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.

2026-01-15 11:29:33, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 3

2026-01-15 11:29:33, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>

2026-01-15 11:29:33, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml

2026-01-15 11:29:33, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2026-01-15 11:29:33, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2026-01-15 11:29:33, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2026-01-15 11:29:33, Info CSI 00000001 Shim considered [l:123]'??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.1738_none_a5031b637767a4e7\wcp.dll' : got STATUS_SUCCESS

2026-01-15 11:29:34, Info SYSPRP Sysprep_Clean_Validate_Opk: Successfully validated reserves state on the machine for entering audit mode.

2026-01-15 11:29:34, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2026-01-15 11:29:34, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.

2026-01-15 11:29:34, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 1

2026-01-15 11:29:34, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>

2026-01-15 11:29:34, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml

2026-01-15 11:29:34, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2026-01-15 11:29:34, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2026-01-15 11:29:34, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2026-01-15 11:29:34, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2026-01-15 11:29:34, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll

2026-01-15 11:29:34, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

2026-01-15 11:29:34, Error SYSPRP Package Microsoft.Ink.Handwriting.Main.zh-Hans.1.0_0.1082.2350.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2026-01-15 11:29:34, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2026-01-15 11:29:34, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2026-01-15 11:29:34, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

2026-01-15 11:29:34, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

2026-01-15 11:29:34, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

2026-01-15 11:29:34, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

2026-01-15 11:29:34, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

2026-01-15 11:32:32, Info [0x0f0052] SYSPRP Shutting down SysPrep log

2026-01-15 11:32:32, Info [0x0f004d] SYSPRP The time is now 2026-01-15 11:32:32

2026-01-15 12:23:56, Info SYSPRP ========================================================

2026-01-15 12:23:56, Info SYSPRP === Beginning of a new sysprep run ===

2026-01-15 12:23:56, Info SYSPRP ========================================================

2026-01-15 12:23:56, Info [0x0f004d] SYSPRP The time is now 2026-01-15 12:23:56

2026-01-15 12:23:56, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther

2026-01-15 12:23:56, Info [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine

2026-01-15 12:23:56, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything

2026-01-15 12:23:56, Warning SYSPRP WinMain: File operations pending

2026-01-15 12:23:56, Info [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...

2026-01-15 12:24:02, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.

2026-01-15 12:24:02, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 3

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>

2026-01-15 12:24:02, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2026-01-15 12:24:02, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2026-01-15 12:24:02, Info CSI 00000001 Shim considered [l:123]'??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.1738_none_a5031b637767a4e7\wcp.dll' : got STATUS_SUCCESS

2026-01-15 12:24:02, Info SYSPRP Sysprep_Clean_Validate_Opk: Successfully validated reserves state on the machine for entering audit mode.

2026-01-15 12:24:02, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2026-01-15 12:24:02, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.

2026-01-15 12:24:02, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 1

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>

2026-01-15 12:24:02, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2026-01-15 12:24:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2026-01-15 12:24:02, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2026-01-15 12:24:02, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2026-01-15 12:24:02, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll

2026-01-15 12:24:02, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

2026-01-15 12:24:02, Error SYSPRP Package Microsoft.Ink.Handwriting.Main.zh-Hans.1.0_0.1082.2350.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2026-01-15 12:24:02, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2026-01-15 12:24:02, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2026-01-15 12:24:02, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

2026-01-15 12:24:02, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

2026-01-15 12:24:02, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

2026-01-15 12:24:02, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

2026-01-15 12:24:02, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

2026-01-15 12:24:07, Info [0x0f0052] SYSPRP Shutting down SysPrep log

2026-01-15 12:24:07, Info [0x0f004d] SYSPRP The time is now 2026-01-15 12:24:07

Windows 商业版 | 面向 IT 专业人士的 Windows 客户端 | 设备和部署 | 安装 Windows 更新、功能或角色
0 个注释 无注释

1 个答案

排序依据: 非常有帮助
  1. Domic Vo 34,570 信誉分 独立顾问
    2026-01-16T11:33:43.0866667+00:00

    你好

    您的 Sysprep 失败是由 Windows 10 引入并延续到 Windows 11 的 Appx 配置模型中的已知限制引起的。错误确认 0x80073cf2 该软件包 Microsoft.Ink.Handwriting.Main.zh-Hans.1.0_0.1082.2350.0_x64__8wekyb3d8bbwe 是为特定用户安装,但未在系统范围内配置。如果每个用户安装了任何Appx包但未为所有用户配置,Sysprep无法对系统进行泛化。这是在泛化阶段强制执行的严格验证步骤 AppxSysprep.dll 。

    要解决这个问题,你需要从用户配置文件和系统配置商店中移除有问题的 Appx 包。首先,使用 PowerShell 确定拥有该软件包的用户 SID:

    PowerShell

    Get-AppxPackage -AllUsers | Where-Object {$_.Name -eq "Microsoft.Ink.Handwriting.Main.zh-Hans.1.0"} | Select Name, PackageFullName, UserSID
    

    然后从该用户手中移除该软件包:

    PowerShell

    Remove-AppxPackage -Package <PackageFullName> -User <UserSID>
    

    之后,从系统镜像中移除已配置的包:

    PowerShell

    Remove-AppxProvisionedPackage -Online -PackageName <PackageFullName>
    

    如果该包未列入配置存储,但每个用户仍存在,Sysprep将失败。你必须确保两层都干净。移除后,重启系统并重新尝试 Sysprep。如果其他包裹也出现类似问题,重复这个过程。你也可以用以下方法编写完整清理脚本:

    PowerShell

    Get-AppxPackage -AllUsers | Remove-AppxPackage
    Get-AppxProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
    

    这会移除所有Appx软件包,但请注意,它也会移除内置的应用,比如计算器和照片。只有在准备干净镜像部署且不需要这些应用时才使用。

    希望你在这里找到了有用的信息。如果能帮你更深入了解这个问题,接受答案我会很感激。如果你还有更多问题,欢迎留言。有好的一天!

    多米克配音。

    此答案是否有帮助?

    0 个注释 无注释

你的答案

提问者可以将答案标记为“已接受”,审查方可以将答案标记为“已推荐”,这有助于用户了解答案是否解决了提问者的问题。