Uninstall Trend Micro Agend with GPO

Iakovos Soulis 1 Reputation point
2022-09-07T08:33:29.02+00:00

I'm trying to make a script to uninstall trend micro agent with GPO so I can apply this action to all computers to my organization.

But it asks for a password to uninstall it.

Do you have an ideas how to do it ?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,714 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,801 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP
    2022-09-07T13:39:28.87+00:00

    Might try asking them here in dedicated forums.
    https://success.trendmicro.com/forum/s/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Limitless Technology 39,331 Reputation points
    2022-09-09T09:02:38.123+00:00

    Hello there,

    Was this application installed using GPO ?

    You can Uninstall using the application using GPO editor -> Edit- > Software Settings -> All Tasks, and then click Remove -> Click Immediately uninstall the software from users and computers, and then click OK.

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/use-group-policy-to-install-software#remove-a-package

    Alternatively you can use below PowerShell script and run it from Server to Uninstall it Remotely.

    $computerNames = @("ComputerName1", "rName2", "rName3")
    $appName = "AnyDesk"
    $yourAccount = Get-Credential
    ForEach ($computerName in $computerNames) {
    Invoke-Command -ComputerName $computerName -Credential $yourAccount -ScriptBlock {
    Get-WmiObject Win32_product | Where {$.name -eq $appName} | ForEach {
    $
    .Uninstall()
    }
    }
    }

    --------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments