Be Aware that if you are using Policies on servers that this may overwrite your Logon script settings

Also use Error codes to make sure the registry setting was excepted

ie
$MyRegKey = "HKCU\Software\Microso...... etc "
$MyValue = "http://www.kixtart.org"

IF @Error = 0
"Write Registry Statement Here using variables"
? "Registry has been updated"
ELSE
? " There was a problem the registry has not ben updated"
ENDIF