Hello,
When I was attemting to capture an image from a Windows 10 PC I got the following error:
Expected image state is IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE, actual image state is IMAGE_STATE_COMPLETE, sysprep did not succeed.
FAILURE ( 6192 ): ERROR - Sysprep did not complete successfully, check C:\Windows\system32\sysprep\panther\setupact.log for details.
Litetouch deployment failed, Return Code = -2147467259 0x80004005
The setupact.log contained the following:
2016-04-11 12:57:57, Info SYSPRP ========================================================2016-04-11 12:57:57, Info SYSPRP === Beginning of a new sysprep run ===
2016-04-11 12:57:57, Info SYSPRP ========================================================
2016-04-11 12:57:57, Info [0x0f004d] SYSPRP The time is now 2016-04-11 12:57:57
2016-04-11 12:57:57, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\system32\sysprep\Panther
2016-04-11 12:57:57, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2016-04-11 12:57:57, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2016-04-11 12:57:57, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET'
2016-04-11 12:57:57, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2016-04-11 12:57:57, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2016-04-11 12:57:57, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT'
2016-04-11 12:57:57, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
2016-04-11 12:57:57, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2016-04-11 12:57:57, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2016-04-11 12:57:57, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2016-04-11 12:57:57, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2016-04-11 12:57:57, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-04-11 12:57:57, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-04-11 12:57:57, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2016-04-11 12:57:57, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2016-04-11 12:57:57, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-04-11 12:57:57, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-04-11 12:57:57, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2016-04-11 12:57:57, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
2016-04-11 12:57:58, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
2016-04-11 12:57:58, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
2016-04-11 12:57:58, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
2016-04-11 12:57:58, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
2016-04-11 12:57:58, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2016-04-11 12:57:58, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-04-11 12:57:58, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-04-11 12:57:58, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2016-04-11 12:57:58, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2016-04-11 12:57:58, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-04-11 12:57:58, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-04-11 12:57:58, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2016-04-11 12:57:58, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
2016-04-11 12:57:58, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
2016-04-11 12:57:58, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
2016-04-11 12:57:58, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2016-04-11 12:57:58, Error SYSPRP Package king.com.CandyCrushSodaSaga_1.62.900.0_x86__kgqvnymyfvs32 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2016-04-11 12:57:58, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2016-04-11 12:57:58, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2016-04-11 12:57:58, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2016-04-11 12:57:58, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2016-04-11 12:57:58, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
2016-04-11 12:57:58, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2016-04-11 12:57:58, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2016-04-11 12:57:58, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2016-04-11 12:57:58, Info [0x0f004d] SYSPRP The time is now 2016-04-11 12:57:58
Can someone help me, please?