search cancel

Unable to create a Sysprepped image of Windows 10

book

Article ID: 162864

calendar_today

Updated On:

Products

Deployment Solution Ghost Solution Suite

Issue/Introduction

 

You are attempting to use a Prepare for Image Capture task as part of a Job in Deployment Solution 7.6 to create a sysprepped Windows 10 image.

OR

You are attempting to run a Create Disk Image with the Prepare using Sysprep option in Ghost Solution Suite 3.x to create a sysprepped Windows 10 image.

In Deployment Solution the Prepare for Image Capture task will show a status of "Waiting for the agent to get the task".  On the client system, Sysprep will launch as a process but not finish.  Once you end task on the Sysprep process in Task Manager it will log the error shown in the box below.

In Ghost Solution Suite 3.x the Create Disk Image job will fail with an error -99.

The setuperr.log, which is a log that Microsoft Sysprep creates when it runs and encounters an error, will contain the errors listed below.  You can find the setuperr.log in the Windows\System32\Sysprep\Panther folder.

2016-01-25 10:38:04, Error      [0x0f0036] SYSPRP spopk.dll:: Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows.
2016-01-25 10:38:04, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f
2016-01-25 10:38:04, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
2016-01-25 10:38:04, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x139f
2016-01-25 10:38:04, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
2016-01-25 10:38:04, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f

Cause

Microsoft Sysprep will not run on upgraded installations of Windows.  A Windows 10 installation that was installed as an Upgrade from a prior version of Windows such as Windows 7 or 8.1 will not run Microsoft Sysprep.

Additionally, a Windows 10 installation that was installed clean and later updated to build 1511 is also considered an upgrade and Microsoft Sysprep will not run.

Please note that this is a limitation of Microsoft Sysprep and as such is not something that Symantec can fix or workaround.  Please see the Microsoft Technet article linked below for information on Microsoft Sysprep including its limitations.  The Limitations of Sysprep section in the article states "Sysprep must not be used on upgrade installation types. Run Sysprep only on clean installations".

https://technet.microsoft.com/en-us/library/cc721940%28v=ws.10%29.aspx

Resolution

In order to successfully run Microsoft Sysprep you must first install Windows cleanly.