Sysprp Failed To Remove Apps For The Current User 0x80073cf2 Better -

After this, reboot and re-run Sysprep. To prevent recurrence in reference images:

# 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: sysprp failed to remove apps for the current user 0x80073cf2

# Step 1: Remove ALL provisioned packages Get-AppxProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online -AllUsers Get-AppxPackage -AllUsers | Remove-AppxPackage -AllUsers Step 3: Re-register inbox apps (re-adds necessary system apps) Add-AppxPackage -DisableDevelopmentMode -Register "$env:SystemRoot\SystemApps*\AppxManifest.xml" Step 4: Block Store auto-install during OOBE (if desired) reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f After this, reboot and re-run Sysprep

Document ID: WIN-SYSPREP-009 Severity: High (Image preparation blocker) Applies to: Windows 10/11 (1809 and later), Windows Server 2019/2022 1. Executive Summary The error sysprep failed to remove apps for the current user 0x80073cf2 occurs during the generalization phase of Windows System Preparation (Sysprep). This prevents successful image capture for deployment. The error indicates a critical failure where Sysprep cannot remove provisioned modern (UWP/Store) applications for the built-in administrator or current user context. This paper outlines the root cause, diagnostic steps, and three validated remediation methods. 2. Error Description & Context When executing sysprep /generalize /oobe /shutdown , the process validates that all provisioned apps can be removed for the current user. Error 0x80073cf2 translates to: ERROR_APPPACKAGE_INTERACTION_NOT_ALLOWED – The interaction with the app package is not allowed because it is blocked by policy or system constraints. Full typical error log excerpt (from %WINDIR%\System32\Sysprep\Panther\setuperr.log ): Executive Summary The error sysprep failed to remove

Scroll to Top