Jump to content
Sign in to follow this  
Arthur L

need to silently remove trend officescan

Recommended Posts

Arthur L

Hi,

We are updating to NOD32 and need to silently remove Officescan. I know that using the administrator console can silently uninstall trend but the problem is, some of the machines are now "orphaned" by the server, so it cannot control it anymore. we are talking about 1000 computers.

I have found that the manual uninstallation program of officescan is "NTRmv.exe". but by executing it, it displays a window which I could not hide using @sw-hide.

this is the window:

Posted Image

the script is this:

RunWait("C:\Program Files\Trend Micro\OfficeScan Client\NTRmv.exe", "", @SW_HIDE)

I need to get rid of the uninstallation window. anyone has a solution?

thanks!

Share this post


Link to post
Share on other sites
erebus

Have in mind that not all windows can be hidden using the @SW_HIDE macro. A possible 'n dirty workaround is to wait for this window to show up and move it outside the visible screen borders using WinMove().

Share this post


Link to post
Share on other sites
PsaltyDS

the script is this:

RunWait("C:\Program Files\Trend Micro\OfficeScan Client\NTRmv.exe", "", @SW_HIDE)

I need to get rid of the uninstallation window. anyone has a solution?

Use the Win* functions on the window directly:

Run("C:\Program Files\Trend Micro\OfficeScan Client\NTRmv.exe", "", @SW_HIDE)
WinSetState("OfficeScan Client Uninstallation", "", @SW_HIDE)

Note Run() vice RunWait(), or your script can't do anything until the process exits.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.