Hello,
We may first check if edge is installed system-wide or for specific user.
If the folder exists under %PROGRAMFILES(X86)%\Microsoft\Edge\Application
,it means Edge is installed system wide. we can try use Get-AppxPackage (Appx) | Microsoft Learn
Remove-AppxPackage (Appx) | Microsoft Learn to remove such package.
If the folder only exists in specific user App Data C:\Users\{Username}\AppData\Local\Microsoft\Edge
. It indicates that Edge has been used by that user.
Once we identify the user account with the Edge installation, we can log into that account and uninstall Edge via the Control Panel or Programs & Features. If this fails, also try to remove edge by the above PowerShell command for all users.
Sysprep fails with Microsoft Store apps - Windows Client | Microsoft Learn
Regards,
Karlie