Silent uninstall of...
 

Silent uninstall of password protected TrendMicro antivirus  

Page 2 / 5
  RSS

Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
07/01/2015 8:10 pm  

Hi Rocko,

Could you please tell me which method u are using to launch the vbs?

Kind regards,

Marco


ReplyQuote
Suman
 Suman
(@Suman)
Guest
Joined: 5 years ago
Posts: 1
28/01/2015 5:35 am  

Hi Marco,
Thanks for sharing such a post. It would be a great help if you could share how and where to run this vbs script from, and if possible also please post the latest and working script once more.

Regards,
Suman


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
28/01/2015 10:12 am  

Hi Suman,

The script as displayed in the blogpost is a working script. You just need to change the parameters 1 and 2 in the script. These can be found in “X:Program Files (x86)Trend MicroOfficeScanPCCSRVAutopcc.cfg” on the TrendMicro management server or in another location if decided to install it elsewhere.

You can run this script locally on the client (with admin privileges) or use for example SCCM to run this script on your clients.

Regards,

Marco Nuijens


ReplyQuote
akachicka
 akachicka
(@akachicka)
Guest
Joined: 5 years ago
Posts: 1
13/03/2015 11:55 am  

Great script, worked a treat for us. The parameters for Trend 10.6 SP1 are as below if of any use to others:

strPara1 = "-980223"
strPara2 = "-331"

Thanks for sharing your good work


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
14/03/2015 9:51 am  

Glad to be of help Akachicka 🙂


ReplyQuote
Christian
 Christian
(@Christian)
Guest
Joined: 5 years ago
Posts: 1
20/04/2015 3:58 pm  

I would like to start the autoinstallation of the new product after deinstallation. The deinstallation codes works fine but i cant find a position and a way to start the new installation. Could you help me?


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
21/04/2015 1:23 pm  

Hi Christian,

This is possible but I would advice to reboot the machines first before installing the new installation.

Offcourse when using SCCM 2007/2012 u could use a task seqeunce to accomplish this.

Greetings,

Marco


ReplyQuote
Justin
 Justin
(@Justin)
Guest
Joined: 4 years ago
Posts: 1
25/09/2015 9:48 pm  

I dont necessarily need the parameters since I'm dont care if the uninstall is silent, and I know the PW to uninstall. The thing is, I would still like to script something so I dont have to logon to every machine to do the uninstall. Doable?


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
26/09/2015 10:23 am  

U still can use this script, it does an uninstall of the client which is what u want to achieve.

I haven't found another way to uninstall the client even if u have the correct password. All other methods I found will prompt u for a password which isn't the solution you are looking for since u want it to be an automated uninstall.


ReplyQuote
Doug
 Doug
(@Doug)
Guest
Joined: 4 years ago
Posts: 1
06/10/2015 3:26 pm  

Any idea what the codes would be for version 11 ?

All help would be great !


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
07/10/2015 8:17 pm  

Hi Doug,

Have u tried to use this script? Don't think there will be much differences between 10.5 and 11 so u could try it. I haven't tested it myself on 11 tho. So if u could test it please let inform me about the results.

Many thanks in advance!


ReplyQuote
Mohamed
 Mohamed
(@Mohamed)
Guest
Joined: 4 years ago
Posts: 1
07/12/2015 1:18 pm  

Great script worked like a charm for me
tested this script with ver 11 with those parameters

strPara1 = “-980223″
strPara2 = “-331″


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
07/12/2015 2:56 pm  

Thank you for the confirmation Mohamed!

Glad to be of help with the script 🙂


ReplyQuote
Ivan
 Ivan
(@Ivan)
Guest
Joined: 4 years ago
Posts: 1
22/12/2015 8:30 pm  

Hello Marco,

Thank you for a very useful script, you saved my day 🙂

I would just add up few things if someone need it in the future.

I had to uninstall TrendMicro that asked for admin password, fight with UAC, and then install Kaspersky, all of those remotely, on our company domain.

So here is solution that I used:

- First, remote access, command prompt - sysinternals helped me, with following:
psexec.exe machine -s cmd.exe
For some reason, with -n and -p for user and password, even though I am domain admin, enterprise admin, local admin, below reg things gave me a access denied answer.

- Second, two lines below, will disable UAC (first) and not ask for it if you remoted as local admin (second)
reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f

-Third, your script 🙂 Thanks again!

-Fourth, script that waits for process ntrmv.exe to end (not mine, found on net and adopted):
Function IsProcessRunning( strServer, strProcess )
Dim Process, strObject
IsProcessRunning = False
strObject = "winmgmts://" & strServer
For Each Process in GetObject( strObject ).InstancesOf( "win32_process" )
If UCase( Process.name ) = UCase( strProcess ) Then
IsProcessRunning = True
Exit Function
End If
Next
End Function

' Main
Dim strComputer, strProcess
strProcess = "ntrmv.exe"
strComputer = "computer"
Do
Loop until ( IsProcessRunning( strComputer, strProcess ) = False )

Then I ran Silent kaspersky install.

All in all, for whole process I didn't need to force users to restart, all worked right after uninstall / install, I just did restart when they logged off at end of the day.

Ivan.


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
22/12/2015 10:44 pm  

Hi Ivan,

Glad to be of some help and thank you for sharing your solution. I am sure this will also help alot of people. I used to run the script through SCCM so I didn't encounter the issue with UAC. But it looks like you have tackled that problem.

Thank you again for sharing your solution.

Kind regards,

Marco


ReplyQuote
Page 2 / 5
Share:

Please Login or Register