the machine that is in question is not here today, but I will validate this next week.

Not sure how
code:
 
If InGroup("\\" + @WKSTA + "\ADMINISTRATORS")<>0
Do some stuff
Else

would work if

code:
If InGroup("\\" + @Wksta + "\Administrators") =1  
Do some stuff
EndIf

doesnt work. But hey I'm willing to give it a shot.

[ 21. February 2003, 20:21: Message edited by: j95661 ]
_________________________
WonderBoy Constantly learning everyday, how much I dont know :-)