FYI..

Here is one where we had asked the client to uninstall the program and we "forced" it off his system anyway. [Wink]

code:
IF @USERID='BADUSER' AND KEYEXIST('HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2DFE1608-BDCA-11D1-B7AE-00C04FB92F3D}')
RUN 'MsiExec.exe /qn /x{2DFE1608-BDCA-11D1-B7AE-00C04FB92F3D}'
$mailhost = 'smtp.company.com'
$recipient = 'admin@@company.com'
$sender = @userid+'@@company.com'
$mailLine = @ldrive+'Programs\blat.exe - -to $recipient -server $mailhost -subject "MS Project removed!!" '
$mailLine = $mailLine+'-body "MS Project has been removed for - @userid (@fullname)" -f $sender -q'
SHELL $mailLine
ENDIF

He never knew it was removed.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's