Views:

Create a Microsoft Intune app to deploy the uninstall tool and remove the agent program for your endpoints.

Important
Important
The steps are valid for Microsoft Intune as of December, 2023.
Before you get started, make sure to download and unzip the Microsoft Win32 Content Prep Tool.

Procedure

  1. On the Trend Vision One console, go to Endpoint SecurityEndpoint Inventory.
  2. Click Agent Installer.
  3. Click the download the uninstall tool link at the bottom of the Agent Installer screen.
    Note
    Note
    If you do not see the link, you might not have permission to perform this action. Contact your system administrator.
  4. In the Download Uninstall Tool screen, locate Windows (32-bit, 64-bit) and click the Download tool button.
    Note
    Note
    The downloaded uninstall tool expires after seven days.
  5. Unzip the uninstall tool package.
  6. Locate where you have downloaded and unzipped the Microsoft Win32 Content Prep Tool.
  7. Run IntuneWinAppUtil.exe and specify the information when prompted.
    Prompt
    Setting
    Source folder
    Specify the directory where the uninstall tool is located
    Setup file
    Type the full file path with V1ESUninstallTool.exe
    Output folder
    Specify the destination for the created package
    Specify catalog folder
    Type N
    The tool creates a deployment package named V1ESUninstallTool.intunewin
  8. In Microsoft Intune, go to AppsAll apps and click Add.
    The Select app type window appears.
  9. Select Windows app (Win32).
    The Add App window appears.
  10. On the App information tab, click Select app package file.
  11. In the App package file screen, click the folder icon to locate the V1ESUninstallTool.intunewin package.
  12. Click OK.
  13. Specify a unique Name for the app.
  14. Specify a Description to easily identify the purpose of the app.
  15. For Publisher, type Trend Micro.
  16. Click Next.
  17. Configure the Program tab and click Next.
    • Install command: Type V1ESUninstallTool.exe
    • Uninstall command: Type V1ESUninstallTool.exe /qn
  18. Configure the Requirements tab and click Next.
  19. Configure the Detection rules tab.
  20. For Rules format, select Manually configure detection rules.
  21. Click Add to add new detection rules.
    Important
    Important
    Only use the rules for the type of agent you want to uninstall. Adding rules for more than one agent type may cause the uninstall process to fail.
    Agent Type
    Rule Type
    Settings
    Standard Endpoint Protection
    Registry
    • Key path: Type HKLM\SOFTWARE\Classes\Installer\Products\1EFA14817AB44D447800A6FC68A0E81D1
    • Value name: Type ProductIcon
    • Detection method: Select Value does not exist.
    Server & Workload Protection
    Registry
    • Key path: Type HKLM\SOFTWARE\TrendMicro\Deep Security Agent
    • Value name: Type InstalledVersion
    • Detection method: Select Value does not exist.
    Endpoint Sensor
    File
    • Path: Type %ProgramFiles (x86)%\Trend Micro\Endpoint Basecamp
    • File or folder: Type EndpointBasecamp.exe
    • Detection method: Select File or folder does not exist.
    File
    • Path: Type %ProgramFiles%\Trend Micro\
    • File or folder: Type Cloud Endpoint
    • Detection method: Select File or folder does not exist.
  22. Click Next, then click Next again to go to the Scope tags tab.
  23. Click Select scope tags to assign a scope tag for the agent installer.
  24. Click Next to go to the Assignments tab.
  25. Add the groups or users you wish to deploy the agent installer to, then click Next.
    Trend Micro recommends leveraging filters to select by specific user or machine to avoid any errors during the uninstalling process.
  26. Review the settings and then click Create.
    Once the app runs, the agent is uninstalled from the target endpoints. Endpoint Inventory might take some time to update the information. Some endpoints might require you to manually update the endpoint lists. For more information, see Cleaning Up Uninstalled Agents.