Question

Trying To uninstall Cylance OPTICS

  • 18 February 2022
  • 1 reply
  • 513 views

Badge

I am trying to get this to run in a worklet but I am not great at powershell. Here is what I have:

 

Evaluation code:

If (Test-Path -Path "C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe")

  {
        return 1
    }
    else
    {
        return 0
    }

 

 

Remediation code:

 

Start-Process -Wait -FilePath 'C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe' -ArgumentList ‘--use_cli -t v20’ -PassThru

 

 

 

 

Ultamately what needs to run is:

C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe -use_cli -t v20’ -PassThru

 

 

Any direction would be much appreciated. 

 

-Rob


1 reply

Hi, @rhawker - it may need to be a bit more involved tan that. What version of Windows are you running on? Here’s a link to our worklet for uninstalling Windows apps (it requires some very specific naming & syntax): https://console.automox.com/manage/worklet-catalog/19?o=4342&frompage=%2Fmanage%2Fworklet-catalog

Let me know if that gets you going!

Reply