Anye
Anye
Published on 2025-01-13 / 10 Visits
0
0

Uninstall Edge in Windows 11

Preface

Well, Edge does have its good side—its built-in Microsoft Translator is quite fast and definitely a top choice given that Chrome's built-in translation feature is currently not working (hello 李玲玲). However, its deep integration with the Microsoft ecosystem and its rather heavy footprint ultimately led me to abandon Edge and seek ways to uninstall it. I found many tutorials that were quite outdated (likely due to Microsoft's policy changes), but finally came across a reliable guide on XDA. I'll optimize the steps based on my own experience.

Original Guide:

https://www.xda-developers.com/how-uninstall-microsoft-edge-windows/

Download ViVeTool

https://github.com/thebookisclosed/ViVe/releases

ViVeTool is a tool used to enable or disable hidden features in Windows. After downloading the appropriate version, extract it to an accessible directory, for example, C:\ViVeTool.

Enable Feature

Right-click the Start menu, go to "Windows Terminal (Admin)", execute cd C:\ViVeTool to enter the ViVeTool directory, then run:

./vivetool /enable /id:44353396

This enables the feature. (Despite searching for a long time, I still don't know what exactly the id:44353396 does 😅)

Query Windows Regional Configuration

  • In Command Prompt (cmd), execute:

for /f "tokens=3" %a in ('reg query "HKEY_USERS\.DEFAULT\Control Panel\International\Geo" /v Name 2^>nul') do @echo %a
  • Or in PowerShell, run:

(Get-ItemProperty -Path 'Registry::HKEY_USERS\.DEFAULT\Control Panel\International\Geo' -Name Name).Name

Remember the printed value, such as CN here.

# Example
Microsoft Windows [Version 10.0.26100.1742]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Anye>for /f "tokens=3" %a in ('reg query "HKEY_USERS\.DEFAULT\Control Panel\International\Geo" /v Name 2^>nul') do @echo %a
CN

Modify Configuration Files

To avoid damaging the system file permissions, I recommend using a PE or Linux Live CD to modify configuration files. I used Ubuntu Desktop for this task.

Do not enable BitLocker, as it will prevent mounting the Windows partition.

Restart into the Ubuntu Desktop installation disc, mount the Windows system partition, and find the C:\Windows\System32\IntegratedServicesRegionPolicySet.json file. Locate the element where the content is Edge is uninstallable, as shown below:

{
  "$comment": "Edge is uninstallable.",
  "guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
  "defaultState": "disabled",
  "conditions": {
    "region": {
      "enabled": ["AT", "BE", "BG", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GF", "GP", "GR", "HR", "HU", "IE", "IS", "IT", "LI", "LT", "LU", "LV", "MT", "MQ", "NL", "NO", "PL", "PT", "RE", "RO", "SE", "SI", "SK", "YT"]
    }
  }
}

Modify defaultState to enabled, and in the enabled list, add the value CN (the geographical value you obtained earlier), as shown below:

{
  "$comment": "Edge is uninstallable.",
  "guid": "{1bca278a-5d11-4acf-ad2f-f9ab6d7f93a6}",
  "defaultState": "enabled",
  "conditions": {
    "region": {
      "enabled": ["CN", "AT", "BE", "BG", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GF", "GP", "GR", "HR", "HU", "IE", "IS", "IT", "LI", "LT", "LU", "LV", "MT", "MQ", "NL", "NO", "PL", "PT", "RE", "RO", "SE", "SI", "SK", "YT"]
    }
  }
}

Save and exit, then reboot into Windows.

Uninstall Edge

At this point, you should be able to find Edge in the Start Menu and right-click to uninstall it.

Restore Feature State

If you'd like, you can execute:

./vivetool /disable /id:44353396

To disable the preview feature and restore the original IntegratedServicesRegionPolicySet.json configuration (though this is unnecessary as this setting in the configuration file is no longer relevant).


Comment