none
Windows 10 1803 Pro + sysprep issues?

    Question

  • I'm trying to capture the latest Windows 10 1803 Professional, and I'm receiving errors when it tries to sysprep. I've tried a number of different troubleshooting techniques that were required for the older versions, but none which have worked so far.

    MDT Error:

    2018-05-08 11:30:04, Info                  SYSPRP ========================================================
    2018-05-08 11:30:04, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2018-05-08 11:30:04, Info                  SYSPRP ========================================================
    2018-05-08 11:30:04, Info       [0x0f004d] SYSPRP The time is now 2018-05-08 11:30:04
    2018-05-08 11:30:04, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\WINDOWS\system32\sysprep\Panther
    2018-05-08 11:30:04, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2018-05-08 11:30:04, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\WINDOWS\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2018-05-08 11:30:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET'
    2018-05-08 11:30:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2018-05-08 11:30:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2018-05-08 11:30:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT'
    2018-05-08 11:30:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2018-05-08 11:30:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2018-05-08 11:30:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2018-05-08 11:30:04, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2018-05-08 11:30:05, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2018-05-08 11:30:05, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2018-05-08 11:30:05, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2018-05-08 11:30:05, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2018-05-08 11:30:05, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2018-05-08 11:30:05, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2018-05-08 11:30:05, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2018-05-08 11:30:05, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2018-05-08 11:30:05, Error                 SYSPRP Package Microsoft.Windows.SecondaryTileExperience_10.0.0.0_neutral__cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2018-05-08 11:30:05, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2018-05-08 11:30:05, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

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

    ---------

    Anyone able to advise what's going on? I couldn't see the application when looking at appxpackage, or appxprovisionedpackages


    Tuesday, May 8, 2018 1:39 PM

All replies

  • This is not a 1803 specific issue, but rather something you need to be aware of when dealing with W10 ref images. As I am on the road right now I am not going to go various issues surrounding Windows Store auto update functionality and will link Michael‘s blog post instead: https://blogs.technet.microsoft.com/mniehaus/2018/04/17/cleaning-up-apps-to-keep-windows-10-sysprep-happy/ (plus he explained it in great detail anyway and offered potential workarounds.)

    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Tuesday, May 8, 2018 4:07 PM
  • I have the exact same error. With other builds in the past I've just removed the offending app using powershell Remove-AppxPackage. However it appears this is an app that Microsoft doesn't let you remove. I rolled my image back to a snapshot I took before upgrading to 1803 and sysprep works fine. 
    Tuesday, May 8, 2018 4:53 PM
  • I know it is supposed to be a supported scenario (i.e. upgrading a reference image), but based on my experiences in the field I would advise against it. There are a few different way to automate image creation (and if you are using MDT in combination with HideShell=YES, store auto update routine never kicks in). If automating (for whatever reason) is not an option, you should consider blocking internet access for the duration of the upgrade using a PowerShell script (there is also a policy that blocks auto updates, but it works only on Ent / Edu editions).

    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Wednesday, May 9, 2018 11:20 AM
  • Try this. It worked for me! Follow the steps and change the app name. 

    http://alexappleton.net/post/159702702033/windows-10-pro-remove-wireless-display-media

    Monday, May 14, 2018 11:22 AM
  • It works for me too.
    Wednesday, May 16, 2018 8:52 AM
  • Just a guess... did you remove provisioned apps from either the original image or the upgrade media? I'm seeing the same thing. If I carefully play with 1709 with all provisioned apps installed and upgrade it to 1803, I can then get sysprep to complete without reporting this error.

    However, even if you do get it to succeed, it may be relatively pointless. Sysprep wreaks havoc on appx based applications, particularly after an upgrade. On my 1709->1803 sysprepped image, several apps are not present, even for new users. One example is Microsoft.Windows.ParentalControls - a system app, not even a provisioned app. It's just gone.

    There are lots of posts and blogs and workarounds folks offer, but they all are just putting lipstick on the appx + sysprep pig.

    Wednesday, May 16, 2018 9:53 PM
  • Just a guess... did you remove provisioned apps from either the original image or the upgrade media? I'm seeing the same thing. If I carefully play with 1709 with all provisioned apps installed and upgrade it to 1803, I can then get sysprep to complete without reporting this error.

    However, even if you do get it to succeed, it may be relatively pointless. Sysprep wreaks havoc on appx based applications, particularly after an upgrade. On my 1709->1803 sysprepped image, several apps are not present, even for new users. One example is Microsoft.Windows.ParentalControls - a system app, not even a provisioned app. It's just gone.

    There are lots of posts and blogs and workarounds folks offer, but they all are just putting lipstick on the appx + sysprep pig.

    I've the same problem on sysprep, I upgrade my Win10 1709 to 1803 and then I perform a sysprep, the sysprep success but new user have no more apps like Windos Photo,calculator etc... also if this apps are provisioned for all users.

    In audit mode I noticed that I've no longer some apps among which Microsoft Store and other apps.

    Can anyone help us?

    Wednesday, May 23, 2018 7:55 AM
  • Sysprep and capture is failing for me as well in 1803. My previous routine involved running the first command below in powershell:

    Get-AppXPackage | Remove-AppxPackage

    I have also run

    Get-AppxProvisionedPackage -Online  | Remove-AppxProvisionedPackage -Online

    I have updated my ADK, I am running SFC /scannow. result, no integrity violations

    BDD Reports: 

    Expected image state is IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE, actual image state is IMAGE_STATE_COMPLETE, sysprep did not succeed. LTISysprep 5/24/2018 9:03:58 AM 0 (0x0000)

    LightTouch.log Reports:

    Litetouch deployment failed, Return Code = -2147467259  0x80004005 LiteTouch 5/24/2018 9:03:59 AM 0 (0x0000)

    smsts.log Reports:

    Failed to run the action: Execute Sysprep. 
    Unknown error (Error: 00001830; Source: Unknown) TSManager 5/24/2018 9:03:58 AM 3464 (0x0D88)

    LTISysprep.log Reports:

    Expected image state is IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE, actual image state is IMAGE_STATE_COMPLETE, sysprep did not succeed. LTISysprep 5/24/2018 9:03:58 AM 0 (0x0000)
    FAILURE ( 6192 ): ERROR - Sysprep did not complete successfully, check C:\WINDOWS\system32\sysprep\panther\setupact.log for details LTISysprep 5/24/2018 9:03:58 AM 0 (0x0000)

    setup act is so massive that CTrace locks up but in notepad here is some of what I see:

    2018-05-22 07:05:52, Error                 MOUPG  CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104
    2018-05-22 07:05:52, Info                  MOUPG  Signalling actions thread to shut down.
    2018-05-22 07:05:52, Info                  MOUPG  Waiting for actions thread to exit.
    2018-05-22 07:05:52, Info                  MOUPG  Actions thread has exited.
    2018-05-22 07:05:52, Warning               MOUPG  CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2004]
    2018-05-22 07:05:52, Warning               MOUPG  CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x2000]
    2018-05-22 07:05:52, Info                  MOUPG  DlpTask: Suspending task during action...
    2018-05-22 07:05:52, Warning               MOUPG  CSetupDiagnostics::ReportData - Not reporting WINDLP data point [0x3000]
    2018-05-22 07:05:52, Info                  MOUPG  DlpTask: Leaving Execute Method
    2018-05-22 07:05:52, Info                  MOUPG  SetupManager: Requesting a restart for dynamic update
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::ExecutePreDownloadMode(7837): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::ExecuteDownlevelMode(373): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::Execute(273): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupHost::Execute(382): Result = 0x800705BB2018-05-22 07:05:54, Error                 MOUPG  CSetupManager::CopyDynamicUpdateFiles(2859): Result = 0x80070020[gle=0x00000020]
    2018-05-22 07:05:54, Warning               MOUPG  SetupManager: Copying dynamic update files failed:

    2018-05-22 07:15:22, Error                 MOUPG  CSetupManager::CopyDynamicUpdateFiles(2859): Result = 0x80070020[gle=0x00000020]
    2018-05-22 07:15:22, Warning               MOUPG  SetupManager: Copying dynamic update files failed: [0x80070020]

    [0x80070020]

    I'm guessing setuperr.log from panther only shows errors, here is it's contents:

    2018-05-22 07:05:52, Error                 MOUPG  CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::ExecutePreDownloadMode(7837): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::ExecuteDownlevelMode(373): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupManager::Execute(273): Result = 0x800705BB
    2018-05-22 07:05:52, Error                 MOUPG  CSetupHost::Execute(382): Result = 0x800705BB
    2018-05-22 07:05:54, Error                 MOUPG  CSetupManager::CopyDynamicUpdateFiles(2859): Result = 0x80070020[gle=0x00000020]
    2018-05-22 07:15:22, Error                 MOUPG  CSetupManager::CopyDynamicUpdateFiles(2859): Result = 0x80070020[gle=0x00000020]
    2018-05-22 07:15:50, Error                 DU     DU::CDUSession::Search: Failed to set WU internal configuration property for targeted scans. hr = 0x80070057
    2018-05-22 07:16:03, Error                 CONX   0xd0000034 Failed to add user mode driver [%SystemRoot%\system32\DRIVERS\UMDF\uicciso.dll]

    2018-05-22 07:27:07, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{52776FBF-403C-49cc-b7cb-dd557f36096A} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
    2018-05-22 07:29:44, Error      [0x0808fe] MIG    Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] Failed to get preferred homegroup with hr=0x80070490
    2018-05-22 07:30:22, Error                        CSetupAutomation::Resurrect: File not found: C:\$WINDOWS.~BT\Sources\Panther\automation.dat[gle=0x00000002]
    2018-05-22 07:30:22, Error                 SP     CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002]
    2018-05-22 07:37:33, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{C939EC0F-2F56-4CE8-AF56-2336596A5FA7} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
    2018-05-22 07:39:44, Error      [0x0808fe] MIG    Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] shell\shmig\propsysschema.cpp(29)\shmig.dll!00007FF9C4553B47: (caller: 00007FF9C455344A) LogHr(1) tid(d84) 80070002 The system cannot find the file specified.

    2018-05-22 07:39:44, Error      [0x0808fe] MIG    Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] shell\shmig\propsysschema.cpp(34)\shmig.dll!00007FF9C4553B8C: (caller: 00007FF9C455344A) LogHr(2) tid(d84) 80070002 The system cannot find the file specified.

    2018-05-22 07:39:44, Error      [0x0808fe] MIG    Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: offline key (new) = '$OFFLINE_RW_003ADB7E$SYSTEM\Setup\Upgrade\Bridge'
    2018-05-22 07:39:44, Error      [0x0808fe] MIG    Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: open upgrade settings key 'EMIG: ParseRegistryIfBridgeExists: offline key (new) = '$OFFLINE_RW_003ADB7E$SYSTEM\Setup\Upgrade\Bridge'' failed 0x2
    2018-05-22 07:39:45, Error      [0x08038d] MIG    Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll", CLSID={43CCF250-2A74-48c6-9620-FC312EC475D6}, ThreadingModel=Apartment}. Error: 0x80070002
    2018-05-22 07:39:45, Error                 SP     Error READ, 0x00000002 while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll,{43CCF250-2A74-48c6-9620-FC312EC475D6},Apartment. Will return 2[gle=0x000000cb]
    2018-05-22 07:39:55, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{52776FBF-403C-49cc-b7cb-dd557f36096A} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
    2018-05-22 07:39:59, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:39:59, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:39:59, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:39:59, Error      [0x080387] MIG    Failure while calling IDiscovery->Discover for Plugin={ServerPath="%windir%\system32\IasMigPlugin.dll", CLSID={6df2d9df-1294-4637-82d3-d53761ca2c11}, ThreadingModel=Apartment}. Error: 0x8007007E
    2018-05-22 07:39:59, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:39:59, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:39:59, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:00, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:00, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-TabletPC-CoreInkRecognition[@version="10.0.16299.15" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2[gle=0x00000012]
    2018-05-22 07:40:00, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-TabletPC-CoreInkRecognition[@version="10.0.16299.15" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
    2018-05-22 07:40:00, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:00, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:00, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:00, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:01, Error      [0x0803eb] MIG    Error: 3 Message: Error opening the key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\InstallAtShutdown: The system cannot find the path specified. [0x00000003]
    2018-05-22 07:40:01, Error      [0x0803eb] MIG    Error: 3 Message: Error opening the key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\InstallAtShutdown: The system cannot find the path specified. [0x00000003]
    2018-05-22 07:40:01, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:01, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:01, Error      [0x08038b] MIG    Failure while calling IPreApply->PreApply for Plugin={ServerPath="%windir%\system32\IasMigPlugin.dll", CLSID={6df2d9df-1294-4637-82d3-d53761ca2c11}, ThreadingModel=Apartment}. Error: 0x8007007E
    2018-05-22 07:40:01, Error                 SP     Error READ, 0x0000007E while gathering/applying object: pre-apply, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineIndependent\Working\agentmgr\CCSIAgent,%windir%\system32\IasMigPlugin.dll,{6df2d9df-1294-4637-82d3-d53761ca2c11},Apartment. Will return 2[gle=0x000000cb]
    2018-05-22 07:40:01, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:02, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-TabletPC-CoreInkRecognition[@version="10.0.16299.15" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
    2018-05-22 07:40:02, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-TabletPC-CoreInkRecognition[@version="10.0.16299.15" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
    2018-05-22 07:40:06, Error      [0x08038d] MIG    Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="%windir%\system32\migration\CntrtextMig.dll", CLSID={dedf860b-4cd6-4d6b-9823-f656a2b2462b}, ThreadingModel=Apartment}. Error: 0x80010105
    2018-05-22 07:40:06, Error                 SP     Error READ, 0x80010105 while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineIndependent\Working\agentmgr\CCSIAgent,%windir%\system32\migration\CntrtextMig.dll,{dedf860b-4cd6-4d6b-9823-f656a2b2462b},Apartment. Will return 2[gle=0x000000cb]
    2018-05-22 07:40:06, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:06, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:06, Error      [0x08038d] MIG    Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="%windir%\system32\IasMigPlugin.dll", CLSID={6df2d9df-1294-4637-82d3-d53761ca2c11}, ThreadingModel=Apartment}. Error: 0x8007007E
    2018-05-22 07:40:06, Error                 SP     Error READ, 0x0000007E while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineIndependent\Working\agentmgr\CCSIAgent,%windir%\system32\IasMigPlugin.dll,{6df2d9df-1294-4637-82d3-d53761ca2c11},Apartment. Will return 2[gle=0x000000cb]
    2018-05-22 07:40:06, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 07:40:06, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7e.[gle=0x0000007e]
    2018-05-22 07:40:06, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\IasMigPlugin.dll, {6DF2D9DF-1294-4637-82D3-D53761CA2C11}, 0) failed, hr=[0x8007007e].
    2018-05-22 07:40:06, Error      [0x080390] MIG    Failure while calling IPostApply->PostApply for Plugin={ServerPath="%windir%\system32\IasMigPlugin.dll", CLSID={6df2d9df-1294-4637-82d3-d53761ca2c11}, ThreadingModel=Apartment}. Error: 0x8007007E
    2018-05-22 07:40:06, Error                 SP     Error READ, 0x0000007E while gathering/applying object: post-apply, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineIndependent\Working\agentmgr\CCSIAgent,%windir%\system32\IasMigPlugin.dll,{6df2d9df-1294-4637-82d3-d53761ca2c11},Apartment. Will return 2[gle=0x000000cb]
    2018-05-22 07:40:06, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007e.[gle=0x0000007e]
    2018-05-22 08:20:20, Error                 MOUPG  Finalize: Error reading narrator reg key: [0x80070002]
    2018-05-22 08:21:13, Error                        [SetupPlatform.exe] winreHashWimFile: Failed to hash [C:\WINDOWS\System32\Recovery]: 0x5
    2018-05-22 08:22:02, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{C939EC0F-2F56-4CE8-AF56-2336596A5FA7} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
    2018-05-22 08:22:58, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP\{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2
    2018-05-22 08:22:58, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error
    2018-05-22 08:22:58, Error      [0x0808fe] MIG    Plugin {6CF7C0FC-91DD-4D47-9B6F-0769F8AE68D2}: [TpmScr] - check completion signature failed, skip this folder. file=C:\$WINDOWS.~BT\Store\MachineSpecific\File\srcworkingalias\agentmgr\CCSIAgent\005A9238\completed.txt
    2018-05-22 08:23:43, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{52776FBF-403C-49cc-b7cb-dd557f36096A} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
    2018-05-22 08:23:58, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABB5D12E8: (caller: 00007FFABB5D13CD) LogHr(1) tid(bb0) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:23:58, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABB5D12E8: (caller: 00007FFABB5D13FA) LogHr(2) tid(bb0) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:23:58, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\UserChoiceHelpers.h(824)\shmig.dll!00007FFABB5C922B: (caller: 00007FFABB5C99DE) LogHr(3) tid(bb0) 80070002 The system cannot find the file specified.

    2018-05-22 08:23:58, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\UserChoiceHelpers.h(825)\shmig.dll!00007FFABB5C9265: (caller: 00007FFABB5C99DE) LogHr(4) tid(bb0) 80070002 The system cannot find the file specified.

    2018-05-22 08:23:58, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\UserChoiceHelpers.h(826)\shmig.dll!00007FFABB5C928F: (caller: 00007FFABB5C99DE) LogHr(5) tid(bb0) 80070002 The system cannot find the file specified.

    2018-05-22 08:24:21, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABAAF12E8: (caller: 00007FFABAAF13CD) LogHr(1) tid(a5c) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:24:21, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABAAF12E8: (caller: 00007FFABAAF13FA) LogHr(2) tid(a5c) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:24:21, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\UserChoiceHelpers.h(826)\shmig.dll!00007FFABAAE928F: (caller: 00007FFABAAE99DE) LogHr(3) tid(a5c) 80070002 The system cannot find the file specified.

    2018-05-22 08:24:32, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABB6112E8: (caller: 00007FFABB6113CD) LogHr(1) tid(a58) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:24:32, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\frequentplaceslist.h(420)\shmig.dll!00007FFABB6112E8: (caller: 00007FFABB6113FA) LogHr(2) tid(a58) 80070003 The system cannot find the path specified.
        CallContext:[\MigrateExplorerDestList] 

    2018-05-22 08:24:32, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] internal\onecoreuapshell\private\inc\UserChoiceHelpers.h(826)\shmig.dll!00007FFABB60928F: (caller: 00007FFABB6099DE) LogHr(3) tid(a58) 80070002 The system cannot find the file specified.

    2018-05-22 08:24:40, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP\{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2
    2018-05-22 08:24:40, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error


    Thursday, May 24, 2018 4:38 PM
  • Is there a reason that you are trying to remove these and sysprep.  Like someone else has mentioned this is frequently an issue from version to version of Windows 10.

    Why not just remove these apps at deployment time?  From my experience, it goes pretty quick and you can tailor that script as needed.

    LawsonT

    Thursday, May 24, 2018 5:56 PM
  • Is there a reason that you are trying to remove these and sysprep.  Like someone else has mentioned this is frequently an issue from version to version of Windows 10.


    I believe the issue some people are running into when they remove in-box apps from a reference image, perform a feature update and then sysprep it. When creating reference images from scratch this is a non-issue in theory, assuming, of course, you make sure that the Store can‘t trigger WU which in turn talks to the content deliver gateway and pulls down updates for the UWP apps.

    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".

    Friday, May 25, 2018 9:24 AM
  • If anyone is interested, I can recreate this issue and solve this.  I don't really have time at work here to figure out which one solved the SysPrep issue but it's definitely one of them.

    1.  Changed HyperV from Generation 2 VM to Generation 1 (Non UEFI).  I'm not certain this made the difference.

    2.  DO NOT enable the Network Adapter on the VM until you installed, entered Audit Mode and enabled "Turn Off Consumer Experience" from the local GPO.  This will stop apps and the store from updating on first boot.  75% certain this is what fixed mine as the WindowsStore was stuck in "update" mode upon sysprep.

    3.  DO NOT remove Microsoft.WindowsSoundrecorder from allusers and provisioned Apps.  I am 25% certain this could have been the reason for mine failing as well.  Could be a core Windows 10 App needed.

    4.  DO NOT remove nor try to remove Microsoft.People from allusers and provisioned Apps as well.  I think it will fail anyways if you try and remove it.

    List of Apps I removed from Education version

    Microsoft.BingWeather
    Microsoft.GetHelp
    Microsoft.Getstarted
    Microsoft.Messaging
    Microsoft.Microsoft3DViewer
    Microsoft.MicrosoftOfficeHub
    Microsoft.MicrosoftSolitaireCollection
    Microsoft.Office.OneNote
    Microsoft.OneConnect
    Microsoft.Print3D
    Microsoft.SkypeApp
    Microsoft.Wallet
    microsoft.windowscommunicationsapps
    Microsoft.WindowsFeedbackHub
    Microsoft.XboxApp
    Microsoft.ZuneMusic
    Microsoft.ZuneVideo

    I probably wouldn't remove anything else besides those.  Alot of the apps your seeing are core windows 10 apps that are required for the OS to function (things like the XboxGamingOverlay, WindowsPhotos, WindowsCamera, ect).


    • Edited by Kyle-21 Thursday, June 14, 2018 3:02 PM
    Thursday, June 14, 2018 2:59 PM
  • Kind time of the day, dear! Such a problem. After the reference image is packaged (even without its configuration), using the built-in sysprep utility with the latest version of win 10 1803, and the file is unpacked to any one, even on the same machine, after the second reboot, some system processes continue to load the processor 100% a few minutes, it happens then EVERY time during a reboot, which is very annoying. In other words, the load is extended for another minute. Prior to using sysprep, these processes do not crush the processor. On no other version of Windows this was not (checked for 1709 - not such problems). Help advice!

    I take the virgin clean 1803, put, I go into the audit, everything is ok. Next, I pack with a reboot through / oobe / generalize, with absolutely no errors, then restarts myself, I wait for the installation, again I switch to ctrl + shift + f3 to audit mode, to quickly skip the welcome screen, I immediately open the task manager, that the system process is "node service", it loads my processor 100% for 30 seconds, and at each reboot then, the computer on i7-3770, 8GB, tried on a pair of laptops - the same thing, the problem is not in hardware, and the previous one there is no such version, on 1709 everything is fine, the whole head has already broken.
    Tried to last the last accumulative updates to push through a dism ++ - too most ((


    Saturday, June 16, 2018 6:42 AM