Add an IE trust site using the registry
The path in the registry is:
HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ ZoneMap\ Domains
Take www.baidu.com as an example
Open the registry regedit-HKEY_CURRENT_USER-Software-Microsoft-Windows-CurrentVersion-
Internet Settings-ZoneMap-Domains
Create a new Key
Named baidu.com.
Create a new DWORD VALUE
Name it * and enter 2
Create a new Key under "baidu" Key
Named WWW
Name it * and enter 2
At this point, www.baidu.com has become a trusted website.
You can export these two registries, and then you can run them directly with an administrator account, and then you can automatically add a website as a trusted website.
Registry code:
[HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ ZoneMap\ Domains\ baidu.com]
[HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ ZoneMap\ Domains\ baidu.com\ www]
"*" = dword:00000002
Just fill in the URL in reverse. Change to a .reg file and add it to the registry as an administrator user account.