Hi there,
I have created a simple script to uninstall an application. The script is working fine if you run it in the local machine or you run it through psexec. The problem is when I deploy the script from SCCM, the script is executed and finish with a 0 code, but the application is not uninstalled. I deploy it as a package with the following command "cscript script_name.vbs" and it is run as system user. Client logs is not reporting any issue, I have not found anything in the event viewer so I am stuck here. I really don't know what else I could check to look for a clue. Below you can see a screenshot of the client log.

And this is the script to uninstall the application

Any idea will be apreciated. Thanks in advance.
Best regards
Gustavo
I have created a simple script to uninstall an application. The script is working fine if you run it in the local machine or you run it through psexec. The problem is when I deploy the script from SCCM, the script is executed and finish with a 0 code, but the application is not uninstalled. I deploy it as a package with the following command "cscript script_name.vbs" and it is run as system user. Client logs is not reporting any issue, I have not found anything in the event viewer so I am stuck here. I really don't know what else I could check to look for a clue. Below you can see a screenshot of the client log.

And this is the script to uninstall the application

Any idea will be apreciated. Thanks in advance.
Best regards
Gustavo