+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Proxy Script in Coding and Web Development; I am after a script that removes the tick from proxy settings on shut down and puts it back when ...
  1. #1

    Join Date
    Apr 2013
    Location
    Lincolnshire
    Posts
    162
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Proxy Script

    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.

  2. #2

    Join Date
    Nov 2010
    Location
    Birmingham
    Posts
    79
    Thank Post
    13
    Thanked 8 Times in 8 Posts
    Rep Power
    9

    Lightbulb

    Here is a script to turn the proxy off

    Code:
    On Error Resume Next
    Set Shell = CreateObject( "WScript.Shell" )
    Set WSHNetwork = CreateObject("WScript.Network")
    
    Shell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "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

  3. #3
    noxigen's Avatar
    Join Date
    May 2013
    Location
    Nashville, TN USA
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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

  4. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Are people *still* using these scripts !?!?
    It's 2013 guys! have you not heard of Web Proxy Auto-Discovery Protocol?

SHARE:
+ Post New Thread

Similar Threads

  1. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 01:59 PM
  2. Proxy Changer Script
    By plexer in forum Scripts
    Replies: 19
    Last Post: 12th March 2008, 03:20 PM
  3. Proxy Authentication Script - HELP!!!!!
    By chrisa in forum Scripts
    Replies: 9
    Last Post: 7th March 2008, 04:34 PM
  4. proxy server script
    By chrbb in forum How do you do....it?
    Replies: 2
    Last Post: 7th March 2007, 10:57 PM
  5. Interesting proxy script
    By GrumbleDook in forum Scripts
    Replies: 8
    Last Post: 9th December 2005, 01:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •