Sign in to follow this  
Followers 0
Klexen

Add a trusted site to the registry...

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



i do this add http://10.150.50.50

$reg01= RegWrite( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1", ":Range", "REG_SZ", "10.150.50.50" )
$reg02 = RegWrite( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1", "*", "REG_DWORD", "2" )

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0