Link to home
Start Free TrialLog in
Avatar of joemckamey
joemckameyFlag for United States of America

asked on

I need a .bat file to set a proxy server script...

I have our proxy server settings in our group policy set...however, every once in a while a computer will have wide open internet access...weird.  AND, I have disabled the connections tab in the internet options so people can't uncheck the proxy server check box.

If I set a log on script at the local machine...two questions:
1.  What would be the best way to implement on the local machine?  I think doing it at log on of a specific user would be best but not in the startup folder where anyone could edit it or delete it easily.

2.  What would the commands be to:
-uncheck "find proxy server"
-check "use this proxy server"
-enter the proxy server address and port number.

PS  I am on my Mac right now so the exact terminology on the connections tab is not correct above...

THANKS!!
Avatar of merowinger
merowinger
Flag of Germany image

If you have the Proxy Settings configured via Group Policy, also a Batch file running with Local System permissons cannot uncheck the Proxy option of the user.
Avatar of joemckamey

ASKER

All the group policy does is set it.  For some reason it isn't working all the time.

AND, if someone has access to the connections tab in internet options, they can uncheck or change the proxy settings.  Just because group policy sets it doesn't mean it can't be changed per the user.
ASKER CERTIFIED SOLUTION
Avatar of merowinger
merowinger
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I would have thought that too on the gpupdate but for some reason it doesn't change it...its weird...any ideas?