Sysprep Microsoft Widget Runtime
Get-AppxPackage -AllUsers | Where-Object {$_.PackageFullName -like "Microsoft.WidgetsPlatformRuntime"} | Format-List -Property PackageFullName,PackageUserInformation
run the above command in power shell as admin
then for each of the packages listed
Remove-AppxPackage -Package <PackageFullName> -AllUsers
Replace <PackageFullName> with the actual package name you found in the previous step.
Next, remove the provisioned package using:
Remove-AppxProvisionedPackage -Online -PackageName <PackageFullName>
After removing the package, try running Sysprep again.
If these steps don't resolve the issue, you might need to check the Sysprep logs for more details. The logs are located at %WINDIR%\System32\Sysprep\Panther\setupact.log.