No announcement yet.

proxy via startup script

  • Filter
  • Time
  • Show
Clear All
new posts

  • proxy via startup script

    hi everyone, i need a script to configure proxy to the laptops via startup and shutdown.
    i have to install proxy with a startup script when laptop is working in domain and another script to uninstall the proxy settings when laptop goes logoff so the laptop can access internet from another location without proxy enabled
    or some script to enable or disable the proxy settings whether the laptop is in the domain or not
    anyone can help me to solve the problem i desperately need it
    thanks to everyone

  • #2
    Re: proxy via startup script

    You can set the proxy in a log on script and remove it in a log off script (set by group policy).

    The process can be as simple as a batch file that changes the following registry settings:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ProxyServer"="<your proxy IP address>:8080"
    Then the user will not have the proxy set when not on the domain as the logon script would not run.

    Hope this helps
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **