sorry,

1) the savescript() function contains some temporay lines that i forgot to delete. Delete the four first lines
code:
 	$strSaveFileName="%temp%\toto.kix"
; Do the save
$=DoSave( $strSaveFileName )
return

2) for the "If $intuserAccountControl && $objHash.Item["ADS_UF_TRUSTED_FOR_DELEGATION"]", change && with & (in the vb script, the operator is AND).

3) where added quotes ?
I found these two lines in line 13 and 14 of generated scripts !!!
_________________________
Christophe