I'm a bit confused. I've been lurking around this board for a week or so trying to find out how to deal with this on my own and can't seem to find the right answer. I have a test bed, 1 DC (2K) and a bunch of workstations (XP only). I've installed Kix on the DC and added the needing things the AD section to kick off the script. When I try and login, first it takes forever (20-35 seconds versus non-script logins of 1-2 seconds). Second, my objective (drive mappings) don't work. I tried to add a tad of code to display this information better for me to see what was going on but the jist of it is that the INGROUP doesn't seem to understand the groups the user is really a part of.

User: X1
Groups In: Test1, Test2, and Test3

Script:
code:
;Make the window appear
IF @dos = 5.0
$HKLMS = 'HKEY_LOCAL_MACHINE\SOFTWARE'
IF 1 <> ReadValue($hklms+"\Microsoft\Windows NT\CurrentVersion\Winlogon",
"RunLogonScriptSync")
$ = WriteValue ($hklms+"\Microsoft\Windows NT\CurrentVersion\Winlog
on", "RunLogonScriptSync", "1", "REG_DWORD")
ENDIF
ENDIF


;Clear all possible network drive mappings

use M: /d
use N: /d
use O: /d
use P: /d
use Q: /d
use R: /d
use S: /d
use T: /d
use U: /d
use V: /d
use W: /d
use X: /d
use Y: /d
use Z: /d

IF InGroup("Test1")
? "Mapping X:"
use X: \\dusty\1
If @error = 0
? " Mapping of drive X Successful"
ELSE
? " Error mapping drive X to \\Dusty\1"
ENDIF
ELSE
? " Not in Test1"
ENDIF

IF InGroup("Test2")
? "Mapping X:"
use Y: \\dusty\2
If @error = 0
? " Mapping of drive Y Successful"
ELSE
? " Error mapping drive Y to \\Dusty\2"
ENDIF
ELSE
? " Not in Test2"
ENDIF
IF InGroup("Test3")
? "Mapping Z:"
use Z: \\dusty\3
If @error = 0
? " Mapping of drive Z Successful"
ELSE
? " Error mapping drive Z to \\Dusty\3"
ENDIF
ELSE
? " Not in Test3"
ENDIF

Color y+/n
At (23,32) "<any key to continue>"
Get $x

What I end up with is Not in Test1, etc etc for all the groups when the user IS in those groups. Also, I tried running the kix.kix that came with kixtart (sample) to see what groups the user was supposed to be in and even that doesn't show the right memberships - but I can manually map a drive which could only be done if this user was in that group! I am logging into the DC and I'm not sure what else to do. HELP!
_________________________
Thanks, Sasifras