Please feel free to provide feedback or file bugs here.

Bug: WMF 5 Production Preview on Windows Server 2012 breaks Sysprep

Installing the WMF Production Preview on a Windows Server 2012 machine causes sysprep to fail with the following messages:

2016-01-14 15:58:26, Error [0x0f00bf] SYSPRP CreateSysprepActionList: Invalid action node sysprepOrder found for component Microsoft-Windows-SoftwareInventoryLogging-ScheduledTasks
2016-01-14 15:58:26, Error SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x10dd
2016-01-14 15:58:26, Error SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x10dd
2016-01-14 15:58:26, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x10dd
2016-01-14 15:58:26, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x800710dd
2016-01-14 15:58:26, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
2016-01-14 15:58:26, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2016-01-14 15:58:26, Info [0x0f004d] SYSPRP The time is now 2016-01-14 15:58:26

Comparing versions of Generalize.xml from before and after installing WMF 5 Production Preview shows that these stanzas are added:

--- H:\Projects\Windows Image Maint\GeneralizeBefore.xml
+++ H:\Projects\Windows Image Maint\GeneralizeAfter.xml
@@ -213,4 +213,19 @@
<assemblyIdentity name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="6.2.9200.16384" versionScope="NonSxS"/>
<sysprepModule methodName="WerSysprepGeneralize" moduleName="wer.dll"/>
</imaging>
+ <imaging exclude="">
+ <assemblyIdentity name="Microsoft-Windows-SoftwareInventoryLogging-ScheduledTasks" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="6.2.9616.933" versionScope="NonSxS"/>
+ <sysprepOrder order="0x3300"/>
+ <registryActions>
+ <deleteValue name="Identity" path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\SoftwareInventoryLogging"/>
+ </registryActions>
+ </imaging>
+ <imaging exclude="">
+ <assemblyIdentity name="Microsoft-Windows-MiStreamProvider" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="6.2.9616.933" versionScope="NonSxS"/>
+ <sysprepOrder order="0x3200"/>
+ <registryActions>
+ <deleteValue name="LastTargetUri" path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\StreamProvider"/>
+ <deleteValue name="LastFullPayloadTime" path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\StreamProvider"/>
+ </registryActions>
+ </imaging>
</sysprepInformation>

Apparently Sysprep on Windows Server 2012 doesn't know what "sysprepOrder" is.

Workaround: Delete the added stanzas, then sysprep runs to completion without errors.

10 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Lance A. BrownLance A. Brown shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base