none
Sysprep message "Sysprep was not able to validate your windows installation" RRS feed

  • Question

  • Our organization has recently received a number of Tablet devices (over 100) which we require a standardized image to be deployed to them all, the obvious thing to this was to create a standard image using sysprep however when i run sysprep I get the message 'Sysprep was not able to validate your windows installation' and to check the logs when i check the logs i find a message saying 'sysprep will not run on an upgrade OS' I have recently updated to windows 8.1.

    I have found an article relating to windows 7 which suggested deleting the 'upgrade' key from the registry however this solution has not worked for windows 8.1

    Can someone help? I do not have the time nor patience to have to start the image from scratch.

    Thanks

    Kev.

    Wednesday, October 23, 2013 9:29 AM

Answers

All replies

  • Thursday, October 24, 2013 8:27 AM
    Moderator
  • Hi Karen,

    Thanks for this information I presume then that 8.1 is considered to be an upgrade rather than a service pack. Is there any way around this as our devices have been shipped with Windows 8 and I would rather deploy then with 8.1 than have to then deploy 8.1 afterwards? I assume its not a recommended process to create an image without using sysprep!

    Kev.

    Thursday, October 24, 2013 1:14 PM
  • Hi,

    Sysprep must not be used on upgrade installation types. Run Sysprep only on clean installations.


    I am having the same problem, (except they are 20x Asus P550C i5 Laptops)

    I have a clean install, then i have done all the MS updates and the 3.5GB to W8.1  for free the only way that it could be done (via the windows Store) installed all the required programs, setup security and user accounts, (teacher and student) as these computers are standalone for a training company that travels to remote locations in Australia to teach students how to use windows 8 and office 2013.

    Now i am also having this same problem, i have been working on a work-around for hours.

    Can you please tell us what is going to be the solution?? 

    Please get back to me Asap

    Friday, October 25, 2013 11:38 AM
  • Did anyone get answer for this??
    Thursday, October 31, 2013 11:28 PM
  • install 8.1 from a clean MSDN/Technet ISO, install all tool and now sysprep it.

    "A programmer is just a tool which converts caffeine into code"

    Friday, November 1, 2013 6:36 AM
  • I had a Windows 8.0 Enterprise custom image that after installing the upgrade to 8.1 from the Enterprise VLSC ISO would fail a sysprep with this error. After digging around the solution that worked for me was to remove the registry key 'Upgrade' within 'HKEY_LOCAL_MACHINE\system\setup'. Delete this key and then re-run sysprep, I have always ran from the command line.

    I have since deployed the captured image and all appears to have ran ok.

    • Proposed as answer by Ivan Corbett Tuesday, August 12, 2014 2:38 PM
    Tuesday, November 5, 2013 11:23 AM
  • There have been situations, in which the key setup was not present.

    Following solution found on another website seems to work:

    Remove this KEY from the registry (if existent):
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade
    Remove this REG_DWORD from the registry (if existent):
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade
    Set this REG_DWORD in the registry:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState [Set Hexadecimal Value:7]
    Run this command as Administrator:
    slmgr /dli

    As always with such tips be aware, that this method is not supported by Microsoft and unknown side effects may show up in a later stage of deployment.

    Active Bitlocker encryption may also be a reason for this error message.

    Best greetings from Germany
    Olaf


    Friday, July 25, 2014 11:53 AM
  • Danke schön, Olaf.

    That worked perfectly for me.

    A post-clone sysprep (not an upgraded Windows install) failed partway through, and this allowed me to restart.

    Friday, February 6, 2015 1:09 AM
  • Had problems with an upgraded Windows 10 Technical preview build 10122 (from 10074) Enterprise.

    Followed Olaf's instructions:

    Remove this KEY from the registry (if existent):
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade
    Remove this REG_DWORD from the registry (if existent):
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade
    Set this REG_DWORD in the registry:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState [Set Hexadecimal Value:7]
    Run this command as Administrator:
    slmgr /dli

    But also had to empty the value of "ImagePath" under :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tiledatamodelsvc

    and:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StateRepository

    reboot the computer and do a Sysprep &shutdown.

    then offline edit the registry and restore the value "%systemroot%\system32\svchost.exe -k Appmodel" (without quotes) to "ImagePath" under tiledatamodelsvcand StateRepository.

    When offline editing they will be under ControlSet001\Services.

    Finally you'll have your sysprepped image.

    sources:

    prevent staterepository and tiledatamodelsvc from running....

    Sysprep Windows 10 Build 10074 Fix

    Fatal error when Sysprep 10074


    • Edited by Alon.or Wednesday, May 27, 2015 12:36 PM fix link
    Wednesday, May 27, 2015 12:35 PM
  • Hello,

    I have same issue, but on Windows 10 Pro build 10240.

    Your description above isn't functional.

    Have you any advice if you look in to log bellow?

    Thanks

    2015-07-22 14:22:14, Info                  SYSPRP ========================================================
    2015-07-22 14:22:14, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2015-07-22 14:22:14, Info                  SYSPRP ========================================================
    2015-07-22 14:22:14, Info       [0x0f004d] SYSPRP The time is now 2015-07-22 14:22:14
    2015-07-22 14:22:14, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2015-07-22 14:22:14, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2015-07-22 14:22:14, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2015-07-22 14:22:14, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2015-07-22 14:22:20, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2015-07-22 14:22:20, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2015-07-22 14:22:20, 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-22 14:22:20, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-22 14:22:20, 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-22 14:22:20, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-22 14:22:20, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2015-07-22 14:22:20, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2015-07-22 14:22:20, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2015-07-22 14:22:20, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2015-07-22 14:22:20, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2015-07-22 14:22:20, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2015-07-22 14:22:20, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2015-07-22 14:22:20, 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-22 14:22:20, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-22 14:22:20, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2015-07-22 14:22:20, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2015-07-22 14:22:20, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2015-07-22 14:22:20, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2015-07-22 14:22:20, Error                 SYSPRP Package Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2015-07-22 14:22:20, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2015-07-22 14:22:20, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

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

    Wednesday, July 22, 2015 12:40 PM
  • Having the exact issue with Windows 10 MSDN copy. Editing the registry keys did not resolve the issue

    Thursday, July 30, 2015 10:42 PM
  • I had the same problem with msdn version and the solution here

    (not the same package)

    http://deploymentresearch.com/Research/Post/450/Sysprep-broken-in-Windows-10-Build-9926


    • Edited by jbul777 Sunday, August 2, 2015 10:53 PM
    Sunday, August 2, 2015 10:52 PM
  • Worked great for Windows 10 also. Thank you for your post.
    Thursday, November 19, 2015 6:02 PM
  • I hope this thread is not closed. My sysprep failed; below is the setupact file.

    2016-03-03 11:36:29, Info                  SYSPRP ========================================================
    2016-03-03 11:36:29, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-03-03 11:36:29, Info                  SYSPRP ========================================================
    2016-03-03 11:36:29, Info       [0x0f004d] SYSPRP The time is now 2016-03-03 11:36:29
    2016-03-03 11:36:29, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\Windows\System32\Sysprep\Panther
    2016-03-03 11:36:29, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-03-03 11:36:29, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-03-03 11:36:29, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-03-03 11:36:29, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-03-03 11:36:29, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-03-03 11:36:29, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2016-03-03 11:36:29, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-03-03 11:36:29, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-03-03 11:36:29, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 11:36:29, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 11:36:29, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-03-03 11:36:29, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-03-03 11:36:29, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-03-03 11:36:29, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-03-03 11:36:29, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 11:36:29, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 11:36:29, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 11:36:29, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 11:36:29, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-03-03 11:36:29, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2016-03-03 11:36:29, Error                 SYSPRP Package 9E2F88E3.Twitter_4.3.4.0_x86__wgeqdkkx372wm was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2016-03-03 11:36:29, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2016-03-03 11:36:29, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2016-03-03 11:36:29, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2016-03-03 11:36:29, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2016-03-03 11:36:29, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2016-03-03 11:36:29, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2016-03-03 11:36:29, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2016-03-03 11:56:36, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2016-03-03 11:56:36, Info       [0x0f004d] SYSPRP The time is now 2016-03-03 11:56:36
    2016-03-03 12:08:04, Info                  SYSPRP ========================================================
    2016-03-03 12:08:04, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-03-03 12:08:04, Info                  SYSPRP ========================================================
    2016-03-03 12:08:04, Info       [0x0f004d] SYSPRP The time is now 2016-03-03 12:08:04
    2016-03-03 12:08:04, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\Windows\System32\Sysprep\Panther
    2016-03-03 12:08:04, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-03-03 12:08:04, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-03-03 12:08:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-03-03 12:08:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-03-03 12:08:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-03-03 12:08:04, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2016-03-03 12:08:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-03-03 12:08:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-03-03 12:08:04, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:08:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 12:08:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-03-03 12:08:04, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-03-03 12:08:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-03-03 12:08:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-03-03 12:08:04, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:08:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:08:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:08:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 12:08:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-03-03 12:08:04, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2016-03-03 12:08:05, Error                 SYSPRP Package 9E2F88E3.Twitter_4.3.4.0_x86__wgeqdkkx372wm was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2016-03-03 12:08:05, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2016-03-03 12:08:05, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2016-03-03 12:08:05, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2016-03-03 12:08:05, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2016-03-03 12:08:05, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2016-03-03 12:08:05, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2016-03-03 12:08:05, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2016-03-03 12:13:01, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2016-03-03 12:13:01, Info       [0x0f004d] SYSPRP The time is now 2016-03-03 12:13:01
    2016-03-03 12:21:44, Info                  SYSPRP ========================================================
    2016-03-03 12:21:44, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2016-03-03 12:21:44, Info                  SYSPRP ========================================================
    2016-03-03 12:21:44, Info       [0x0f004d] SYSPRP The time is now 2016-03-03 12:21:44
    2016-03-03 12:21:44, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2016-03-03 12:21:44, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2016-03-03 12:21:44, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2016-03-03 12:21:44, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2016-03-03 12:21:44, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2016-03-03 12:21:44, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2016-03-03 12:21:44, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2016-03-03 12:21:44, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2016-03-03 12:21:44, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2016-03-03 12:21:44, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:21:44, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 12:21:44, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2016-03-03 12:21:44, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2016-03-03 12:21:44, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2016-03-03 12:21:44, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2016-03-03 12:21:44, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2016-03-03 12:21:44, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:21:44, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2016-03-03 12:21:44, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2016-03-03 12:21:44, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2016-03-03 12:21:44, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2016-03-03 12:21:44, Error                 SYSPRP Package king.com.CandyCrushSodaSaga_1.59.300.0_x86__kgqvnymyfvs32 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2016-03-03 12:21:44, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2016-03-03 12:21:44, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

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


    Thursday, March 3, 2016 7:12 PM
  • Uninstall any automatically downloaded apps like Twitter and Candy Crush (I see them in your logs), and Sysprep will work fine.  This should be a FAQ.

    https://4sysops.com/archives/windows-10-sysprep-was-not-able-to-validate-your-windows-installation/

    http://winaero.com/blog/fix-windows-10-installs-apps-like-candy-crush-soda-saga-automatically/


    Friday, March 11, 2016 3:40 PM
  • That is good to know. I see some of the apps have no uninstall with them and need to be removed through Windows powershell.  Is there an easier way?

    Monroe Johnson

    Friday, March 11, 2016 4:39 PM
  • It's just the ones that don't originally come with windows 10.  You should be able to right click and uninstall them.

    Friday, March 11, 2016 5:02 PM
  • This stung me today! This is how I fixed it;

    Sysprep Was Unable to Validate

    Pete


    Regards Pete Long http://www.petenetlive.com

    Sunday, April 14, 2019 1:46 PM