I have some entries in my script that should adjust the proxy settings from the IE 5.5 during the logonprocedure. Unfortunatly they aren't working when loging on. They are working when I execute the script manually.

What is the cause of this and what can I do to solve it?

Here are the lines that are causing the problem:

;============Adjustments Proxy settings Internet Explorer============
WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer","PROXY-ADSL:3128","REG_SZ")
WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","1","REG_DWORD")

Thanks,

Leo