What OS is giving you the problem? It is a known issue that Win9x has a problem accessing HKCU in the logon script.

Does this problem manifest itself on NT/W2K? If not, try this code:
code:
	if @INWIN = 1
Call "Profile.kix"
else
$WinlogonKey = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Runonce"
$value = "%windir%\kix32.exe $Lpath\Profile.kix"
$rc = WRITEVALUE ($WinlogonKey, "Profile", $value, "REG_SZ")
endif



[ 15 May 2002, 22:08: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/