Sysprp Failed To Remove Apps For The Current User 0x80073cf2 Work 💎

dism /online /remove-provisionedappxpackage /packagename:<PackageName> If above fails, execute a complete app package reset:

After this, reboot and re-run Sysprep. To prevent recurrence in reference images: sysprp failed to remove apps for the current user 0x80073cf2

| Best Practice | Implementation | |---------------|----------------| | during image build. | Use local administrator only. | | Avoid opening modern apps (Settings, Photos, Camera, etc.) before Sysprep. | Do not launch any UWP app. | | Remove consumer app provisioned packages early in build sequence. | Run removal script post-update, pre-Sysprep. | | Do not sysprep more than 3 times on same image without refresh. | Use slmgr /dlv to check reset count; rebuild after 3 attempts. | | Use CopyProfile carefully (unattend.xml). | Set to false if modern apps are present. | 7. Conclusion Error 0x80073cf2 during Sysprep arises from incompatible user or machine state with provisioned UWP apps. The most common fix is removing non‑Microsoft provisioned packages and clearing user‑installed modern apps. For heavily customized images, a complete app reset (Section 5.3) is effective. Following the prevention guidelines ensures Sysprep completes successfully for enterprise deployment. | | Avoid opening modern apps (Settings, Photos, Camera, etc

Remove-AppxProvisionedPackage -Online -PackageName <FullPackageName> If removal fails, force removal from the image (offline servicing recommended for production): | Run removal script post-update, pre-Sysprep

# Run as Administrator Get-AppxProvisionedPackage -Online | Where-Object $_.DisplayName -notlike "*Microsoft*" | Remove-AppxProvisionedPackage -Online Then retry Sysprep. Identify the specific problematic app from logs, then:

This website uses cookies. More information about the use of cookies is available in the cookies policy.
Accept