Adding Edge Secure Network sites & exceptions using a script


WinFan

Member
Local time
8:40 PM
Posts
11
OS
Windows 11
How can sites be added to the Edge list in Privacy, search, and services -> Secure Network sites & exceptions using a script?
Where are these site names stored? They do not appear to be in the registry.
Thanks
Win11 24H2, Edge Version 132.0.2957.115 (Official build) (64-bit)
 
Windows Build/Version
24H2

My Computer

System One

  • OS
    Windows 11
Can you, probably. Will it be easy I doubt it.
Since Edge is based on Chromium the data is most likely stored in a sqlite file, so you'll need a tool or write a script that can access and write to SQLite files.

Looks like Edge stores all SQLite files (user settings etc here) C:\Users\<username>\AppData\Local\Microsoft\Edge\User Data\Profile 2

It may be Profile # where # is a different number other than 2
 

My Computer

System One

  • OS
    Windows 11
The problem is that sites in this the "Secure Network sites & exceptions" list are deleted on exit if the Edge "Clear browsing data on close -> Site permissions" setting is selected. It would be great if this setting was broken into multiple sub-settings. It took a while to figure out that this didn't only affect the "Cookies & site permissions -> Site permissions" section, and also affected a few other places where site-specific exclusions and inclusions were added.

When this happens, I want to add some sites back, but it is tedious to do it manually.
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Back
Top Bottom