To uninstall the Enforcement Agent, perform any of the following steps:
- 
                Uninstall using the operating system tools.
                - 
                        On a Windows computer: - 
                                Go to Control Panel > Programs > Uninstall a program. 
- 
                                Locate Trend Micro Web Security Enforcement Agent in the list. 
- 
                                Click Uninstall. The Enforcement Agent is uninstalled from the computer. 
 
- 
                                
- 
                        On a macOS computer: - 
                                Go to the /Applications/TrendMicro folder. 
- 
                                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
- Log on to the Active Directory server as an administrator.
- 
                Go to Start > Server Manager > Tools > Group Policy
                            Management. 
                 
                    The Group Policy Management window appears. 
- From the left navigation tree, go to Forest: <your forest> > Domains > <your domain>.
- 
                Right-click <your domain>, and then select
                        Create a GPO in this domain, and Link it
                    here....
                 
                    The New GPO dialog box appears. 
- 
                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. 
- 
                Right-click the GPO and then select Edit.
                 
                    The Group Policy Management Editor window appears. 
- From the left navigation tree, go to Computer Configuration > Policies > Windows Settings and then click Scripts (Startup/Shutdown).
- 
                On the right pane, double-click Startup.
                 
                      The Startup Properties window appears. 
- 
                Click the Scripts tab, and then click
                        Add....
                 
                    The New Script dialog box appears. 
- 
                Under Script Name, type the path of the TMWS Enforcement Agent.
                 
                    For example, type \\GPO_controller server\shared_folder\enforcement_agent\SilentSetup.bat. 
- 
                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. 
- 
                Click OK.
                 
                    The Startup Properties window appears. 
- 
                Click Apply, and then click
                    OK.
                 
                    The Enforcement Agent uninstalls after client computers restart. 
- (Optional) Close any window opened during this procedure.
Using GPO Uninstallation on Windows Server 2016
This procedure also applies to Windows Server 2019 and Windows Server 2022.
- Log on to the Active Directory server as an administrator.
- 
                Go to Start > Server Manager > Tools > Group Policy
                            Management. 
                 
                    The Group Policy Management window appears. 
- From the left navigation tree, go to Forest: <your forest> > Domains > <your domain>.
- 
                Right-click <your domain>, and then select
                        Create a GPO in this domain, and Link it
                    here....
                 
                    The New GPO dialog box appears. 
- 
                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. 
- 
                Right-click the GPO and then select Edit.
                 
                    The Group Policy Management Editor window appears. 
- From the left navigation tree, go to Computer Configuration > Policies > Windows Settings and then click Scripts (Startup/Shutdown).
- 
                On the right pane, double-click Startup.
                 
                      The Startup Properties window appears. 
- 
                Click the Scripts tab, and then click
                        Add....
                 
                    The New Script dialog box appears. 
- 
                Under Script Name, type the path of the TMWS Enforcement Agent.
                 
                    For example, type \\GPO_controller server\shared_folder\enforcement_agent\SilentSetup.bat. 
- 
                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. 
- 
                Click OK.
                 
                    The Startup Properties window appears. 
- 
                Click Apply, and then click
                    OK.
                 
                    The Enforcement Agent uninstalls after client computers restart. 
- (Optional) Close any window opened during this procedure.
 
		