Homeland Posted June 19, 2013 Posted June 19, 2013 I am after a script that removes the tick from proxy settings on shut down and puts it back when the laptop is on the domain again, I have a vbs created and when its manually run it works fine but if I try and roll it out ffrom the server it does nothing.
william_tropico Posted June 25, 2013 Posted June 25, 2013 Here is a script to turn the proxy off On Error Resume Next Set Shell = CreateObject( "WScript.Shell" ) Set WSHNetwork = CreateObject("WScript.Network") Shell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", [b]0[/b], "REG_DWORD" You can save this as a vbs file and run at logoff under User Configuration>Window Settings>Scripts (Logon/Logoff) Change the 0 to 1 if you want to enable the proxy. Hope this helps
noxigen Posted July 6, 2013 Posted July 6, 2013 It's not a script, but I just started using this tool a few weeks ago and love it! It does what you need and more. I'm just surprised I haven't found it before now. Proxy Switcher
CyberNerd Posted July 6, 2013 Posted July 6, 2013 Are people *still* using these scripts !?!? It's 2013 guys! have you not heard of Web Proxy Auto-Discovery Protocol?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now