June 22, 2010
Group Policy or a Login Script can easily be used to apply the proxy setting to users at the domain or Organizational Unit (OU) level.
Please use caution in making changes to Group Policy. If you are not comfortable with these changes or do not fully understand what these changes will do, St. Bernard advises that you obtain assistance from someone who is comfortable with Active Directory.
Open Active Directory Users and Computers.
Right-click on the OU that contains the users that contains the accounts that will log on to the server and click Properties.
Click on the Group Policy tab.
Click New, and then give the policy a name.
Click Edit, then expand User Configuration > Windows Settings > Internet Explorer Maintenance > Connection and double-click Proxy Settings.
Check Enable proxy settings and enter the IP address or DNS name of the iPrism and the proxy port. (iPrism default proxy port is 3128). Note: You may exclude internal traffic from being sent to iPrism using "Exceptions" (highlighted below).
Close the Group Policy Object Editor.
Close the OU Properties.
Internet Explorer stores proxy settings in the registry. Using the login script to update client registries makes it easy to update. Even if your users do not normally use Internet Explorer as their usual browser, you will want to configure the proxy settings because many other applications key off proxy settings in Internet Explorer.
In the example shown below, you determine the proper proxy IP and Port for users, export the settings to a .REG file, and then use REGEDIT in the login script to push the settings to the PC.
Note: If you leave the setting in the login script for several days, most of the PC's should be updated by then, and you can remove or comment out the commands.
Please use caution in making changes to the registry. If you are not comfortable with these changes or do not fully understand what these changes will do, St. Bernard advises that you obtain assistance from someone who is comfortable with the Windows registry.
Create setproxy.reg (any filename can be used)
Open notepad & type in as follows:
Windows Registry Editor Version 5.00 (or the appropriate version of regedit, if different)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyServer"="<Your Proxy IP Address>:<Proxy Port>" "ProxyEnable"=dword:00000001
Change <your proxy IP address> to the private IP address of your HTTP Proxy, and<Proxy Port> to the port that iPrism is configured to proxy for (3128 by default). Save the file with the name you choose.
Copy setproxy.reg to login script folder.
Add the following line to the login script.
Regedit /s setproxy.reg