How to perform backup of browser-favorites in MS edge with powershell

Sandro D'Incà 226 Reputation points
2020-11-13T14:29:37.76+00:00

our users are working with microsoft edge. the business-account is logged in automatically in the browser and favorites are synched into ms azure.
nevertheless we would like backup our users browser favorites. in the old-IE-days we could easily grab the favorites-folder in the user-profile...

is there a supported solution to properly backup automatically the edge favorites from our AD-users? (for example with a powershell script?)
as far as we know, there is no possibility to view, manage or backup the favorites in the ms-azure-cloud....

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,147 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Yu Zhou-MSFT 12,061 Reputation points Microsoft Vendor
    2020-11-16T07:45:56.923+00:00

    Hi @SandroDlnc-0330

    The Edge favorites data is in this file: C:\Users\username\AppData\Local\Microsoft\Edge\User Data\Default\Bookmarks. So you only need to get data from this file.

    I found a similar thread and tested the powershell script in the answer, it can work well with Edge 86.0.622.69. You can also try the PowerShell-Script EdgeChromium-Bookmarks-Backup-JSON-to-HTML.ps1. Please note to change the Path to EdgeChromium Bookmarks File to the following if you're using Edge stable version:

    $JSON_File_Path = "$env:localappdata\Microsoft\Edge\User Data\Default\Bookmarks"  
    

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    0 comments No comments

  2. Sandro D'Incà 226 Reputation points
    2021-01-28T13:25:54.62+00:00

    Hi Yu Zhou

    i already knew the script from gunnar. but it was wrote for the edge V79 beta-release. in my case i have tested the script, but icons in the favorites-bar are gone or merged with the standard-favorites. the folder-structure was also gone.
    so for me its not the perfect solution actually :-/

    0 comments No comments

  3. SCCMOG 1 Reputation point
    2022-02-08T22:16:40.353+00:00
    0 comments No comments