{"id":55,"date":"2013-08-06T14:47:30","date_gmt":"2013-08-06T13:47:30","guid":{"rendered":"http:\/\/ketandesai.co.uk\/?p=55"},"modified":"2026-03-22T15:55:39","modified_gmt":"2026-03-22T15:55:39","slug":"enable-and-disable-proxy-settings","status":"publish","type":"post","link":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/","title":{"rendered":"Enable and Disable Proxy Settings"},"content":{"rendered":"\n<p>Whenever I am working for a company installing there new Domain i get asked for a way to script the proxy Changes. this is so that the people using laptops can take them home and not have to go in to IE and disable proxy.<\/p>\n\n\n\n<p>I have finally got round to writing a small VBS script to achieve this. This script is for to offices but can Easley be used for one office.<\/p>\n\n\n\n<p>I have tryed this on Windows XP and Windows 7<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FFFFFF\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>'===================================================================================\n'\n' FILE: Proxy_settings.vbs\n'\n' OPTIONS: No Options, used as a library\n' REQUIREMENTS: vbs ver 5.0 or greater\n' BUGS:\n' NOTES:\n' AUTHOR: Ketan Desai\n' COPYRIGHT: KETAN DESAI\n' VERSION: 1.0\n' CREATED: 06.08.2013\n'===================================================================================\nOption Explicit\nDim WSHShell, strSetting, Gateway1, Gateway2, strQuery, objWMIService, colItems, objItem, strGW, strIP\nSet WSHShell = WScript.CreateObject(\"WScript.Shell\")\n\n'Define Gateway Addresses\nGateway1 = \"172.31.0.6\"\nGateway2 = \"192.168.102.6\"\n\n'Query the Network Adapter Configuration Class and filter by Network Adapters using DHCP\nstrQuery = \"SELECT * FROM Win32_NetworkAdapterConfiguration WHERE DHCPEnabled=1\"\n\nSet objWMIService = GetObject( \"winmgmts:\/\/.\/root\/CIMV2\" )\nSet colItems      = objWMIService.ExecQuery( strQuery, \"WQL\", 48 )\n\nFor Each objItem In colItems\nIf IsArray( objItem.DefaultIPGateway ) Then\nIf UBound( objItem.DefaultIPGateway ) = 0 Then\nstrGW = objItem.DefaultIPGateway(0)\nstrIP = objItem.IPAddress(0)\n'MsgBox strIP &amp; chr(13) &amp; strGW\nElse\nEnd If\nEnd If\nNext\n'if you are in The office you will have the proxy Enabled\nIf strGW = Gateway1 then\nWSHShell.regwrite \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable\", 1, \"REG_DWORD\"\n'MsgBox \"Your are in Office One \" &amp; chr(13) &amp; \"Gateway: \" &amp; strGW\nelse\n'if you are in The second office you will have the proxy Enabled\nIf strGW = Gateway2 then\nWSHShell.regwrite \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable\", 1, \"REG_DWORD\"\n'MsgBox \"Your are in Office Two\" &amp; chr(13) &amp; \"Gateway: \" &amp; strGW\nelse\n'if you are Not in The office you will have the proxy Disabled\nWSHShell.regwrite \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable\", 0, \"REG_DWORD\"\n'MsgBox \"Your are not in Office \" &amp; chr(13) &amp; \"Gateway: \" &amp; strGW\nEnd IF\nEnd IF<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #008000\">&#39;===================================================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; FILE: Proxy_settings.vbs<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; OPTIONS: No Options, used as a library<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; REQUIREMENTS: vbs ver 5.0 or greater<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; BUGS:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; NOTES:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; AUTHOR: Ketan Desai<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; COPYRIGHT: KETAN DESAI<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; VERSION: 1.0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39; CREATED: 06.08.2013<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;===================================================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">Option Explicit<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">Dim<\/span><span style=\"color: #001080\"> WSHShell, strSetting<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> Gateway1<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> Gateway2<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> strQuery<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> objWMIService<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> colItems<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> objItem<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> strGW<\/span><span style=\"color: #000000\">,<\/span><span style=\"color: #001080\"> strIP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">Set <\/span><span style=\"color: #001080\">WSHShell<\/span><span style=\"color: #000000\"> = WScript.<\/span><span style=\"color: #795E26\">CreateObject<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #A31515\">&quot;WScript.Shell&quot;<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;Define Gateway Addresses<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">Gateway1<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #A31515\">&quot;172.31.0.6&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">Gateway2<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #A31515\">&quot;192.168.102.6&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;Query the Network Adapter Configuration Class and filter by Network Adapters using DHCP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">strQuery<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #A31515\">&quot;SELECT * FROM Win32_NetworkAdapterConfiguration WHERE DHCPEnabled=1&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">Set <\/span><span style=\"color: #001080\">objWMIService<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #795E26\">GetObject<\/span><span style=\"color: #000000\">( <\/span><span style=\"color: #A31515\">&quot;winmgmts:\/\/.\/root\/CIMV2&quot;<\/span><span style=\"color: #000000\"> )<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">Set <\/span><span style=\"color: #001080\">colItems<\/span><span style=\"color: #000000\">      = objWMIService.<\/span><span style=\"color: #795E26\">ExecQuery<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\"> strQuery<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;WQL&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">48<\/span><span style=\"color: #000000\"> )<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">For<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">Each<\/span><span style=\"color: #000000\"> objItem In colItems<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">If<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">IsArray<\/span><span style=\"color: #000000\">( objItem.<\/span><span style=\"color: #001080\">DefaultIPGateway<\/span><span style=\"color: #000000\"> ) <\/span><span style=\"color: #AF00DB\">Then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">If<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">UBound<\/span><span style=\"color: #000000\">( objItem.<\/span><span style=\"color: #001080\">DefaultIPGateway<\/span><span style=\"color: #000000\"> ) = <\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">Then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">strGW<\/span><span style=\"color: #000000\"> = objItem.<\/span><span style=\"color: #795E26\">DefaultIPGateway<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">strIP<\/span><span style=\"color: #000000\"> = objItem.<\/span><span style=\"color: #795E26\">IPAddress<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;MsgBox strIP &amp; chr(13) &amp; strGW<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">Else<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">End If<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">End If<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">Next<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;if you are in The office you will have the proxy Enabled<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">If<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">strGW<\/span><span style=\"color: #000000\"> =<\/span><span style=\"color: #001080\"> Gateway1<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">WSHShell.regwrite <\/span><span style=\"color: #A31515\">&quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;REG_DWORD&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;MsgBox &quot;Your are in Office One &quot; &amp; chr(13) &amp; &quot;Gateway: &quot; &amp; strGW<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">else<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;if you are in The second office you will have the proxy Enabled<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">If<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">strGW<\/span><span style=\"color: #000000\"> =<\/span><span style=\"color: #001080\"> Gateway2<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">WSHShell.regwrite <\/span><span style=\"color: #A31515\">&quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;REG_DWORD&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;MsgBox &quot;Your are in Office Two&quot; &amp; chr(13) &amp; &quot;Gateway: &quot; &amp; strGW<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">else<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;if you are Not in The office you will have the proxy Disabled<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">WSHShell.regwrite <\/span><span style=\"color: #A31515\">&quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #098658\">0<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;REG_DWORD&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #008000\">&#39;MsgBox &quot;Your are not in Office &quot; &amp; chr(13) &amp; &quot;Gateway: &quot; &amp; strGW<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">End IF<\/span><\/span>\n<span class=\"line\"><span style=\"color: #AF00DB\">End IF<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nI hope you find this helpful<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whenever I am working for a company installing there new Domain i get asked for a way to script the proxy Changes. this is so that the people using laptops can take them home and not have to go in to IE and disable proxy. I have finally got round to writing a small VBS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1025,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,7,10,33,34],"tags":[29,30,31,8,32],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","category-vbs","category-windows","category-windows-7","category-windows-xp","tag-autoproxy","tag-ie","tag-proxy","tag-vbs-2","tag-vbscript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Enable and Disable Proxy Settings<\/title>\n<meta name=\"description\" content=\"Enable and Disable Proxy Settings\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable and Disable Proxy Settings\" \/>\n<meta property=\"og:description\" content=\"Enable and Disable Proxy Settings\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Ketan Desai\" \/>\n<meta property=\"article:published_time\" content=\"2013-08-06T13:47:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-22T15:55:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ketan Desai\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ketan Desai\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/\"},\"author\":{\"name\":\"Ketan Desai\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#\\\/schema\\\/person\\\/76fbe7aaa79643c166c5c2475fc01424\"},\"headline\":\"Enable and Disable Proxy Settings\",\"datePublished\":\"2013-08-06T13:47:30+00:00\",\"dateModified\":\"2026-03-22T15:55:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/\"},\"wordCount\":93,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#\\\/schema\\\/person\\\/76fbe7aaa79643c166c5c2475fc01424\"},\"image\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ketandesai.co.uk\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/VBS-Script.png\",\"keywords\":[\"AutoProxy\",\"IE\",\"Proxy\",\"vbs\",\"VBScript\"],\"articleSection\":[\"Scripting\",\"VBS\",\"Windows\",\"Windows 7\",\"Windows XP\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/\",\"url\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/\",\"name\":\"Enable and Disable Proxy Settings\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ketandesai.co.uk\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/VBS-Script.png\",\"datePublished\":\"2013-08-06T13:47:30+00:00\",\"dateModified\":\"2026-03-22T15:55:39+00:00\",\"description\":\"Enable and Disable Proxy Settings\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ketandesai.co.uk\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/VBS-Script.png\",\"contentUrl\":\"https:\\\/\\\/ketandesai.co.uk\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/VBS-Script.png\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/2013\\\/08\\\/06\\\/enable-and-disable-proxy-settings\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ketandesai.co.uk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enable and Disable Proxy Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#website\",\"url\":\"https:\\\/\\\/ketandesai.co.uk\\\/\",\"name\":\"Ketan Desai\",\"description\":\"Anything IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#\\\/schema\\\/person\\\/76fbe7aaa79643c166c5c2475fc01424\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ketandesai.co.uk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/ketandesai.co.uk\\\/#\\\/schema\\\/person\\\/76fbe7aaa79643c166c5c2475fc01424\",\"name\":\"Ketan Desai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g\",\"caption\":\"Ketan Desai\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g\"},\"sameAs\":[\"http:\\\/\\\/staging.ketandesai.co.uk\"],\"url\":\"https:\\\/\\\/ketandesai.co.uk\\\/index.php\\\/author\\\/ketandesaiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enable and Disable Proxy Settings","description":"Enable and Disable Proxy Settings","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/","og_locale":"en_GB","og_type":"article","og_title":"Enable and Disable Proxy Settings","og_description":"Enable and Disable Proxy Settings","og_url":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/","og_site_name":"Ketan Desai","article_published_time":"2013-08-06T13:47:30+00:00","article_modified_time":"2026-03-22T15:55:39+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","type":"image\/png"}],"author":"Ketan Desai","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ketan Desai","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#article","isPartOf":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/"},"author":{"name":"Ketan Desai","@id":"https:\/\/ketandesai.co.uk\/#\/schema\/person\/76fbe7aaa79643c166c5c2475fc01424"},"headline":"Enable and Disable Proxy Settings","datePublished":"2013-08-06T13:47:30+00:00","dateModified":"2026-03-22T15:55:39+00:00","mainEntityOfPage":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/"},"wordCount":93,"commentCount":0,"publisher":{"@id":"https:\/\/ketandesai.co.uk\/#\/schema\/person\/76fbe7aaa79643c166c5c2475fc01424"},"image":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","keywords":["AutoProxy","IE","Proxy","vbs","VBScript"],"articleSection":["Scripting","VBS","Windows","Windows 7","Windows XP"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/","url":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/","name":"Enable and Disable Proxy Settings","isPartOf":{"@id":"https:\/\/ketandesai.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#primaryimage"},"image":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","datePublished":"2013-08-06T13:47:30+00:00","dateModified":"2026-03-22T15:55:39+00:00","description":"Enable and Disable Proxy Settings","breadcrumb":{"@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#primaryimage","url":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","contentUrl":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/ketandesai.co.uk\/index.php\/2013\/08\/06\/enable-and-disable-proxy-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ketandesai.co.uk\/"},{"@type":"ListItem","position":2,"name":"Enable and Disable Proxy Settings"}]},{"@type":"WebSite","@id":"https:\/\/ketandesai.co.uk\/#website","url":"https:\/\/ketandesai.co.uk\/","name":"Ketan Desai","description":"Anything IT","publisher":{"@id":"https:\/\/ketandesai.co.uk\/#\/schema\/person\/76fbe7aaa79643c166c5c2475fc01424"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ketandesai.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/ketandesai.co.uk\/#\/schema\/person\/76fbe7aaa79643c166c5c2475fc01424","name":"Ketan Desai","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g","caption":"Ketan Desai"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/6587572e3884edb2f25ce127069b15f15da32278153bc9b4d2568156fcb6ec41?s=96&d=mm&r=g"},"sameAs":["http:\/\/staging.ketandesai.co.uk"],"url":"https:\/\/ketandesai.co.uk\/index.php\/author\/ketandesaiadmin\/"}]}},"jetpack_featured_media_url":"https:\/\/ketandesai.co.uk\/wp-content\/uploads\/2013\/08\/VBS-Script.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":1,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":1029,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions\/1029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/media\/1025"}],"wp:attachment":[{"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ketandesai.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}