Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

possible for DHCP to assign proxy settings?

Status
Not open for further replies.

PTO1

MIS
Oct 1, 2004
4
US
I want to find a way to have the proxy settings for our network assigned when the user logs into the network. Is this possible via the DHCP server? If not do you have any ideas.

I am looking into this due to the amount of different proxy's several of our traveling users connect to. Some of them need a proxy in the morning and then by the afternoon they need a different proxy (attorney’s for the most part).
 
PT01, I haven't heard of any field entry regarding proxy server setting in DHCP but have you thought about doing this via login script. We used to have a similar situation and we used to use an .INS file (I think it was from the old IE Zero Administration guide -- something like that). Users would run the login script and execute a .REG file that would populate the field "Use Automatic Configuration Script" (in the proxy settings) with the script file. I haven't heard of any field entry regarding proxy server setting in DHCP.
 
You can't set your proxy settings with DHCP. You have to do it like suggested with a logon script.

This is what we use in our vbs script.

Set objShell = CreateObject("WScript.Shell")

prefix = _
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"
objShell.regWrite prefix & "ProxyServer", "192.168.0.18:8080"
objShell.regWrite prefix & "ProxyOverride", "<local>"
objShell.regWrite prefix & "ProxyEnable", "1"

the 192.168.0.18:8080 is the thing you should change for your own settings.

The other thing you can do is using group policy if you have a windows domain.
 
First of all thank you itsp1965 and patrick118 for posting. I wish I could use a GPO and get this done in 10 min but the network guys haven’t fully integrated AD yet. As for the login script I thought of that as well but the network guys don’t want scripts running on any of our PC’s. The only thing I can think of is setting up different hardware profiles. The only problem is, do the proxy settings get stored with each profile? I need to setup three different network connections on several laptops, each with a different internet connection enabled. This area refuses to click on anything other than ctrl,alt,del to login, the perks of being on the board I guess, lol.

Thanks again for your help.

PTO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top