Fixing Microsoft Edge

1- If you're running Microsoft Edge, close it.

2- Open File Explorer and type the following path into the address: C:\Users\UseYourUsername\AppData\Local\Packages and hit Enter. (Remember to replace "UseYourUsername" with your user account name.)


3- Select and try to delete the Microsoft.MicrosoftEdge_8wekyb3d8bbwe folder as you would with any other folder. If you get a "Folder Access Denied" prompt, simply click Continue. Also, there might be some content that you won't be able to delete. If this is the case, in the dialog box, select to skip the files.


You should be able to delete most of the content inside the folder, but if you can't right-click Microsoft.MicrosoftEdge_8wekyb3d8bbwe, select Properties, remove the check from the Read-only option, and click Apply and OK.


4- Once you've tried deleting all the content, go inside the Microsoft.MicrosoftEdge_8wekyb3d8bbwe folder and try deleting the remaining folders by selecting all the folders, right-clicking them, selecting Delete, and clicking Yes to confirm the deletion. You may notice that you can't delete AC folder, but that's alright.


5- Restart your computer.


6- Now, were going to re-register Microsoft Edge in your account. Open the Start menu, search for Windows PowerShell, right-click it from the result, and select Run as administrator.


7- Type the following command and hit Enter:


cd C:\Users\UseYourUsername.

*(Remember to replace "UseYourUsername" with your user account name.)


Then, type the following command exactly and hit Enter:

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