/build/static/layout/Breadcrumb_cap_w.png

Sysprep won't run because I'm on an "upgraded" installation - I did a clean install

I'm getting an error the sysprep can't run because it's not available on upgraded systems. However, I have a fresh installation of Windows 10 Enterprise that I'm using. I should be able to use sysprep without issues. Here is the readout from the log file. I've highlighted the error:

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

2016-02-01 16:28:26, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
2016-02-01 16:28:26, Info       [0x0f004d] SYSPRP The time is now 2016-02-01 16:28:26

1 Comment   [ + ] Show comment
  • Have a look to this one:
    https://4sysops.com/archives/windows-10-sysprep-was-not-able-to-validate-your-windows-installation/
    The article points out other possible causes.
    Kind regards,
    Marco - StockTrader - StockTrader 8 years ago

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 8 years ago
Red Belt
-1

Top Answer

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ