User Agents

Web browsers and everyday web tech, explained

How to Uninstall Microsoft Edge WebView2 Runtime

· 4 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Uninstalling the Microsoft Edge WebView2 Runtime allows you to remove the component that lets other applications embed web content using the Edge engine. While many modern apps rely on this to display interfaces, removing it can free up disk space or resolve conflicts if the installation has become corrupted. Because WebView2 is often integrated into the system or required by other software, it cannot always be removed through the standard Settings menu, requiring the use of the Command Prompt or specialized uninstall strings.

What You'll Need

  • A Windows PC with administrative privileges.
  • Access to the Command Prompt (CMD) run as Administrator.
  • The specific version number of the WebView2 Runtime installed on your machine.

Step-by-Step

  1. Identify the Installation Path: Open File Explorer and navigate to the folder where WebView2 is installed. This is typically located at C:\Program Files (x86)\Microsoft\EdgeWebView\Application.
  2. Find the Version Folder: Inside the Application folder, you will see a folder named with a version number (e.g., 120.0.2210.91). Open this folder, then open the Installer folder located inside it.
  3. Open Command Prompt as Administrator: Click the Start menu, type "cmd", right-click on Command Prompt, and select "Run as administrator". This is critical; the uninstall command will fail without elevated permissions.
  4. Navigate to the Installer Directory: In the Command Prompt window, type cd followed by a space, and then paste the full path to the Installer folder you found in Step 2. For example: cd "C:\Program Files (x86)\Microsoft\EdgeWebView\Application\120.0.2210.91\Installer". Press Enter.
  5. Execute the Uninstall Command: Once you are inside the Installer directory, type the following command exactly: setup.exe --uninstall --msedgewebview --system-level. Press Enter.
  6. Verify Removal: Go to Settings > Apps > Installed Apps (or Control Panel > Programs and Features) and search for "Microsoft Edge WebView2 Runtime" to ensure it is no longer listed.

Common Mistakes

  • Running CMD without Admin Rights: Attempting to run the setup.exe command in a standard user window will result in an "Access Denied" error.
  • Incorrect Version Path: Using a path from an online tutorial instead of your own local version folder. Since WebView2 updates frequently, the version number in the folder path must match exactly what is on your drive.
  • Confusing WebView2 with Microsoft Edge: Attempting to use these steps to uninstall the Edge Browser itself. WebView2 is a runtime component for other apps, not the browser application.

Tips

  • Create a System Restore Point: Before removing system components, create a restore point. If a critical app (like Microsoft Teams or Outlook) stops working after the uninstall, you can quickly revert the changes.
  • Check Dependencies: Be aware that if you use apps like Widgets, Teams, or certain third-party launchers, they may crash or fail to load content after WebView2 is removed.
  • Use Quotes for Paths: When using the cd command, always wrap the file path in double quotes if there are spaces in the folder names (e.g., "Program Files").

Troubleshooting

If the setup.exe command does not work or returns an error, try the following solutions:

  • Force Close Dependent Apps: Open Task Manager (Ctrl+Shift+Esc) and end all processes related to Microsoft Edge or any app that might be using the WebView2 runtime before running the uninstall command.
  • Use the Registry Editor: If the files are missing but the entry remains in the Apps list, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall and search for the WebView2 key to manually remove the registry entry.
  • Reinstall then Uninstall: If the installation is corrupted, download the latest WebView2 Runtime bootstrapper from the official Microsoft site, install it to repair the files, and then attempt the command-line uninstall again.

Frequently Asked Questions

Is it safe to uninstall Microsoft Edge WebView2?

It is generally safe for the OS, but it may break the functionality of other applications that rely on it to render web content within their interface.

Why is the Uninstall button greyed out in Settings?

Microsoft marks WebView2 as a system-critical component for many Windows features, which disables the standard uninstall button to prevent accidental removal.

Will this remove my Microsoft Edge browser?

No. WebView2 is a separate runtime engine. Uninstalling it will not remove the Edge web browser from your computer.

Can I reinstall WebView2 if I change my mind?

Yes, you can download and reinstall the WebView2 Runtime from the official Microsoft developer website at any time.

Does WebView2 slow down my computer?

By itself, it does not slow down the PC, but applications that use it may consume significant RAM, as each instance runs as a separate process.