Thanks kdyer i will do the upgrade. To your second post I don't think its a rights issue because I have been writing and testing the script as an admin and a regular user.

Lonkero,
In a previous post I listed the code

code:
If ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Lotus Notes","")=""
$RC=WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Lotus Notes","Lotus Notes","REG_SZ")
EndIf

and when I tested it I got the message
"script error : error in parameter(s) !. "