Enforcement Agent Uninstallation

To uninstall the Enforcement Agent, perform any of the following steps:

  • Uninstall using the operating system tools.
    • On a Windows computer:

      1. Go to Control Panel > Programs > Uninstall a program.

      2. Locate Trend Micro Web Security Enforcement Agent in the list.

      3. Click Uninstall.

        The Enforcement Agent is uninstalled from the computer.

    • On a macOS computer:

      1. Go to the /Applications/TrendMicro folder.

      2. Launch uninstall.

        The Enforcement Agent is uninstalled from the computer.

    Important:

    Users are prompted for a password before uninstallation.

    To view or modify the password, go to Administration > SERVICE DEPLOYMENT > Enforcement Agent.

  • Uninstall using Group Policy Object (GPO) Deployment.
    Note:

    This option is only available for endpoints running Enforcement Agent version 2.2 or later.

Using GPO Uninstallation on Windows Server 2012

  1. Log on to the Active Directory server as an administrator.
  2. Go to Start > Server Manager > Tools > Group Policy Management.

    The Group Policy Management window appears.

  3. From the left navigation tree, go to Forest: <your forest> > Domains > <your domain>.
  4. Right-click <your domain>, and then select Create a GPO in this domain, and Link it here....

    The New GPO dialog box appears.

  5. Type a name for the new Group Policy Object in the Name text box and click OK.

    The newly created GPO displays under Group Policy Objects.

  6. Right-click the GPO and then select Edit.

    The Group Policy Management Editor window appears.

  7. From the left navigation tree, go to Computer Configuration > Policies > Windows Settings and then click Scripts (Startup/Shutdown).
  8. On the right pane, double-click Startup.

    The Startup Properties window appears.

  9. Click the Scripts tab, and then click Add....

    The New Script dialog box appears.

  10. Under Script Name, type the path of the TMWS Enforcement Agent.

    For example, type \\GPO_controller server\shared_folder\enforcement_agent\SilentSetup.bat.

  11. Under Script Parameters, type the uninstall agent password.
    Note:

    To view or modify the password, go to Administration > SERVICE DEPLOYMENT > Enforcement Agent.

    For more information, see Enforcement Agent Settings and Downloads.

  12. Click OK.

    The Startup Properties window appears.

  13. Click Apply, and then click OK.

    The Enforcement Agent uninstalls after client computers restart.

  14. (Optional) Close any window opened during this procedure.

Using GPO Uninstallation on Windows Server 2016

Note:

This procedure also applies to Windows Server 2019.

  1. Log on to the Active Directory server as an administrator.
  2. Go to Start > Server Manager > Tools > Group Policy Management.

    The Group Policy Management window appears.

  3. From the left navigation tree, go to Forest: <your forest> > Domains > <your domain>.
  4. Right-click <your domain>, and then select Create a GPO in this domain, and Link it here....

    The New GPO dialog box appears.

  5. Type a name for the new Group Policy Object in the Name text box and click OK.

    The newly created GPO displays under Group Policy Objects.

  6. Right-click the GPO and then select Edit.

    The Group Policy Management Editor window appears.

  7. From the left navigation tree, go to Computer Configuration > Policies > Windows Settings and then click Scripts (Startup/Shutdown).
  8. On the right pane, double-click Startup.

    The Startup Properties window appears.

  9. Click the Scripts tab, and then click Add....

    The New Script dialog box appears.

  10. Under Script Name, type the path of the TMWS Enforcement Agent.

    For example, type \\GPO_controller server\shared_folder\enforcement_agent\SilentSetup.bat.

  11. Under Script Parameters, type the uninstall agent password.
    Note:

    To view or modify the password, go to Administration > SERVICE DEPLOYMENT > Enforcement Agent.

    For more information, see Enforcement Agent Settings and Downloads.

  12. Click OK.

    The Startup Properties window appears.

  13. Click Apply, and then click OK.

    The Enforcement Agent uninstalls after client computers restart.

  14. (Optional) Close any window opened during this procedure.