How to reinstall Microsoft Edge

The Microsoft Edge browser is not a classic but a true Windows 10 application. It can be located in the folder

C:\Users\your_username\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
Despite of usual behavior of most of Windows applications, this one cannot be uninstalled. If you right-click on Edge icon, there won’t be showed the option Uninstall.
Microsoft protects all important elements of their operating system and they do the same with the Edge.

Sometimes we need to reinstall application, just because it fails, hangs, opens and closes immediately etc. I destroyed the Edge when I tried to move it cache and removed one of its folder. Although I had restored this folder, the Edge failed every time I was trying to launch it.

So if you need to reinstall Edge in order to repair it, just remove its folder (mentioned above), open a Powershell with a right-click and choose Run as administrator as you ca see on the picture below:

pwoershell

In a copy and paste in Powershell Window the following command

Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

powershellwin

When you press Enter the Edge installation will begin and after a while you’ll enjoy brand new and free of errors Microsoft Edge.