Difficult to speed it, as kix need to parse all groups of the user
Maybe kixtart 4.01 is much faster (don't really test it)
Kixtart 4.02 will be, but you'll have to wait

On the other hand, i suggest you something that i'm currently trying : multithreading (Yes guys, i'm getting to be a real maniac with Kix)
This is only if you can split your script in standalone parts.
In the main script, start other you want to get fasters with this command :

code:

$ScriptToRun="complete_path\script.kix"
$Kix32exe="Complete_path\Kix32.exe"
Shell "Start /m "+ $Kix32exe+" "+ $ScriptToRun


(/m is here for minimized state)
With this, the script you ran will be executed on a different process. I found it better with network connection when "Net use" are slow. Maybe it can be of some help with Enumgroup()
Also, beware as this method can have unsuspected results when errors occurs, as the user may won't see the possible errors and the script won't be in the logon process, so logon won't wait for it's end before showing the user desktop.

[ 04 January 2002: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)