title: Refresh Internet Options via Batch/CMD
body: <p>I made a batch program to enable and disable proxy use in Internet Options using the following code:</p>
  
  <pre><code>[Enable]
  reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f 
  
  [Disable]
  reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f 
  </code></pre>
  
  <p>This code works fine, but in order to apply the changes and connect to internet using the proxy, I have to close and reopen my browser. Is there a way to apply the proxy with out doing so.</p>
  
  <p>I have already try "ipconfig /renew" and "ipconfig /release". I have also tryed to disabling and enabling my local area connection.</p>
  
  <p>If know of another way to connect to a proxy via batch/cmd or another program and doesn't have this problem that would help too.</p>