{"id":36,"date":"2019-08-06T10:53:40","date_gmt":"2019-08-06T09:53:40","guid":{"rendered":"https:\/\/www.syslab.network\/?page_id=36"},"modified":"2022-01-16T21:36:51","modified_gmt":"2022-01-16T21:36:51","slug":"internet-explorer-exceptions-trusted-sites","status":"publish","type":"page","link":"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/internet-explorer-exceptions-trusted-sites\/","title":{"rendered":"IE Exceptions (Trusted Sites)"},"content":{"rendered":"<div class=\"post-content\"><div id=\"ccchildpages-1\" class=\"ccchildpages fourcol simple ccclearfix\"><ul class=\"ccchildpages_list ccclearfix\"><li class=\"page_item page-item-65\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-exceptions-privacy\/\">IE Exceptions (Privacy)<\/a><\/li>\n<li class=\"page_item page-item-70\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-ssl-tls\/\">IE SSL \/ TLS<\/a><\/li>\n<li class=\"page_item page-item-84\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-compatibility-view\/\">IE Compatibility View<\/a><\/li>\n<li class=\"page_item page-item-129\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-proxy\/\">IE Proxy<\/a><\/li><\/ul><\/div>\n\n\n\n<p>The most criticized browser over the years continues to be widely used in specific cases such as companies that don't want to invest into upgrading software or hardware. <br> Whatever software or hardware you need to repeatedly add IE exceptions to, here is a short script to make the task a click away.<\/p>\n\n\n\n<p>Let\u00b4s start<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"409\" height=\"535\" src=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted.png\" alt=\"\" class=\"wp-image-42\" srcset=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted.png 409w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted-229x300.png 229w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted-100x131.png 100w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted-150x196.png 150w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted-200x262.png 200w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/trusted-300x392.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><figcaption>IE Trusted sites<\/figcaption><\/figure><\/div>\n\n\n\n<p> To add the exceptions in the Trusted Sites Zone we need  a subfolder and 3 keys, on   every site we need.<\/p>\n\n\n\n<p>The path to create the keys<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;vbscript&quot;,&quot;mime&quot;:&quot;text\/vbscript&quot;,&quot;theme&quot;:&quot;blackboard&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;VBScript&quot;,&quot;modeName&quot;:&quot;vb&quot;}\">strRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\&quot;<\/pre><\/div>\n\n\n\n<p> In addition to the path we have to create the subfolder with site name.<\/p>\n\n\n\n<p>First key is the default key<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;vbscript&quot;,&quot;mime&quot;:&quot;text\/vbscript&quot;,&quot;theme&quot;:&quot;blackboard&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;VBScript&quot;,&quot;modeName&quot;:&quot;vb&quot;}\">WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; ,&quot;&quot; , &quot;REG_SZ&quot;<\/pre><\/div>\n\n\n\n<p>The \"Site\" variable is the site name to create the subfolder<\/p>\n\n\n\n<p>Second key contains the name or IP we want to add<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;vbscript&quot;,&quot;mime&quot;:&quot;text\/vbscript&quot;,&quot;theme&quot;:&quot;blackboard&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;VBScript&quot;,&quot;modeName&quot;:&quot;vb&quot;}\">WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; &amp; &quot;:Range&quot; , Site, &quot;REG_SZ&quot;<\/pre><\/div>\n\n\n\n<p>And the last one is to set the zone map we want, in this example we chose Trusted Sites but we can add to the other zones too.<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-regular\"><table><tbody><tr><td>Value<\/td><td>Setting<\/td><\/tr><tr><td>0<\/td><td>My Computer<\/td><\/tr><tr><td>1<\/td><td>Local Intranet Zone<\/td><\/tr><tr><td>2<\/td><td>Trusted Sites Zone<\/td><\/tr><tr><td>3<\/td><td>Internet Zone<\/td><\/tr><tr><td>4<\/td><td>Restricted Sites Zone<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;vbscript&quot;,&quot;mime&quot;:&quot;text\/vbscript&quot;,&quot;theme&quot;:&quot;blackboard&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;VBScript&quot;,&quot;modeName&quot;:&quot;vb&quot;}\">WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\*&quot;, &quot;2&quot;, &quot;REG_DWORD&quot;<\/pre><\/div>\n\n\n\n<h3>Script<\/h3>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;swift&quot;,&quot;mime&quot;:&quot;text\/vbscript&quot;,&quot;theme&quot;:&quot;blackboard&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;VBScript&quot;,&quot;modeName&quot;:&quot;vb&quot;}\">Exception &quot;192.168.100.100&quot;\nException &quot;192.168.100.101&quot; \n\nFunction Exception(Site) \n\n  Set WshShell = Wscript.CreateObject(&quot;Wscript.Shell&quot;) \n\n'------Trusted Sites------'\n\n    strRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\&quot;\n\n\t WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; ,&quot;&quot; , &quot;REG_SZ&quot;\n\n   \t WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; &amp; &quot;:Range&quot; , Site, &quot;REG_SZ&quot;\n\n   \t WshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\*&quot;, &quot;2&quot;, &quot;REG_DWORD&quot;\n\n\nEnd Function<\/pre><\/div>\n\n\n<div id=\"ccchildpages-2\" class=\"ccchildpages fourcol simple ccclearfix\"><ul class=\"ccchildpages_list ccclearfix\"><li class=\"page_item page-item-65\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-exceptions-privacy\/\">IE Exceptions (Privacy)<\/a><\/li>\n<li class=\"page_item page-item-70\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-ssl-tls\/\">IE SSL \/ TLS<\/a><\/li>\n<li class=\"page_item page-item-84\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-compatibility-view\/\">IE Compatibility View<\/a><\/li>\n<li class=\"page_item page-item-129\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-proxy\/\">IE Proxy<\/a><\/li><\/ul><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>The most criticized browser over the years continues to be<a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/internet-explorer-exceptions-trusted-sites\/\">Read More<i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":95,"parent":56,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"_links":{"self":[{"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/36"}],"collection":[{"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":21,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions\/389"}],"up":[{"embeddable":true,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/56"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/media\/95"}],"wp:attachment":[{"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}