Situation:
Our company use an astaro device that requires us to use proxy servers for I.E. We assign IP address through DHCP and then tell the astaro to give a certain MAC the IP we want the device to have.
The problem:
Laptop users will have their I.E. proxy settings remembered regardless of if they are actually connected to our network or not. Because we know that you can make a logoff script that will set the enableproxy setting to 0 in the registy, we want to code that someone in a script.
So basically, I would like the logoff script to run on every computer, but do a check to see if the computer is a laptop and if it is tell it to turn off proxy servers…
The trick… the script needs to run even if the computer is not connected to the domian (for those stupid people that dont log off when they take their laptops home) So how would you setup a script to run at log off even if you arent connected?