Kaseya Community

Script to remove Trend Micro from the start menu

  • What I am looking for: a script that will remove the Trend Micro Client- Server Security Agent from the Start Menu.

    What I have: I was able to modify Kaseya's sample Remove K Menu script to not remove the notification tray icon and ended up with this.

    Script Name: Remove Kaseya From Start Menu
    Script Description:

    IF True
    THEN
    Execute Shell Command
    Parameter 1 : rmdir "%ALLUSERSPROFILE%\Start Menu\Programs\Kaseya" /S /Q
    Parameter 2 : 1
    OS Type : 8
    Execute Shell Command
    Parameter 1 : del "%WINDIR%\Start Menu\Programs\Kaseya\?*.*"
    Parameter 2 : 1
    OS Type : 0
    ELSE

    I tried replacing 'Kaseya' with various renditions of Trend Micro but none worked. Any ideas??

    Thanks in advance.

    Yroark Lindsay
    RMON-Networks INC.

    Legacy Forum Name: Script to remove Trend Micro from the start menu,
    Legacy Posted By Username: YLindsay
  • This would only work if the Trend start menu shortcut was in the "All Users" profile folder. Check to see if it is present in specific user profile Start Menu folders under Documents and Settings or maybe even Default User.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: ed@securemycompany.com
  • It is present in the All Users\Start Menu\Programs folder which is why I was confused as to why it didnt work.

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