Powershell script to copy favorites from IE to Edge in Windows 10

This script copies the favorites for the user logged on from IE to Edge even if they are redirected using folder redirection or not.When Favorites in Internet Explorer is redirected using Folder Redirection for instance, the Edge browser in Windows 10 cannot import the favorites

5 Star
3,152 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
  • Location Moved
    2 Posts | Last post January 09, 2016
    • Thanks for sharing. It seems that the Windows 10 TH2/version 1511/build 10586+ update of Edge has changed where it stores its favorites. There is still a favorites folder located at %Userprofile%\appdata\local\packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\ac\MicrosoftEdge\User\Default\favorites but it is no longer used. MS changed the location to a database but there is a registry entry to force the old behavior which will allow your script to still function.
      I wish there would be a way to force Edge to use the same favorites folder location as IE but that would just make too much sense! 
    • Thanks for pointing this out as I've just wasted time trying to import both manually and using this script and just couldn't get it to work.
      Indeed the location has changed in Threshold 2 update to use an ESE database (see http://answers.microsoft.com/en-us/windows/forum/apps_windows_10-msedge/edge-bookmark-backup/11497b38-b778-43df-8832-013bf67ddd1f?msgId=cab9b0ad-071a-4763-9cb7-3fbbd990f097&auth=1). If you look in
      HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main
      you'll see it has the value "FavoritesESEEnabled" set to 1. Set it to zero, run the script and restart Edge. You should now see your favourties. Now I am presuming you want to migrate the favourites back to the ESE database, so look in 
      HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\UserStateMigration\EdgeMigration]
      and set "DatabaseComplete" and "AllComplete" to 0. Restart the browser and the links should be migrated. "DatabaseComplete", "AllComplete" and "FavoritesESEEnabled" should be set back to 1.
      (for more info, see http://answers.microsoft.com/en-us/windows/forum/windows_10-win_upgrade/edge-favorites-lost-after-wind-10-nov-upgrade/29e0108a-c89b-42eb-aeac-8b5d8bcb2b00?page=3)
      * Warning: Always backup your registry before making changes *
      Hope this helps.