none
WIN 10用自带封装Sysprep,报错。 RRS feed

  • 问题

  • 您好:

          我公司购买了一批WIN10Pro系统,做完系统之后,只做了补丁更新,没有安装软件,用系统自带的Sysprep做封装的时候,会报错

    该文档内的信息如下:

    2019-03-12 10:01:08, Info                  SYSPRP ========================================================
    2019-03-12 10:01:08, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-12 10:01:08, Info                  SYSPRP ========================================================
    2019-03-12 10:01:08, Info       [0x0f004d] SYSPRP The time is now 2019-03-12 10:01:08
    2019-03-12 10:01:08, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-12 10:01:08, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-12 10:01:08, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-12 10:01:08, Warning               SYSPRP WinMain: File operations pending
    2019-03-12 10:01:08, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-12 10:01:12, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-12 10:01:12, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-12 10:01:12, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-12 10:01:12, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-12 10:01:12, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2019-03-12 10:01:12, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2019-03-12 10:01:12, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-12 10:01:12, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-12 10:01:12, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2019-03-12 10:01:12, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2019-03-12 10:01:12, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2019-03-12 10:01:12, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2019-03-12 10:01:12, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2019-03-12 10:01:12, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2019-03-12 10:01:12, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2019-03-12 10:01:12, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2019-03-12 10:01:12, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2019-03-12 10:01:12, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2019-03-12 10:01:14, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-12 10:01:14, Info       [0x0f004d] SYSPRP The time is now 2019-03-12 10:01:14
    2019-03-13 16:02:52, Info                  SYSPRP ========================================================
    2019-03-13 16:02:52, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-13 16:02:52, Info                  SYSPRP ========================================================
    2019-03-13 16:02:52, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:02:52
    2019-03-13 16:02:52, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-13 16:02:52, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-13 16:02:52, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-13 16:02:52, Warning               SYSPRP WinMain: File operations pending
    2019-03-13 16:02:52, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-13 16:02:56, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-13 16:02:56, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-13 16:02:56, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-13 16:02:56, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-13 16:02:56, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:02:56, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:02:56, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-13 16:02:56, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-13 16:02:56, Error                 SYSPRP Sysprep_Clean_Validate_Opk:There are one or more Windows updates that require a reboot. To run Sysprep, reboot the computer and restart the application.[gle=0x000036b7]
    2019-03-13 16:02:56, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f[gle=0x000036b7]
    2019-03-13 16:02:56, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
    2019-03-13 16:02:56, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x139f
    2019-03-13 16:02:56, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
    2019-03-13 16:02:56, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f
    2019-03-13 16:02:58, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-13 16:02:58, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:02:58
    2019-03-13 16:19:33, Info                  SYSPRP ========================================================
    2019-03-13 16:19:33, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-13 16:19:33, Info                  SYSPRP ========================================================
    2019-03-13 16:19:33, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:19:33
    2019-03-13 16:19:33, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-13 16:19:33, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-13 16:19:33, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-13 16:19:33, Warning               SYSPRP WinMain: File operations pending
    2019-03-13 16:19:33, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-13 16:19:37, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-13 16:19:37, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:19:37, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-13 16:19:37, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-13 16:19:37, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2019-03-13 16:19:37, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2019-03-13 16:19:37, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:19:37, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:19:37, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2019-03-13 16:19:37, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2019-03-13 16:19:37, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2019-03-13 16:19:37, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2019-03-13 16:19:37, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2019-03-13 16:19:37, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2019-03-13 16:19:37, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2019-03-13 16:19:37, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2019-03-13 16:19:37, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2019-03-13 16:19:37, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2019-03-13 16:19:39, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-13 16:19:39, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:19:39
    2019-03-13 16:36:54, Info                  SYSPRP ========================================================
    2019-03-13 16:36:54, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-13 16:36:54, Info                  SYSPRP ========================================================
    2019-03-13 16:36:54, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:36:54
    2019-03-13 16:36:54, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-13 16:36:54, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-13 16:36:54, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-13 16:36:54, Warning               SYSPRP WinMain: File operations pending
    2019-03-13 16:36:54, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-13 16:36:57, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-13 16:36:57, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:36:57, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-13 16:36:57, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-13 16:36:57, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2019-03-13 16:36:57, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2019-03-13 16:36:57, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:36:57, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:36:57, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2019-03-13 16:36:57, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2019-03-13 16:36:57, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2019-03-13 16:36:57, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2019-03-13 16:36:57, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2019-03-13 16:36:57, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2019-03-13 16:36:57, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2019-03-13 16:36:57, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2019-03-13 16:36:57, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2019-03-13 16:36:57, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2019-03-13 16:37:00, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-13 16:37:00, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:37:00
    2019-03-13 16:37:49, Info                  SYSPRP ========================================================
    2019-03-13 16:37:49, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-13 16:37:49, Info                  SYSPRP ========================================================
    2019-03-13 16:37:49, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:37:49
    2019-03-13 16:37:49, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-13 16:37:49, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-13 16:37:49, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-13 16:37:49, Warning               SYSPRP WinMain: File operations pending
    2019-03-13 16:37:49, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-13 16:37:53, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-13 16:37:53, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:37:53, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-13 16:37:53, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-13 16:37:53, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2019-03-13 16:37:53, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2019-03-13 16:37:53, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:37:53, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:37:53, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2019-03-13 16:37:53, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2019-03-13 16:37:53, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2019-03-13 16:37:53, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2019-03-13 16:37:53, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2019-03-13 16:37:53, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2019-03-13 16:37:53, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2019-03-13 16:37:53, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2019-03-13 16:37:53, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2019-03-13 16:37:53, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2019-03-13 16:41:57, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-13 16:41:57, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:41:57
    2019-03-13 16:47:05, Info                  SYSPRP ========================================================
    2019-03-13 16:47:05, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-03-13 16:47:05, Info                  SYSPRP ========================================================
    2019-03-13 16:47:05, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:47:05
    2019-03-13 16:47:05, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2019-03-13 16:47:05, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-03-13 16:47:05, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-03-13 16:47:05, Warning               SYSPRP WinMain: File operations pending
    2019-03-13 16:47:05, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2019-03-13 16:47:22, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-03-13 16:47:22, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:47:22, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-03-13 16:47:22, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2019-03-13 16:47:22, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2019-03-13 16:47:22, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2019-03-13 16:47:22, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-03-13 16:47:22, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-03-13 16:47:22, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2019-03-13 16:47:22, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2019-03-13 16:47:22, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2019-03-13 16:47:22, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2019-03-13 16:47:22, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2019-03-13 16:47:22, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2019-03-13 16:47:22, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2019-03-13 16:47:22, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2019-03-13 16:47:22, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2019-03-13 16:47:22, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2019-03-13 16:51:16, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-03-13 16:51:16, Info       [0x0f004d] SYSPRP The time is now 2019-03-13 16:51:16

    请问如何解决?

    2019年3月13日 9:02

全部回复

  • 您好,

     

    从日志中注意到此条错误信息:

    2019-03-12 10:01:12, Error                 SYSPRP Package 903DB504.QQ_5.6.1150.0_x86__a99ra4d2cbcxa was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

     

    建议您按照以下方法删除此package

    1. 运行Import-Module Appx PowerShell cmdlet

    2. 运行Import-Module Dism

    3. 运行Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.

     

    注意

    a. 在最后一个cmdlet的输出中,检查程序包显示为已安装的用户。从参考计算机中删除这些用户帐户,或使用这些用户帐户登录到计算机。然后,在步骤4中运行cmdlet以删除Appx包。

    b. 此命令列出Microsoft发布并由该引用计算机的任何用户安装的所有软件包。由于要对计算机进行sysprep,我们假设这些用户配置文件不再需要该程序包。

    c. 如果您有手动配置的应用程序属于其他发布者,请运行以下命令列出它们:

                Get-AppxPackage -AllUser | Format-List -Property PackageFullNamePackageUserInformation

     

    4. 运行Remove-AppxPackage -Package <packagefullname>

    5. 通过运行以下cmdlet 删除配置:

                Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

     

    标题:Sysprep fails after you remove or update Microsoft Store apps that include built-in Windows images

    https://support.microsoft.com/en-sg/help/2769827/sysprep-fails-after-you-remove-or-update-windows-store-apps-that-inclu

     

    希望这些对您有所帮助。


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2019年3月14日 5:56
    版主
  • 您说的方法也试过,的确可以封装成功,但是封装后第一次进入系统的画面和流程,跟真正第一次做完系统的情况不一样,感觉乱七八糟的,有的地方过不去,又莫名其妙的跳过去了,总之给人感觉这块的功能坏掉了。
    2019年3月14日 6:59
  • 您好,

    建议您重新进行SysPrep。

    如果上述建议解决了您的问题,请标记为答案方便社区其他成员快速找到答案。


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2019年4月9日 2:26
    版主