However, the above works on Kix v4 (which I recommend you to upgrade to, so we all have the same versions and functions)

On Kix v3 we can use the values directly without
Hex-to-Dez-Conversion:

$key="__Server-Name_NETLOGON_KIX32.EXE"
$Err=AddKey("HKEY_CURRENT_USER\Console\"+$key)
$err=writevalue("HKEY_CURRENT_USER\Console\"+$key,"screenbuffersize","500019","REG_DWORD")

Take care about the two "_" before the Server-Name, this is needed !

And: The above is first active on the second Logon !

BBSOFT

[ 18. March 2003, 08:57: Message edited by: BBSOFT ]