Sysprep fails - Windows 10 build 10162


  1. Posts : 6
    Windows 8.1
       #1

    Sysprep fails - Windows 10 build 10162


    Hello Guys

    I'm trying to sysprep a Windows 10 Enterprise build 10162 so that i can capture, but i'm getting some errors and hope you guys have some sort of solution.

    I've tried removing The upgrade key in HKLM system, but that didn't help.

    Sysprep fails - Windows 10 build 10162-2015-07-06_10-10-53.png

    Settings i'm using.

    2015-07-06 10:02:43, Info SYSPRP ========================================================
    2015-07-06 10:02:43, Info SYSPRP === Beginning of a new sysprep run ===
    2015-07-06 10:02:43, Info SYSPRP ========================================================
    2015-07-06 10:02:43, Info [0x0f004d] SYSPRP The time is now 2015-07-06 10:02:43
    2015-07-06 10:02:43, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2015-07-06 10:02:43, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2015-07-06 10:02:43, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2015-07-06 10:02:43, Info [0x0f003d] SYSPRP WinMainisplaying dialog box for user to choose sysprep mode...
    2015-07-06 10:02:46, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2015-07-06 10:02:46, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2015-07-06 10:02:46, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2015-07-06 10:02:46, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2015-07-06 10:02:46, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-06 10:02:46, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-06 10:02:46, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2015-07-06 10:02:46, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2015-07-06 10:02:46, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-06 10:02:46, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-06 10:02:46, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2015-07-06 10:02:46, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2015-07-06 10:02:46, 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.
    2015-07-06 10:02:46, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f
    2015-07-06 10:02:46, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
    2015-07-06 10:02:46, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x139f
    2015-07-06 10:02:46, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
    2015-07-06 10:02:46, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f
    2015-07-06 10:02:48, Info [0x0f0052] SYSPRP Shutting down SysPrep log
    2015-07-06 10:02:48, Info [0x0f004d] SYSPRP The time is now 2015-07-06 10:02:48

    2015-07-06 10:01:15, 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.
    2015-07-06 10:01:15, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f
    2015-07-06 10:01:15, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
    2015-07-06 10:01:15, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x139f
    2015-07-06 10:01:15, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
    2015-07-06 10:01:15, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f
    2015-07-06 10:02:46, 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.
    2015-07-06 10:02:46, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x139f
    2015-07-06 10:02:46, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x139f
    2015-07-06 10:02:46, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x139f
    2015-07-06 10:02:46, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x139f
    2015-07-06 10:02:46, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x8007139f
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Hi THMO, welcome to the Ten Forums.

    Please post the following:
    • Is the 10162 Enterprise a clean install or an upgrade? I assume it's an upgrade, why else had you needed to remove the upgrade registry key.
    • If clean install are you using Sysprep in Audit Mode prior to creating any users accounts, in Audit Mode after creating user accounts, or in normal mode?
    • If an upgrade install, do you run Sysprep in Audit Mode or in normal mode?
    • The exact Sysprep command you used with all switches
    • The answer file you used if any (zip it and attach to your post, edit only to remove any personal confidential information)
    • The C:\Windows\System32\Sysprep\Panther\Setupact.log file, zip it and attach to your post instead of just copy & pasting the text

    In case you need instructions in uploading the attachments I asked, see this tutorial: Screenshots and Files - Upload and Post in Ten Forums - Windows 10 Forums

    Let's start with that!

    Kari
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:29.
Find Us




Windows 10 Forums