How to fix the non-responsive Edge

There is no doubt that the newest Microsoft browser – Edge is non-usable for many of us due to its dramatic slowness on certain pages. The good news are: it is a history.
I was very determined to solve this problem. I has been inspired by many ideas spread over Microsoft community forums.
I don’t know why but the solution is to move Edge cache folder to other location. The problem is that Edge doesn’t provide such possibility. This is why we must help on our own.
The Edge’s cache folder is in the following location:
%USERPROFILE%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC
We need to copy this folder to other location, but firstly we need to take full ownership of the folder. To do it launch Command Prompt in administrator mode:
1. Close Edge if it’s open. Presss Win+X and choose Command Prompt (Admin)
2. Copy and paste the following command:
takeown /F “%USERPROFILE%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC” /A /R

and press Enter to execute it.

3.  Copy the whole folder AC to other location (in my example this is disk E:\). Use the following command:

robocopy “%USERPROFILE%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC” “E:\Edge Cache” /E /COPYALL /DCOPY:DAT

It maybe take several minutes so be patient.

4.  Rename the original cache folder to whatever name

ren “%USERPROFILE%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC” “AC Backup”

You can delete the folder but be warned that if something goes wrong you will have to reinstall the Edge.

5. Make a symbolic link in the Edge folder with the command:

mklink /D “%USERPROFILE%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC” “E:\Edge Cache”

Notice that the link points to our my cache folder E:\Edge Cache. If you have it in other location just insert full path to it instead the one from my example.

That’s all. Just open the Edge and try some problematic pages. I hope that they will be as responsive as they should be for now.

 

How to prevent Edge to restore last tabs

By default, Edge browser restores all tabs when you restart it after a crash or simple system shut down. This can be frustrating especially when your computer can be used by other persons who are able to see your last browsing history.  Unfortunately Microsoft forgot to make easy to turn this feature off.

First of all to unable auto recover feature you should have open Edge’s Settings

 

and define the content which Edge opens with. It can be anything but not ‘Previous pages’. I have set Specific page – bing.com as you can see above.

Unfortunately this setting is not enough. Obviously when you close Edge and reopen it, it won’t restore previously open tabs, but if you shut down the system and don’t close Edge before, It will restore again all tabs after restart.

To prevent this behaviour you must edit the windows registry.:

  1. Press Win+S to open Windows 10 search feature and type regedit
  2. Launch regedit and find a key HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoftreg1
  3. Enter new key MicrosoftEdge and its sub-key Recovery as you can see on the picture below:
    reg2
  4. Add new DWORD (32 bits) value inside the Recovery keyreg3
  5. Give a name AutoRecover to this new value and set its value to 2 as you can see on the next picture below

 

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.