Cause
Sysprep in Windows 8.x and Windows 10 includes a provider to clean packages and generalize the resulting image. If packages are provisioned into the image and not removed for a particular user, Sysprep fails when cleaning out these packages.
Similarly, a failure may occur if an All-User package provisioned into the image is later updated by a user on the reference machine.
Resolution
To resolve this issue:
Remove the packages that are causing this issue from the user running Sysprep.
Remove the provisioning.
Note: You must use PowerShell commandlets to complete this resolution.
To remove the packages and remove the provisioning:
In Powershell, run these commands:
1. Import-Module Appx
2. Import-Module Dism
3. Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.
For any user showing a package as installed, delete the user, or log in as that user and run the command in Step 4 to remove the Appx package.
If there are manually provisioned apps from other publishers, use this command to list and remove them either as the user showing the package as installed, or as the Sysprep user in step 4.
Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
4. Run this command for all packages you want to remove:
Remove-AppxPackage -Package
5. Run this command to remove the provisioning:
Remove-AppxProvisionedPackage -Online -PackageName
Note: If you experience challenges completing the steps in this resolution, contact your operating system vendor.
Източник: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2079196
Допълнителна информация: https://technet.microsoft.com/en-us/library/cc721940%28v=ws.10%29.aspx
Няма коментари:
Публикуване на коментар