This eedk tool also creates a registry key entry which actually assisted with my package creation issues. Check to see what you set that key to in the package and go see if it is actually being created. Also does this work when you run it manually with administrative privileges?
I've created a package with AutoIT exe app to call TITUSCleanupTool.exe as an administrator when I run a Client Task on a Managed System.
I've attached 2 images here for you to see what I did.
At 1.jpg, basically, I made the package with a folder containing both TITUSCleanupTool and my script BALDE.exe to call TITUS app.
On Product Detection Key, I have inputted a random key, just to ePO not finding it and keep running the task.
At 2.jpg is the folder that I used to made the package.
Run this without the client task. Go to the local system and drop in folder. Launch admin command prompt and go to path and try to execute locally. Does this method work?
If I call BALDE.exe on Admin CMD it works as expected.
the command configured on BALDE.exe is basically:
Run ("C:\ProgramData\McAfee\Agent\Evaluation\T_REMOVL0220\Install\0000\TITUSCleanupTool.exe /run")
TITUSCleanupTool needs to be executed from an Admin CMD to work.
Another thing that I notice is, on McAfee Agent log is shown that, firstly, it is downloaded BALDE.exe, then it is verified. After, it is downloaded TITUSCleanuptool.exe and verified.
Is this sequence correct? Does McAfee client task deploys one software per time or it is deployed everything in a package at once?
I've attached the image with McAfee Agent log.
It has to download all the files in the package, then it will execute the command it was told to run.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
I think I figured out on how to solve this.
After a lot of tests I've noticed that our antivirus was blocking BALDE.exe from being executed.
If I allow BALDE.exe on Antivirus, TITUSCleanuptool is executed and does what it expected to do (remove TITUS application completely from our PC).
Thanks to your help cdinet and Zgreen. It helped me a lot.