recently this server has been OS upgraded from 2016 to 2019 OS is this reason for that sysprep issue?
Sysprep failed on windows server getting below error for cloning server
Error SYSPRP Package Microsoft.Windows.SecondaryTileExperience_10.0.0.0_neutral_cw5n1h2txyewy was installed for a user,
but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
4 answers
Sort by: Most helpful
-
-
Harry Phan 15,915 Reputation points Independent Advisor
2026-03-10T08:46:08.1+00:00 Hi Shaik,
This occurs because the Store app Microsoft.Windows.SecondaryTileExperience is installed for a user but its provisioned copy still exists in the system image, which blocks Sysprep. The correct approach is to remove the package for all users first, not only the current profile, otherwise
Remove-AppxPackagereturns error 0x80073CF2. Run PowerShell as Administrator and execute:Get-AppxPackage -AllUsers Microsoft.Windows.SecondaryTileExperience | Remove-AppxPackage -AllUsersThen remove the provisioned copy from the OS image using:Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -like "Microsoft.Windows.SecondaryTileExperience"} | Remove-AppxProvisionedPackage -Online. Reboot the server and run Sysprep again; if the error persists, checkC:\Windows\System32\Sysprep\Panther\setupact.logbecause another Store app may be triggering the same condition.I hope it's helpful. If it is, please give it a thump up or an accept answer, appreciate it :)
Harry.
-
Bashavali Shaik (External) 0 Reputation points
2026-03-10T08:30:34.64+00:00 I am unable to remove that dll below package
Remove-AppxPackage -Package <packagefullname> -
Q&A Assist2026-03-10T07:50:07.6233333+00:00 AI generated content. This question contains an answer created with AI from Q&A Assist. Learn moreSysprep is failing because a Microsoft Store app (
Microsoft.Windows.SecondaryTileExperience_10.0.0.0_neutral_cw5n1h2txyewy) is installed for the current user but is no longer provisioned for all users. This causes the Appx cleanup provider in Sysprep to fail with 0x80073cf2 / 0x3cf2.To fix the issue on the reference (source) server before cloning:
- Open PowerShell as Administrator.
- List the problematic package and the users it is installed for:
Import-Module Appx Import-Module Dism Get-AppxPackage -AllUsers | Where-Object { $_.PackageFullName -like 'Microsoft.Windows.SecondaryTileExperience*' } | \ Format-List -Property PackageFullName,PackageUserInformation - For each user where the package shows as Installed, either:
- Delete that user profile from the reference server, or
- Sign in as that user and run the removal command in step 4.
- Remove the Appx package for the affected user account(s):
ReplaceRemove-AppxPackage -Package <packagefullname><packagefullname>with the exactPackageFullNamefrom step 2. - Remove the provisioning for the package so it is not treated as an all-user app:
Remove-AppxProvisionedPackage -Online -PackageName <packagefullname> - Ensure the server is not updating Store apps while preparing the image (for example, disconnect from the Internet or disable Automatic Updates in Audit mode) so the issue does not reoccur.
- Run Sysprep again with the desired options.
If additional Store apps cause the same error, repeat steps 2–5 for each affected package reported in
C:\Windows\System32\Sysprep\Panther\setupact.log.
References: