With a visual basic script file in a ms-dos command window i change the REGEDIT var HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL
, but i have to reestart the IE to see that value in IE-internet config -> connections -> LAN configuration.
C:>cscript proxypac.vbs :
RegLocate = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL"
CreateObject("WScript.Shell").RegWrite RegLocate, "http://10.11.12.13/proxy.pac", "REG_SZ"
How can i refresh IE connection Regedit settings using VBS in a command window without restarting IE ?