Programmatically add trusted sites to Internet Explorer
Have a look at this Basically it looks as if all you have to do is create registry key in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\DOMAINNAME then a REG_DWORD value named “http” with value==2