locked
Windows 10 Pro - Clean install sysprep error: "Sysprep was not able to validate your windows installation" RRS feed

  • 質問

  • After reading message after message here on these and other forums, I started out with a clean install of Win 10 Pro x86 using the Media Creation Tool.  I have customized my installation and have been sure to not enter the app store or update any apps.  I am still receiving this error message after attempting to sysprep to audit mode > Generalize > reboot.   

    Here is what was logged in the Panther folder:

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

    2016-01-11 11:35:17, Error                 SYSPRP Failed to remove apps for the current user: 0x80070003.

    2016-01-11 11:35:17, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3.

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

    Anyone with any ideas?  I have tried almost everything I can find on the subject.

    Thank you in advance, 

    Ron

    2016年1月11日 19:33

回答

  • Check : https://support.microsoft.com/en-us/kb/2769827


    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    2016年1月11日 22:21
  • Hi Ron S West,

    Please refer to the steps included in the link as arnavsharma posted to have a troubleshoot.

    1. Run the Import-Module Appx PowerShell cmdlet.
    2. Run Import-Module Dism.
    3. Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.

      Notes
      • In the output of this last cmdlet, check the users for whom the package is showing up as Installed. Delete these user accounts from the reference computer, or log on to the computer by using these user accounts. Then, run the cmdlet in step 4 to remove the Appx package.
      • This command lists all packages that were published by Microsoft and installed by any user of that reference computer. Because the computer is to be sysprepped, we assume that these user profiles no longer require the package.
      • If you have manually provisioned apps that belong to other publishers, run the following command to list them:

        Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
    4. Run Remove-AppxPackage -Package <packagefullname>.
    5. Remove the provisioning by running the following cmdlet:

      Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

    If you try to recover from an update issue, you can reprovision the app after you follow these steps.

    Best regards


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    2016年1月13日 6:36

すべての返信

  • Check : https://support.microsoft.com/en-us/kb/2769827


    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    2016年1月11日 22:21
  • Hi Ron S West,

    Please refer to the steps included in the link as arnavsharma posted to have a troubleshoot.

    1. Run the Import-Module Appx PowerShell cmdlet.
    2. Run Import-Module Dism.
    3. Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.

      Notes
      • In the output of this last cmdlet, check the users for whom the package is showing up as Installed. Delete these user accounts from the reference computer, or log on to the computer by using these user accounts. Then, run the cmdlet in step 4 to remove the Appx package.
      • This command lists all packages that were published by Microsoft and installed by any user of that reference computer. Because the computer is to be sysprepped, we assume that these user profiles no longer require the package.
      • If you have manually provisioned apps that belong to other publishers, run the following command to list them:

        Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
    4. Run Remove-AppxPackage -Package <packagefullname>.
    5. Remove the provisioning by running the following cmdlet:

      Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

    If you try to recover from an update issue, you can reprovision the app after you follow these steps.

    Best regards


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    2016年1月13日 6:36