Hi,
It looks like you're encountering a common issue with Sysprep on Windows 11 version 24H2. The error code 0x80073cf2
typically indicates a problem with removing certain Microsoft Store apps that are installed for the current user but not provisioned for all users.
Here are some steps you can try to resolve this issue:
- Identify the problematic app: Check the Sysprep logs to identify which app is causing the issue. You can find the logs in
C:\Windows\System32\Sysprep\Panther\setupact.log
. - Remove the app: Once you've identified the problematic app, you can remove it using PowerShell. For example, if the issue is with the
Microsoft.WidgetsPlatformRuntime
package, you can use the following command:
Make sure to replace the package name with the one causing the issue on your system.Remove-AppxPackage -Package Microsoft.WidgetsPlatformRuntime_1.6.1.0_x64__8wekyb3d8bbwe
- Retry Sysprep: After removing the problematic app and ensuring it doesn't reinstall, try running Sysprep again.
Let me know if you need further assistance!