Hi,

I use @priv to check if the user have admin rights in order to execute the Superdat from McAfee. I created a Global Group "Admin WS" and added this group into the Local Group "Administrator". It is not working If I check with:

If UCASE("@Priv")="ADMIN"
$Selection = MessageBox($Msg1, $MsgTitle , 64 )
shell $SdatPath + $SdatName + " /silent /logfile " + $ReportPath + @wksta + ".log"
$LastAction="Ran $SdatPath$SdatName - Error: " + @error
Else
$Selection = MessageBox($Msg2 , $MsgTitle , 48)
$LastAction="Scan Engine has to be updated"
Endif


Any idea how I can make it work???

_________________________
Cheers, Porq.