Archive: Reg file code does not work


Reg file code does not work
I am not a programmer and have created two reg files by trial and error one works and the other does not although they are nearly identical.

I want to automate the enabling and disabling of proxy server in IE so that the user (my wife) does not have to go through tedious keystrokes in IE.

This works to enable proxy server:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=Dword:00000001

The following does not work although I get a message that the registry has been updated:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=Dword:00000000

I have ensured that IE is closed when I run the file.

Any help appreciated.


How is this related to NSIS?

With NSIS, use WriteRegDWORD.


Kichik

I guess I'm in the wrong forum can you point me in the right direction?


No. I can't think of one forum in the Winamp forums that'd match that question.