Computing.Net > Forums > Windows XP > .bat file to add trusted site in IE

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

.bat file to add trusted site in IE

Reply to Message Icon

Name: A Learner (by Learner Online)
Date: August 23, 2005 at 20:58:40 Pacific
OS: Windows XP SP2
CPU/Ram: 3GHz/1GB
Comment:

Hi

Is it possible to automate adding a secured website into Internet Explorer's trusted site by making .bat file? If yes please let me know its script to make one. Thanks in advance.

Learner



Sponsored Link
Ads by Google

Response Number 1
Name: HakrJ
Date: August 24, 2005 at 02:31:17 Pacific
Reply:

It would take work with a .bat but you can make a .reg file that would look like this

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\regadded.com\www]
"https"=dword:00000002

and just change the "regadded.com" name to the trusted site name, save it and import it. Save it on your desktop and and it will be a lot easier to save trusted sites then going through the control panel


0

Response Number 2
Name: A Learner (by Learner Online)
Date: August 24, 2005 at 17:26:10 Pacific
Reply:

Thank you so much HakrJ. It worked perfectly. Can i add more websites into this .reg file so that with just double-clicking a single file i import more trusted sites ? Thank you once again.

Learner


0

Response Number 3
Name: HakrJ
Date: August 24, 2005 at 23:05:06 Pacific
Reply:

Yeah sure. Just add the line as many times as you want like this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\site1.com\www]
"https"=dword:00000002

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\site2.com\www]
"https"=dword:00000002

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\site3.com\www]
"https"=dword:00000002


0

Response Number 4
Name: A Learner (by Learner Online)
Date: August 28, 2005 at 19:50:53 Pacific
Reply:

Great help. Thanks HakrJ

Learner


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: .bat file to add trusted site in IE

Bat file to run if file is modified www.computing.net/answers/windows-xp/bat-file-to-run-if-file-is-modified/165563.html

modify bat file to delete directory www.computing.net/answers/windows-xp/modify-bat-file-to-delete-directory/167071.html

Can't remove Trusted Site in XP SP2 www.computing.net/answers/windows-xp/cant-remove-trusted-site-in-xp-sp2/112524.html