Jump to content

Add a trusted site to the registry...


Klexen
 Share

Recommended Posts

Can someone help me write this in autoit?

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\site.com\www]

"https"=dword:00000002

I did this... But it isn't working.

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\dell.com\www","https","REG_DWORD",00000002)
Edited by Klexen
Link to comment
Share on other sites

Your regwrite successfully put into the registry on my computer. Now, depending on other settings in the registry it will/will not show up in the internet options trusted sites.

If HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Security_HKLM_only is set to 1 then you would have to modify in HKLM instead of HKCU to make it show up in internet options.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...