We are one of the many lucky people to get that killer Trend Deal and to get the shaft from upgrading away from Trend. As of right now we have Trend but no way to update using the current active bigfix scripts
I have found a way to manually do this; but I can get it working correctly
A simple bat file @echo off
pushd "C:\Program Files\Trend Micro\OfficeScan Client"
PCCNTMon.exe -us
This will run the Trend Micro Updater and run it silent in the backround this works great if you run it from a Bat file or from the cmd line
I want to make a custom script that will run this in bigfix that we can use until we change over to a new AV
Probably a problem with 32-bit redirection. Since the BES Client is 32-bit, when you reference “Program Files” it is redirected to “Program Files (x86)”.
Try putting action uses wow32 redirection false
in your actionscript before running the batch file.
I definitely think you may need this, but also, not sure why you are calling cscript. Is this a VBScript or similar? Is this how you have done it manually on the command line?
I just want to find a way to run the automatic updater that is already built into the Trend Micro; you are unable to modify the folder so I couldn’t just add in a bat file as you can’t really make changes;
So I just came up with a script that kicks off the auto updater; I have been running it on a bat file that works fine and it also works when you run the command in the CMD; but when I was using https://gyazo.com/1eb0749a82ec93a365cd8064db22ef8f
bigfix to kick off the operation it wasn’t working correctly;
PCCNTMon.exe
Notice how Out of Date my Virus Pattern is
If you run the PCCNTMon.exe-us
It will do a silent update in the back round and have the Patterns up to date
This is updating tool used to Run with Trend; when you use a -u it will pull up the Trend Micro Screen and have to manually updated by clicking we don’t want that; that’s the reason I’m using the -us command
When I run this in bigfix it will run as completed but the it won’t update correctly so that’s why i asking on the forums
As i run this in the debugger and it runs fine as well the system thinks it was completed but it’s not doing the update.
The next debugging step to try is to use PSExec to execute the command as the SYSTEM account and see if that works. I generally do this by opening a CMD window as SYSTEM, then run this:
action uses wow64 redirection {not x64 of operating system}
dos "{pathname of files "pccntmon.exe" of folders "Trend Micro\OfficeScan Client" of folders whose(name of it starts with "Program Files") of folders "C:"}" -us
If this gives a relevance substitution error, that should mean there is something wrong with the path and the relevance I’m using to find it.
I admire the tenacity. On some occassions I’ve had trouble using waithidden with wuoted parameters. Could also be a problem with the program itself not dealing with working directory correctly. So try this.
That is a good sign of progress if you can definitely get it to open even if no update kicks off.
Another thing to try is to run it as the current user with the override command. This can work differently depending on if the current user is an admin or not but there are potential solutions to that too.