Windows 8.1 sysprep error

Hello im getting some errors whit my win 8.1 sysprep.

Here is the error log:

2014-01-03 10:00:43, Error                 SYSPRP SPPNP: Failed to secure driver file C:\Program Files\AMD\CCC2\Install\ccc2_install.exe. Err = 0x3
2014-01-03 10:00:43, Error                 SYSPRP Package Microsoft.Internal.Media.PlayReadyClient_2.3.1678.1_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2014-01-03 10:00:43, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2014-01-03 10:00:43, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2014-01-03 10:00:43, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralize' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2014-01-03 10:00:43, Error                 SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0x3cf2
2014-01-03 10:00:43, Error                 SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0x3cf2
2014-01-03 10:00:43, Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2014-01-03 10:00:43, Error                 SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x3cf2
2014-01-03 10:00:43, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2014-01-03 10:00:43, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80073cf2

January 3rd, 2014 8:21am

Hi,

Check this KB: http://support.microsoft.com/kb/2769827

regards

Free Windows Admin Tool Kit Click here and download it now
January 3rd, 2014 1:03pm

Hi,

In addition to the KB provided by Yannick, I also would like to share the following link with you to better understand the cause of this issue:

Capture an Image for Deployment

http://technet.microsoft.com/en-us/library/hh824938.aspx

Please note the Caution part of this article:

Don't use the Windows Store to update your Windows Store apps before running sysprep /generalize. Sysprep fails to generalize the image in this scenario. This issue also applies to the Windows Store apps that are included with Windows 8 (for example, Mail, Maps, Bing Finance, Bing News, and others). This can occur when you are customizing your installation in audit mode as the built in administrator, or when using a specific user account.

Sysprep /generalize requires that all apps are provisioned for all users. However, when you update an app from the Windows Store, that app becomes non-provisioned and is tied that user account.

Regards

January 6th, 2014 10:11am

Well i didnt do enything whit the windows store and i have sysprep win8 befour whit no problems. But maybe i will just install the whole system again and run these lines.

  • Import-Module Appx
  • Import-Module Dism
  • Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe |  Format-List -Property PackageFullName,PackageUserInformation
  • Remove-AppxPackage -Package <packagefullname>
  • Remove the Provisioning using the following cmdlet: Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

  • Edited by Kingp1ng Tuesday, January 07, 2014 10:30 AM
Free Windows Admin Tool Kit Click here and download it now
January 7th, 2014 10:27am

Hmm... i just needed to delete old profile from user that i have deleted, didnt remember to delete it befour. Atleast now the sysprep did finish.

January 7th, 2014 10:57am

Hello all,

I had tried a few of these solutions with no success in sysprep'ing Windows 8.1. I had removed the other user profiles before sysprep, only leaving the built-in Administrator. I had tried the PowerShell approach with the lines mentioned in this article. I even went as far as manually removing any and all traces of "WindowsApps" from the C:\ drive (C:\Program Files\WindowsApps and C:\Program Data\WindowsApps) and their registry keys from regedit. After finally getting around the package removal failure, sysprep still did not work for me. I finally got it working after following Dustin Lema's Step 3a and 3b (didn't need 3c in my case) from another post.

https://social.technet.microsoft.com/Forums/windows/en-US/f24edc13-546c-43e4-9808-3a46bfba6871/windows-7-professional-64bit-fatal-sysprep-errors?forum=w7itproinstall&prof=required

Ultimately, it doesn't seem related to the package-removal-failure issue that initially causes sysprep to break, but I hope this helps someone.


Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 3:25pm

Hello all,

I had tried a few of these solutions with no success in sysprep'ing Windows 8.1. I had removed the other user profiles before sysprep, only leaving the built-in Administrator. I had tried the PowerShell approach with the lines mentioned in this article. I even went as far as manually removing any and all traces of "WindowsApps" from the C:\ drive (C:\Program Files\WindowsApps and C:\Program Data\WindowsApps) and their registry keys from regedit. After finally getting around the package removal failure, sysprep still did not work for me. I finally got it working after following Dustin Lema's Step 3a and 3b (didn't need 3c in my case) from another post.

https://social.technet.microsoft.com/Forums/windows/en-US/f24edc13-546c-43e4-9808-3a46bfba6871/windows-7-professional-64bit-fatal-sysprep-errors?forum=w7itproinstall&prof=required

Ultimately, it doesn't seem related to the package-removal-failure issue that initially causes sysprep to break, but I hope this helps someone.


  • Edited by e.gutierrez Friday, September 04, 2015 7:25 PM
September 4th, 2015 7:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics