KUSD Posted April 25, 2017 Report post Posted April 25, 2017 Getting this error message when trying to caputre a virtual Windows 10 image: Microsoft messaging is not installed.... Pleas help SYSPRP The time is now 2017-04-08 09:49:08 2017-04-08 09:49:08, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\WINDOWS\system32\sysprep\Panther 2017-04-08 09:49:08, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine 2017-04-08 09:49:08, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\WINDOWS\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything 2017-04-08 09:49:08, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET' 2017-04-08 09:49:08, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE' 2017-04-08 09:49:08, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE' 2017-04-08 09:49:08, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT' 2017-04-08 09:49:08, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND' 2017-04-08 09:49:08, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers. 2017-04-08 09:49:08, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3 2017-04-08 09:49:08, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null> 2017-04-08 09:49:08, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2017-04-08 09:49:08, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2017-04-08 09:49:08, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null> 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2017-04-08 09:49:08, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2017-04-08 09:49:08, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it 2017-04-08 09:49:08, Info SYSPRP spopk.dll:: Sysprep will run on an upgraded OS. 2017-04-08 09:49:08, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error 2017-04-08 09:49:08, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers. 2017-04-08 09:49:08, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1 2017-04-08 09:49:08, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null> 2017-04-08 09:49:08, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep 2017-04-08 09:49:08, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2 2017-04-08 09:49:08, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null> 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2017-04-08 09:49:08, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 2017-04-08 09:49:08, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64 2017-04-08 09:49:08, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it 2017-04-08 09:49:08, Info [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error 2017-04-08 09:49:08, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it 2017-04-08 09:49:08, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned. 2017-04-08 09:49:08, Error SYSPRP Package Microsoft.Messaging_3.19.1001.0_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2017-04-08 09:49:08, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2017-04-08 09:49:08, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2017-04-08 09:49:08, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2017-04-08 09:49:08, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2017-04-08 09:49:08, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2 2017-04-08 09:49:08, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2017-04-08 09:49:08, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 2017-04-08 09:49:08, Info [0x0f0052] SYSPRP Shutting down SysPrep log 2017-04-08 09:49:08, Info [0x0f004d] SYSPRP The time is now 2017-04-08 09:49:08 Quote Share this post Link to post Share on other sites More sharing options...
Per Larsen Posted April 25, 2017 Report post Posted April 25, 2017 Hi. The problem is that a UWP is getting updated and are newer then the APP provisioned in the OS. You need to do a build and Capture with out internet connection or disable autoupdate of store apps while you are running your build and capture task sequence. The last solutions you can see here: https://osddeployment.dk/2017/04/13/capture-windows-10-hit-failure-while-pre-validate-sysprep-failed-to-remove-apps-for-current-user/ Kind regards Per Larsen Microsoft MVP - Enterprise Mobility Twitter: @PerLarsen1975 | Blog: osddeployment.wordpress.com Quote Share this post Link to post Share on other sites More sharing options...