I did a clean install (not an upgrade) of Windows 10 Enterprise and am unable to sysprep the Surface Pro 3.  Error message is:

Sysprep was not able to valid your Windows installation.  Review the log file at c:\windows\system32\sysprep\panther\setupact.log for details.  After resolving the issue, use Sysprep to validate your installation again.

Here's what was in the setupact.log:
2016-02-12 07:36:58, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
2016-02-12 07:36:58, Info                  SYSPRP ========================================================
2016-02-12 07:36:58, Info       [0x0f004d] SYSPRP The time is now 2016-02-12 07:36:58
2016-02-12 07:36:58, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
2016-02-12 07:36:58, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2016-02-12 07:36:58, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2016-02-12 07:36:58, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
2016-02-12 07:37:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2016-02-12 07:37:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2016-02-12 07:37:04, 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-02-12 07:37:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-02-12 07:37:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2016-02-12 07:37:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-02-12 07:37:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2016-02-12 07:37:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
2016-02-12 07:37:04, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
2016-02-12 07:37:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
2016-02-12 07:37:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
2016-02-12 07:37:04, 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-02-12 07:37:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2016-02-12 07:37:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2016-02-12 07:37:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-02-12 07:37:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2016-02-12 07:37:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2016-02-12 07:37:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
2016-02-12 07:37:04, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

2016-02-12 07:37:04, Error                 SYSPRP Package Microsoft.Appconnector_1.3.3.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2016-02-12 07:37:04, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2016-02-12 07:37:04, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

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

All the Windows forum post to fix this issue is for an upgrade.  Has anyone resolved this?  Thanks!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1
you need to uninstall the store apps for that user prior to sysprep.  the one app currently stopping it is
Microsoft.Appconnector_1.3.3.0_neutral__8wekyb3d8bbwe, but there can be others beside this.  you can use power shell as that user to remove the apps. unplug the nic reboot and sysrprep

I have a blog on the app crap here:
http://www.itninja.com/blog/view/windows-10-deployment-re-adds-bloatware-tips-and-tricks-to-help-get-rid-of

Answered 02/12/2016 by: SMal.tmcc
Red Belt

  • Thanks, I'm gonna go through your blog right now!
Please log in to comment
Answer this question or Comment on this question for clarity