Hello @sns,
As per the error log
2023-12-05 05:59:58, Error SYSPRP Package Microsoft.MicrosoftEdge.Stable_119.0.2151.72_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2023-12-05 05:59:58, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2023-12-05 05:59:58, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2023-12-05 05:59:58, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
/////////////
It is complaining about the application Microsoft.MicrosoftEdge !!
Can you run the below command in the powershell prompt before you run the sysprep:
get-appxpackage -allusers -name "Microsoft.MicrosoftEdge" | Remove-appxpackage
Then retry the sysprep ! Let us know if that helps !
Regards,
Shiva.