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!