2

I want to apply windows proxy settings on a computer/location/OU basis using group policy (IE version for the moment is 8, but will be upgrading sooner or later). Presently, I have user objects and computer objects separated out in different OU's in my Active directory tree, and these OU's are subdivided further by category (e.g. computers/PhysicalLocation1, computers/PhysicalLocation2, users/BusinessUnit1, users/BusinessUnit2, etc.).

I think that the typical solution for the above problem is to use group policy loopback processing with the GPO security filter. However, the catch is that I want to have it so that ONLY when users access the network from a specific computer/location, regardless of user, everyone goes through the proxy. When the same users access the network from a different location/OU they do not go through the proxy.

If I use the GPO security filter to pin point where the group policy loopback processing is to be applied it seems that I need to specify user objects (i.e. the object associated with the person logging into the PC with the proxy settings) along with computer objects (i.e. the computer where the proxy settings are applied). The problem with this is that when the user uses a different PC in a location where I do NOT want proxy settings to be applied, because the user is in the GPO security filter the proxy settings end up being applied.

Is there any easy way to pinpoint proxy settings per computer?

  • 1
    Depending on how complex your proxy settings are, you may want to look at WPAD or a .PAC (proxy auto config) setup. This may help you simplify proxy settings and ease of use. – blaughw Jun 9 '15 at 17:55
2

You seem to be on the right lines.

Loopback processing is what you need to use. Loopback processing will, very simply, allow you to link your User Configuration GPO to an OU containing computers and have the user config apply to users on these computers.

I don't know why you are using group policy security filtering. It implies that you've linked the GPO at a level that is higher than the level you want to apply it.

SO, to make this work:

  1. In the target computer OU, create a GPO called 'Enable Loopback Processing' and configure

    Computer Configuration\Policies\Administrative Templates\System\Group Policy\User Group Policy loopback processing mode > Enable, Mode:Merge

  2. in the target computer OU, create a GPO called 'IE Proxy Server' and configure User Configuration\Preferences\Control Panel\Internet Settings\ <set required proxy settings>

  3. Optionally, configure another GPO in this OU to prevent users from altering the proxy settings, using Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Disable the Connections page

You shouldn't have to use security filtering at all.

So long as these GPOs are linked ONLY to the OU in which the computers which you want to use a proxy server on then this will work, and on computers in other OUs users will not acquire these proxy settings.

  • Your answer put me on the right track. For testing purposes I wanted to target specific computers within the OU. I guess the key is to avoid using security filters. What I did is create a child-OU within the parent, move the computer objects that I wanted to target into the child-OU, link the GPO to the child-OU, then specify Authenticated Users in the filter. Everything worked perfectly after that. – wrieedx Jun 11 '15 at 1:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.