Configuring proxy through batch file
Solved/Closed
Related:
- Batch file to change proxy settings windows 10
- Proxy bat - Best answers
- Bat proxy - Best answers
- How to change lnk files back to default in windows 7 - Guide
- How to change lan settings in windows 10 - Guide
- How to change date settings in windows 10 - Guide
- Windows batch file close after running - Guide
- How to change fn key settings windows 10 acer - Guide
1 reply
merrypc
Jun 10, 2009 at 07:55 AM
- Posts
- 12
- Registration date
- Saturday January 3, 2009
- Status
- Member
- Last seen
- June 15, 2009
Jun 10, 2009 at 07:55 AM
Hello,
I have found the solution to the problem:
Put this in a .vbs file. double click the file to run it.
I have found the solution to the problem:
Put this in a .vbs file. double click the file to run it.
dim oShell set oShell = Wscript.CreateObject("Wscript.Shel l") if msgbox("Turn Proxy on?", vbQuestion or vbYesNo) = vbYes then oShell.RegWrite "HKCU\Software\Microsoft\Windows\C urrentVersion\Internet Settings\ProxyEnable", 1, "REG_DWORD" oShell.RegWrite "HKCU\Software\Microsoft\Windows\C urrentVersion\Internet Settings\ProxyServer", "proxy:8080", "REG_SZ" else oShell.RegWrite "HKCU\Software\Microsoft\Windows\C urrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD" end if Set oShell = Nothing
Jul 7, 2010 at 07:55 PM
Aug 16, 2010 at 03:10 PM
Sep 16, 2010 at 03:55 AM
Sep 23, 2010 at 12:38 PM
Apr 20, 2011 at 01:54 PM