Maybe saomething like this untested Code:
$RC = WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce","KiXScript","\\server\share\wkix32.exe \\server\share\script.kix","REG_SZ")

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.