How to uninstall edge from windows 10 22h2, unable to generalise the VM because of edge.

Anonymous
2024-04-17T12:00:20+00:00

I am trying to sys prep a single session AVD with windows 10 22h2 and I get the error that edge was installed for a user but not provisioned for all users. How to uninstall edge so I can sysprerp.

***moved from Microsoft Edge / Install and update / Windows 10***

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote
Accepted answer
  1. Anonymous
    2024-04-19T00:34:23+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful