Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Monday, April 27, 2009

Configure proxy to the laptops via script

Source
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
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:

Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyServer"=":8080"
"ProxyEnable"=dword:00000001
"ProxyOverride"=""
Then the user will not have the proxy set when not on the domain as the logon script would not run.

No comments: