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:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]Then the user will not have the proxy set when not on the domain as the logon script would not run.