Cannot uninstall WebView silently

Karen Malagón 26 Reputation points
2021-05-13T20:46:21.247+00:00

Hello everyone!

I have installed the WebView that I got from here . I use this command line to install it silently MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install But now I need to uninstall it silently, using the command line.

So far I'm able to uninstall it with this .\setup.exe --uninstall --msedgewebview --system-level --verbose-logging
Already I tried with --silent, --quiet, --q, --passive, but nothing works. Do you have any idea? Thanks in advance!

This is the UninstallString, from there i got the line for uninstallation:

96521-image.png

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,357 questions
{count} vote

Accepted answer
  1. Yu Zhou-MSFT 13,591 Reputation points Microsoft Vendor
    2021-05-14T09:44:18.477+00:00

    Hi @Karen Malagón

    You can use the steps below to uninstall WebView2 silently:

    1. Navigate to the folder where WebView2 setup.exe exists using the command below: cd C:\Program Files (x86)\Microsoft\EdgeWebView\Application\90.0.818.56\Installer
    2. Uninstall WebView2 silently using the command below, the key word is --force-uninstall: setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Anique Naushad 31 Reputation points
    2022-01-21T11:34:12.973+00:00

    Hi,
    I'm getting this error Command exited with unmapped or failure return code 19 while using the above command.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.