Kaseya Community

Removing Trend Micro OfficeScan?!?!

  • I thought this might be a simple script to write, however, I'm having trouble getting it to work. I know that the Trend console can force the uninstall, however, I have several orphans that now don't show up on the console.

    Below is what I have thus far. Step one sets the registry value to allow the uninstall without a password. That registry value is getting set correctly from the script. I have verified that. Step two says it runs successfuly, but it doesn't actually uninstall Trend. I have tested it while logged on to the client to see if I see the Uninstall window even pops up; it doesn't.

    I can take the same full path that I have in step two and run it manually from the command line and it works -- the uninstall window displays and it uninstalls the OfficeScan client.

    Can anyone give me some direction to get this working? Thanks in advance!


    Script Name: Trend Micro OfficeScan Uninstall
    Script Description: Uninstall Trend Micro OfficeScan client

    IF True
    Set Registry Value
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.\Allow Uninstall
    Parameter 2 : 1
    Parameter 3 : REG_DWORD
    OS Type : 0
    Execute Shell Command
    Parameter 1 : C:\Program Files\Trend Micro\OfficeScan Client\ntrmv.exe
    Parameter 2 : 0
    OS Type : 0

    Legacy Forum Name: Removing Trend Micro OfficeScan?!?!,
    Legacy Posted By Username: xogent
  • Use Execute File instead of Execute Shell Command in step 2. This is how we do it.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sequoya
  • That seemed to do the trick. Thanks!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: xogent
  • We use /silent /noreboot also

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: XeviouS