Apply proxy tick box and IP information on and off using scripts
Posted on 2007-11-29
Anyone know of a script that will be able to turn the proxy tick box on and off and auto IP?
I have a user that is not so confident about using the laptop. They have two connections, one at work and then we have setup a home network using router.
At work they are assigned a static IP address in Class A. At home they get an IP in the c class automatically by the router.
I have found a VBS script that will allow me to fix this, but what I want to do is have two batch files, one for work, one for home on their desktop.
They click work batch file and the following happens,
sets IP address info for IP, subnet, no gateway, DNS
Ensures proxy tick box is on (proxy details are already stored- just grey out when off)
and then the reverse for home
sets IP address to obtain automatically,
removes proxy tick box and automatically detect settings.
The static IP is not too bad as I have a VBS code that will do this, but stuck on the proxy settings and also how to set back to automatic IP.