Share via

Unable to run sysprep

Anonymous
2018-05-04T20:17:54+00:00

I am unable to sysprep a PC.  The setupact.log for tells me this: 

2018-05-04 12:13:07, Error                 SYSPRP Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

I've tried the following but nothing works:

Import-Module Appx

Import-Module Dism

Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

Remove-AppxPackage -Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

Get-AppxPackage Microsoft.Xbox.* | Remove-AppxPackage

Remove-AppxProvisionedPackage -Online -PackageName Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

Running: Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

shows:

PackageFullName        : Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe

PackageUserInformation : {S-1-5-21-3454965948-3566078038-172135688-2216

I've also tried: Get-AppxPackage -allusers Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe | Remove-AppxPackage

And: Get-AppxPackage -allusers | Remove-AppxPackage

No matter what I do I see the following in the setupact.log file:

2018-05-04 12:13:07, Error                 SYSPRP Package Microsoft.Xbox.TCUI_1.11.29001.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2018-05-04 12:13:07, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2018-05-04 12:13:07, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2018-05-04 12:13:07, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

2018-05-04 12:13:07, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

2018-05-04 12:13:07, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

2018-05-04 12:13:07, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

Any help is appreciated!

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Greg Carmack 24,770 Reputation points Volunteer Moderator
    2018-05-04T20:55:06+00:00

    Hi Peter. I'm Greg, an installation specialist and 8 year Windows MVP, here to help you.

    SysPrep is not normally used by consumers but is more IT Pro related so you might want to ask at our sister site for IT Pro at Technet forums: https://social.technet.microsoft.com/Forums/en-...

    A good tutorial from Technet that covers SysPrep is here for reference: https://docs.microsoft.com/en-us/previous-versi...(v%3dws.10)

    An equally good introduction for consumers to use Technet to generalize the install is here: http://www.sevenforums.com/tutorials/135077-win...

    Be aware also that since Kari and Seven Forums helped bring SysPrep to consumers awhile back, WIndows 10 has come out and unlike previous editions of WIndows will mostly start on different hardware without the need of generalizing, unless you need it for an IT Pro environment.

    I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.

    Was this answer helpful?

    0 comments No comments