Sysprep failed on windows server getting below error for cloning server

Bashavali Shaik (External) 0 Reputation points
2026-03-10T07:49:56.3533333+00:00

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

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Harry Phan 32,025 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-AppxPackage returns error 0x80073CF2. Run PowerShell as Administrator and execute: Get-AppxPackage -AllUsers Microsoft.Windows.SecondaryTileExperience | Remove-AppxPackage -AllUsers Then 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, check C:\Windows\System32\Sysprep\Panther\setupact.log because 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.

    Was this answer helpful?

  2. 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>

    Was this answer helpful?

    0 comments No comments
  3. AI answer

    2026-03-10T07:50:07.6233333+00:00

    Sysprep 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:

    1. Open PowerShell as Administrator.
    2. 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
      
    3. 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.
    4. Remove the Appx package for the affected user account(s):
         Remove-AppxPackage -Package <packagefullname>
      
      Replace <packagefullname> with the exact PackageFullName from step 2.
    5. Remove the provisioning for the package so it is not treated as an all-user app:
         Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>
      
    6. 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.
    7. 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:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?