Wednesday, August 2, 2017

HOW TO REINSTALL MICROSOFT EDGE

Reinstalling Microsoft Edge is difficult but I will try to describe how to do it.  First of all, understand
that Microsoft Edge normally exists as a "package" which is essentially a folder with a set of files which must be installed to properly install Microsoft Edge.  Do the following:
To be sure a package exists on your machine:
1) Scroll down Start menu and find "Windows Powershell" and click to open
2) RIGHT Click "Windows Powershell" displayed under "Windows Powershell", and hover on "More>"
3) Click "Run as Administrator"
4) enter the command "Get-AppxPackage -allusers | more"
   This should generate LOTS of output.  Hit the space bar to go through it page by page.
   Look for an entry which references Microsoft Edge like the one below.  Type "q" to exit
   the scrolling list.
Name                   : Microsoft.MicrosoftEdge
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture           : Neutral
ResourceId             :
Version                : 38.14393.0.0
PackageFullName        : Microsoft.MicrosoftEdge_38.14393.0.0_neutral__8wekyb3d8bbwe
InstallLocation        : C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
IsFramework            : False
PackageFamilyName      : Microsoft.MicrosoftEdge_8wekyb3d8bbwe
PublisherId            : 8wekyb3d8bbwe
PackageUserInformation : {S-1-5-21-652432458-1574307298-3343364176-1002 [rjohn_000]: Installed}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
Go to the directory listed to the right of "InstallLocation:" above.  Usually this will be something 
like C:\Windows\SystemsApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe but not always.  This
directory SHOULD contain everything you need to install Microsoft Edge BUT it could be corrupted. 
More specifically,  it MUST have a file named "AppxManifest.xml" and this file must be correct and
contain in XML format  all of the directions necessary for the Edge package to load correctly.  If this
file is missing or bad, you will need to fetch a healthy copy of the Microsoft Edge package.  First, back
up your machine by creating a restore point.  Delete the contents of this directory (you may have to change security specifications and ownership on this directory to do this) and then fetch it 
again via the command:
Get-AppxPackage -AllUsers -name Microsoft.MicrosoftEdge
and then add the package via the command:
C:\WINDOWS\System32> Add-AppxPackage -register "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
All on one line where the directory string in this command is the directory string you found to the
right of"InstallLocation:" above.
Note that you can get and install ALL packages via the command:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
all on one line but I don't recommend it. If AppXManifest.xml is missing or corrupted for any
package then the whole thing comes to a complete stop.  It is also overkill and takes more time. 
Not Good.  After doing this restart your machine.  Hope this works for you.  Let me know what happens.  Good luck.  --Rob Johnson

https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-msedge/how-to-reinstall-microsoft-edge/953bfbe4-e62c-4cc3-929f-047a8ebd025d

No comments:

Post a Comment