Edge Browser Troubleshooting 1

Edge Browser Troubleshooting – Q&A : I have collated an email chain here on one of the few problems that users had faced with the Edge Browser and the step by step procedures that led to the resolution.
It is an unedited email troubleshooting sequence of real life issues with the Edge Browser. It will help you in quickly getting a grasp of what has to be done in case you too face the same problem.
The solutions are based on the Blog Post : How-to-reinstall-microsoft-edge-browser

Problem – 1

chandramouli

Hi
After step 6 powershell says ”performing the operation ….on target…….xml but after that cursor keeps blinking for hours and never comes to the stage of saying operation completed -what do I do ?


Fernz

January 16, 2016 at 8:52 pm

Hi Chandramouli

Please attach a screenshot of the PowerShell window and send it to me.
Need to analyze the screenshot.

Meanwhile, Open Command Prompt as administrator.

Run SFC /SCANNOW

Once scan completes most probably, you will see the below message:
Verification 100% complete.
If files are corrupt you will get the below message too:
Windows resource protection has found corrupt files and successfully repaired them….

Then Run the below cmdlet in Powershell as admin.

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

Keep me posted with the result.
Always here to Help.


From: Rangan Chandramouli

Sent: Sunday, January 17, 2016 9:10 AM
To: [email protected]

Hi
Based on your message the corrupt files were removed – I restarted the laptop and ran the command sent by you but I got an error message as per screenshot enclosed
Can you suggest a remedy to get back Edge

Edge browser powershell error message


From: [email protected]
Sent: Sunday, January 17, 2016 6:12 PM
To: ‘Rangan Chandramouli’

Hi Chandramouli

In PowerShell
Run the command, copying it directly from the PowerShell window.

Get-AppxLog -ActivityID 5990dba6-50d6 …….. 101

(This command is taken from the screenshot that you sent me)

If you run the PowerSshell command once again  Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

When the error occurs, Read through it and you will find a description under “Note” that says “For additional information, look for [ActivityID] 5990…d101 in the command line Get -AppxLog -ActivityID 599….101”

You can then easily copy the command starting from : Get-AppxLog -ActivityID 5990…..and ending at 101 directly from the PowerShell window.

Based upon the result we can proceed.

Also Please provide a few details of your operating system.

The version of Windows 10 – is it Windows Home or Pro

Was it the first released version or the November update version – Build 10586 – 1511

Was it upgraded from Windows 7/8.1 or a clean install of Windows 10

Is the problem only with Microsoft Edge Browser or are any other windows apps too not working.

Is the Edge Browser working fine in another User account.

Thanks & Regards

Theodore Heston Fernandez


On Sun, Jan 17, 2016 at 8:26 PM, <[email protected]> wrote:
Hi Chandramouli

After following the steps in the previous mail,
Please run this command in PowerShell Admin mode:

Add-AppxPackage -register “C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AppxManifest.xml” -DisableDevelopmentMode -Verbose

If it is a registration issue, it should fix it.

Thanks & Regards
Theodore Heston Fernandez


From: Rangan Chandramouli
Sent: Sunday, January 17, 2016 9:42 PM
To: [email protected]

Hi

Thanks for all the help

Enclosed is another screen shot with the new instructions you gave but it doesnt work

As suggested by you i added another user to the laptop and i was able to open EDGE without any problem. I got windows 10 free when it was first offered last year

I hope you can tell me what I am doing wrong in the Powershell or some other solution since Edge is working as another user

Thanks R Chandramouli

Another Powershell error message for edge browser


On Mon, Jan 18, 2016 at 2:22 AM, <[email protected]> wrote:

Hi Chandramouli

There was a miss when you copied & pasted and ran the command last time to capture the result. Below is a straight forward method.

Please run this command and attach the screenshot of the result.

Get-AppxLog -ActivityID 5990dba6-50d6-0000-52e8-9059d650d101

(This command is taken from the first screenshot that you sent me – Also copy and paste the result into a note pad and attach it.)

Please run this command too and attach the screenshot of the result

Get-AppxLog -ActivityID 5990dba6-50d6-0002-3503-9159d650d101

(This command is taken from the second screenshot that you sent me – Also copy and paste the result into a note pad and attach it.)

————-

To copy and paste into a notepad – you need to use the mouse to select all the contents of the PowerShell window.

Then use CTRL+C on the keyboard to copy

Open a notepad and Then use CTRL+V  to paste ito to the notepad

———-
I am available from 2am IST to all day tomorrow and the day after with a few hours rest in between.

I can support you real-time. This is my Mobile # 9xxxxxxx44. Please send me a message or email me the time you are available, and I can email, message you the required steps for a quicker resolution.

Thanks so much for your persistence in trying to get this issue fixed.

Regards

Theodore Heston Fernandez


From: Rangan Chandramouli
Sent: Monday, January 18, 2016 8:10 AM
To: [email protected]

enclosed are the two screen shots in notepad

powershell 1
powershell 2


On Mon, Jan 18, 2016 at 9:20 AM, <[email protected]> wrote:

Hi Chandramouli
From the attachment results analysis, it seems that a few directories within the edge were not getting deleted, thereby preventing edge registration while trying to re-install edge.

We need to follow a few steps to resolve this problem.

Step 1

Launch Command prompt in Admin mode

Copy and paste the below command

RD /S /Q “C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

Hit enter

RD /S /Q “C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

Hit enter

RD /S /Q “C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

Hit enter

Close command prompt.

If you notice, we have run the same command 3 times. It is to ensure all the directories and the folder itself is completely deleted, This is done until you  get the final message :

“The system cannot find the file specified”

I am attaching a sample screenshot on how the command prompt window should look after the commands are run.

Deleting the edge folder using command prompt

Step 2

Then launch PowerShell in Admin mode.

Copy and Paste the below command.

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

Hit enter

Close PowersShell.

Launch Edge Browser. Wait for some time for it to load.

Let me know the result.

Based upon the outcome of these 2 steps, we can figure out if more steps are required.

Please take screenshots of the command prompt and PowerShell window too.

Regards

Theodore Heston Fernandez


From: Rangan Chandramouli
Sent: Monday, January 18, 2016 12:14 PM
To: [email protected]
Sir

Please see the response in the first step that the file is corrupted

R Chandramouli

comman prompt.txt


On Mon, Jan 18, 2016 at 4:23 PM, <[email protected]> wrote:

Hi Chandramouli,

We have now narrowed down  the problem.

Our Aim is to delete the Folder “Microsoft.MicrosoftEdge_8wekyb3d8bbwe”  However there is a folder inside it by the name “AC” and some files inside “AC” which is corrupted that is preventing deletion.

{The files can be seen when Hidden items are enabled & “Hide protected operating system files” is unchecked)

The folder location is :

C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe


We can try many ways to delete that folder, It may take some time and effort. May have to use free third party tools.

We can do a workaround by trying to just RENAME THE FOLDER, thereby disabling it.

Step 1

Restart the Computer

(The computer has to be restarted, to make sure no folders or files related to edge browser are open – if not we cannot rename it.)

Step 2

Launch Command prompt in Admin mode

Copy and paste the below command:

REN “C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe” “Microsoft.MicrosoftEdge_8wekyb3d8bbwe.OLD”

Hit Enter

REN “C:\Users\rchandramouli\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe” “Microsoft.MicrosoftEdge_8wekyb3d8bbwe.OLD”

Hit Enter

We run this command twice until you see “The system cannot find the file specified” so that we can make sure the folder is in fact renamed.

I am attaching a sample screenshot on how the command prompt window should look after the commands are run.

cs-ps-rename-directory-using-cmd

 

IF THE FILE RENAMING IS SUCCESSFUL, THEN WE CAN PROCEED TO STEP 3

Step 3

Launch PowerShell in Admin mode.

Copy and Paste the below command.

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

Hit enter

Once Operation completes, Close PowerShell.

Launch Edge Browser. Wait for some time for it to load.

Please take screenshots of the command prompt and PowerShell window too.

Regards

Theodore Heston Fernandez


From: Rangan Chandramouli
Sent: Monday, January 18, 2016 4:45 PM
To: [email protected]

Hi Theodore

In the Explorer The AC folder has two folders#!002 and Microsoft Edge –The 002 has a Microsoft Edge folder ==All three folders are empty though the Hidden items box is checked in the View

These folders are dated 16th Jan 2016— As per instructions I remember having deleted the main folder in Packages  a few days back

Do I still proceed with what you have suggested?


On Mon, Jan 18, 2016 at 5:06 PM, <[email protected]> wrote:

Hi Chandramouli

Please proceed and let me know the result.

Regards
Theodore Heston Fernandez


From: Rangan Chandramouli
Sent: Monday, January 18, 2016 6:35 PM
To: [email protected]

Dear Theodore
Thanks a lot for your time and patience–The suggested actions worked and I am now able to use the Edge
Any idea whether it is some flaw in Windows 10 and it may recur  and any precautions that can be taken to prevent it

With kind regards
R Chandramouli


On Mon, Jan 18, 2016 at 6:51 PM, <[email protected]> wrote:

Hi Chandramouli
Very happy to hear that the issue with Edge was finally resolved.
Though Windows 10 is a very good operating system, It seems to be fragile. sometimes conflict with other programs tend to break the Apps.

I had issues with  Edge the 2nd day I installed Windows 10. Then another issue with Edge re-occurred after 110 days due to conflict with Drop box.
Then an issue with Edge in another user account. It is left to Microsoft to make Windows 10 more stable.

I should also thank you for your time and patience for trying the steps to resolve the problem.
Please take time to post in the comments section of my Blog that the issue was resolved.

Thanks & Regards,
Theodore Heston Fernandez


rangan chandramouli
January 18, 2016 at 5:52 pm
Hi Thanks for all the step by step help that enabled me to resolve the problem with Edge and have it working again


Fernz
January 18, 2016 at 6:46 pm
A Very Big Thank You to Chandramouli for giving me the opportunity to help resolve the problem with The Edge Browser.
His patience in following troubleshooting steps through email was awesome.

And this helps the whole Windows 10 Community. Thanks Once again Chandramouli.

The issue was caused due to a corrupt file in the C:\Users\UserName\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe Folder, which prevented re-installation of the Edge Browser.

I have updated the solution in STEP 3 (18 January 2015) in this Blog Post, so that any issues related to corrupted files in this folder will be taken care.



 

Subscribe on Youtube

Share