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.
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

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: