{"id":129,"date":"2019-08-14T12:41:38","date_gmt":"2019-08-14T11:41:38","guid":{"rendered":"https:\/\/www.syslab.network\/?page_id=129"},"modified":"2019-09-24T12:21:39","modified_gmt":"2019-09-24T11:21:39","slug":"ie-proxy","status":"publish","type":"page","link":"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-proxy\/","title":{"rendered":"IE Proxy"},"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-36\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/internet-explorer-exceptions-trusted-sites\/\">IE Exceptions (Trusted Sites)<\/a><\/li>\n<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><\/ul><\/div>\n\n\n\n<p>Now let's set the proxy options in Internet Explorer<\/p>\n\n\n\n<p>The path in registry<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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\\&quot;<\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"569\" height=\"495\" src=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy.png\" alt=\"\" class=\"wp-image-136\" srcset=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy.png 569w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy-300x261.png 300w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy-100x87.png 100w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy-150x130.png 150w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy-200x174.png 200w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxy-450x391.png 450w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/figure><\/div>\n\n\n\n<p> In order to check the box number 1 we will add this key: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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; &quot;AutoDetect&quot;, &quot;00000001&quot;, &quot;REG_DWORD&quot;<\/pre><\/div>\n\n\n\n<p>  In order to check the box number 2 we will add this key: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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; &quot;ProxyEnable&quot;, &quot;00000001&quot;, &quot;REG_DWORD&quot;<\/pre><\/div>\n\n\n\n<p>In order to check the box number 3 we will add this key, where strProxyServer is the ip and port of Proxy Server:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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; &quot;ProxyServer&quot;, strProxyServer, &quot;REG_SZ&quot;<\/pre><\/div>\n\n\n\n<p> For the box number 4 we will follow a different method. We will use a key that belongs to another option and then check the box using &lt;local&gt;.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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;}\">...\nstroverride = &quot;192.168.100.100;192.168.101;&lt;local&gt;&quot;\n...\nWshShell.RegWrite strRegKey &amp; &quot;ProxyOverride&quot;, stroverride, &quot;REG_SZ&quot;\n...<\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"592\" height=\"633\" src=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv.png\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv.png 592w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-281x300.png 281w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-100x107.png 100w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-150x160.png 150w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-200x214.png 200w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-300x321.png 300w, https:\/\/www.syslab.network\/wp-content\/uploads\/2019\/08\/proxyadv-450x481.png 450w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/figure><\/div>\n\n\n\n<p> Here belongs to the previous key. When we don't want to bypass the whole LAN, we remove the  <strong>&lt;local&gt;<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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;}\">...\nstroverride = &quot;192.168.100.100;192.168.101;&lt;local&gt;&quot;\n...\nWshShell.RegWrite strRegKey &amp; &quot;ProxyOverride&quot;, stroverride, &quot;REG_SZ&quot;\n...<\/pre><\/div>\n\n\n\n<h3>Script IE exceptions + Proxy<\/h3>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror cm-s-blackboard\" 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;}\">Exception &quot;192.168.100.100&quot; \nException &quot;192.168.100.101&quot;\n\n\nFunction Exception(Site) \n\nstrProxyServer = &quot;192.168.100.250:9999&quot;\nstroverride = &quot;192.168.100.100;192.168.101;&lt;local&gt;&quot;\n\n    Set WshShell = Wscript.CreateObject(&quot;Wscript.Shell&quot;) \n\t\n'------Trusted Sites------' \n\t\n    strRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\&quot; \n\t\tWshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; ,&quot;&quot; , &quot;REG_SZ&quot;\n\t\tWshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot; &amp; &quot;:Range&quot; , Site, &quot;REG_SZ&quot; \n\t\tWshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\*&quot;, &quot;2&quot;, &quot;REG_DWORD&quot; \n\t\t\n'------Privacy::Sites------' \n\t\n\tstrRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\P3P\\History\\&quot; \n   \n\t\tWshShell.RegWrite strRegKey &amp; Site &amp; &quot;\\&quot;, 1, &quot;REG_DWORD&quot; \n\t\t\n'------Privacy::Pop-up Blocker------'\n\t\n\tstrRegKey = &quot;HKCU\\Software\\Microsoft\\Internet Explorer\\New Windows\\Allow\\&quot;\n\t\n\t\tWshShell.RegWrite strRegKey &amp; Site, 0, &quot;REG_BINARY&quot;\n\t\t\n'------SSL\/TLS------'\n\t\n\tstrRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\SecureProtocols&quot;\n\t\n\t\tWshShell.RegWrite strRegKey, 2730, &quot;REG_DWORD&quot;\n\t\t\n'------Proxy------'\n\t\t\n\t\t\n\tstrRegKey = &quot;HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\&quot;\n\t\tWshShell.RegWrite strRegKey &amp; &quot;ProxyEnable&quot;, &quot;00000001&quot;, &quot;REG_DWORD&quot;\n\t\tWshShell.RegWrite strRegKey &amp; &quot;ProxyServer&quot;, strProxyServer, &quot;REG_SZ&quot;\n\t\tWshShell.RegWrite strRegKey &amp; &quot;ProxyOverride&quot;, stroverride, &quot;REG_SZ&quot;\n\t\tWshShell.RegWrite strRegKey &amp; &quot;AutoDetect&quot;, &quot;00000001&quot;, &quot;REG_DWORD&quot;\n\t\n'------Compatibility View------'\n\n\t\tstrHexValue = &quot;41,1F,00,00,53,08,AD,BA,02,00,00,00,6C,00,00,00,01,00,00,00,02,00,00,00,0C,00,00,00,B8,17,0B,96,3A,52,D5,01,01,00,00,00,0F,00,31,00,39,00,32,00,2E,00,31,00,36,00,38,00,2E,00,31,00,30,00,30,00,2E,00,31,00,30,00,30,00,0C,00,00,00,6A,84,79,9B,3A,52,D5,01,01,00,00,00,0F,00,31,00,39,00,32,00,2E,00,31,00,36,00,38,00,2E,00,31,00,30,00,30,00,2E,00,31,00,30,00,31,00&quot;\n\narrValue = Split(strHexValue, &quot;,&quot;)\nReDim uBinary(UBound(arrValue))\nFor i = LBound(arrValue) To UBound(arrValue)\n    uBinary(i) = CLng(&quot;&amp;h&quot; &amp; arrValue(i))\nNext\n\nConst HKEY_CURRENT_USER = &amp;H80000001\n\tSet objRegistry = GetObject(&quot;Winmgmts:root\\default:StdRegProv&quot;)\n\tstrPath = &quot;Software\\Microsoft\\Internet Explorer\\BrowserEmulation\\ClearableListData&quot;\n\tstrValueToWrite = &quot;UserFilter&quot;\n\tobjRegistry.CreateKey HKEY_CURRENT_USER, strPath\n\tintReturn = objRegistry.SetBinaryValue(HKEY_CURRENT_USER, strPath, strValueToWrite, uBinary)\n\n\t\n\t\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-36\"><a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/internet-explorer-exceptions-trusted-sites\/\">IE Exceptions (Trusted Sites)<\/a><\/li>\n<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><\/ul><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Now let&#8217;s set the proxy options in Internet Explorer The<a href=\"https:\/\/www.syslab.network\/index.php\/vbscripts\/internet-explorer\/ie-proxy\/\">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\/129"}],"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=129"}],"version-history":[{"count":8,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/129\/revisions"}],"predecessor-version":[{"id":340,"href":"https:\/\/www.syslab.network\/index.php\/wp-json\/wp\/v2\/pages\/129\/revisions\/340"}],"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=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}