Windows Proxy .reg issue

Soldato
Joined
18 May 2010
Posts
23,609
Location
London
Trying to set windows proxy settings via a reg file.

I found this example hosted by microsoft here.

However, when I add the settings to a text file and rename it to .reg and try and run it, I get a message telling me the file isnt a registry script.

(It's nothing as simple as file.reg.txt ;) I can run other reg files no problem.)

Is there a syntax issue that Microsoft have made?

I've verified that the keys exist and the values etc are in the registry. But windows doesnt like the recipe for some reason.

Regedit4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MigrateProxy"=dword:00000001
"ProxyEnable"=dword:00000001
"ProxyHttp1.1"=dword:00000000
"ProxyServer"="http://ProxyServername:80"
"ProxyOverride"="<local>"


---

The extra space in the Current Version seems to be an issue with the forum. The characters are there.
 
Last edited:
Right.

Got this to work in the end. Dont know why it wasnt working to begin with, but i pasted the code in to another .reg file and it works.

Congratulations you say? :cool:

Unfourtunatly not. :(

I logged out as current user and logged in as a different user to test NTLM and our intranet site.

Then I realised that none of the proxy settings where set at all. This is becuase [HKEY_CURRENT_USER\ is for the currently logged in user only!!! :o

So how do I do this for the local system?

This seems to be a different ball game entirely according to my Google searching.
 
We dont use GP. Linux environment.

I have to do this via scripts.

---

I found this. Seems to suggest it is not possible to set the proxy for the local machine.

I found this:

System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\
Internet Settings]
Value Name: ProxySettingsPerUser

I was hoping setting the proxy for the current user and then setting the above key would lock the settings for all users.

Alas I think all it does is stop the current user from altering the proxy settings.

---

So Im running out of ideas to set the proxy per machine.

P.s - My manager is going to screw his face up when I tell him as if Im an idiot. :rolleyes:
 
Last edited:
Back
Top Bottom