I would like to use the attached (i renamed it to .txt from .bat) batch file to uninstall our Trend Virus Software and reinstall it at one of our remote locations. Is it possible for me to use Big Fix to make this happen? If so some pointers would really be apprecaited. I am still learning my way around the software and our expert is no longer employed here.
Your batch file won’t work so great unless you enabled null session shares for the remote shares (because the BES Client runs as the SYSTEM account and it won’t have access to the remote share). Here is how you create null session shares: http://support.bigfix.com/bes/misc/null_session_share.html
To run this, you would make a custom task. The relevance for the Task would be to detect that Trend Micro is installed. Based on one of our other Fixlets, I can see that checking for a couple services might be a simple way to detect this (you probably should doublecheck that these are the services that you want):
(exists service “tmlisten” and exists service “ntrtscan”)
If you don’t want to make a null session share, you can use the software distribution wizard to create a package of the autopccp.exe files (and supporting files) and distribute them to computers without using the remote shares.
Ok i will give this a shot. We actually want it to uninstall even if the services exist because we have a whole bunch of clients in one of our locations that are disconnected from the Trend Master Server. So in order to get them back we want to try reinstalling. Would I still need to look for services or can I do it without that?
The relevance is used to restrict when the Fixlet runs… In the case I gave you, it will only run if the services exist. If you want it to run in all cases, you can use the relevance of “true”, which means the Fixlet will run on any targeted computer.