Silent uninstall of...
 

Silent uninstall of password protected TrendMicro antivirus  

Page 5 / 5
  RSS

Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
04/08/2016 7:38 am  

Dear Sulman,

I resend you the file as a compressed file and as a *.txt file.

Hopefully this will work for you. Please let me know.

Greetings,

Marco


ReplyQuote
sulman
 sulman
(@sulman)
Guest
Joined: 3 years ago
Posts: 11
04/08/2016 11:06 am  

Dear Marco, thank you for your email I got the files, really appreciate your support. However when we run the script we get the error that

Line: 17
char:1
The system cannot find the file specified.

This is the same error which Abdullah is getting. Any suggestions how we can fix this? Thanks


ReplyQuote
sulman
 sulman
(@sulman)
Guest
Joined: 3 years ago
Posts: 11
04/08/2016 11:17 am  

Dear Marco , I made few changes and now it is working as a charm for removing the agent, brilliant. I thank you for your support and help. cheers


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
04/08/2016 11:25 am  

Dear Sulman,

Thank you for the confirmation. Could you please share with us which changes you have made to the script?

Is it the difference between 32 and 64bit installation? Because if he couldn't find the file it's because of it's installed in a different directory or because of the differences in the program files directory.

Kind regards,

Marco


ReplyQuote
sulman
 sulman
(@sulman)
Guest
Joined: 3 years ago
Posts: 11
04/08/2016 5:32 pm  

Yes you are right , make sure you use 32 bit for 32 bit and 64 bit for 64 bit. Thanks


ReplyQuote
Abdullah
 Abdullah
(@Abdullah)
Guest
Joined: 3 years ago
Posts: 6
07/08/2016 7:02 am  

Dear Marco and Sulman,

I am still getting an error at line 23:

WshShell.run Chr(34) & strApp & Chr(34) & " " & Chr(34) & strPara1 & Chr(34) & " " & Chr(34) & strPara2 & Chr(34), 0, True

picture:

View post on imgur.com

I checked for the folders and the path, it exists.

What is wrong with the script?

Please help and thank you.


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
08/08/2016 8:35 am  

Dear Marco and Sulman,

I am still getting an error at line 23:

WshShell.run Chr(34) & strApp & Chr(34) & ” ” & Chr(34) & strPara1 & Chr(34) & ” ” & Chr(34) & strPara2 & Chr(34), 0, True

picture:

View post on imgur.com

I checked for the folders and the path, it exists.

What is wrong with the script?

Please help and thank you.
=============================================
Dear Abdullah,

Looking at the screenshot and knowing the script works I can conclude that the script is working fine. It just can't find the file. Until now this issue only occurs in the following situations;

- The installation directory is not the directory mentioned in the script
- It cannot resolve if it's a 64bit of 32bit installation.

Please run the following script and let me know what the outcome is (save script as vbs script and run within a command prompt ; wscript.exe .vbs )

It will show u 2 pop-ups

' Name : Check_Existance_ntrmv_exe.vbs
' Description : Script for checking existance of filename ntrmv.exe
' Created by: Marco Nuijens - Virtualizethis.net

strApp86 = "C:Program FilesTrend MicroOfficeScan Clientntrmv.exe"
strApp64 = "C:Program Files (x86)Trend MicroOfficeScan Clientntrmv.exe"

Dim FSO
Set FSO = CreateObject("Scripting.FileSystemObject")

If fso.FileExists(strApp86) Then
MsgBox "ntrmv.exe exists in location" & " " & strApp86
Else
MsgBox "ntrmv.exe does not exists in location" & " " & strApp86
End If

If fso.FileExists(strApp64) Then
MsgBox "ntrmv.exe exists in location" & " " & strApp64
Else
MsgBox "ntrmv.exe does not exists in location" & " " & strApp64
End If


ReplyQuote
sulman
 sulman
(@sulman)
Guest
Joined: 3 years ago
Posts: 11
08/08/2016 2:53 pm  

Well I tested it on 3-4 machines were 64 BIT, I ran it with cscript and it worked fine . I will double check it again with 32 BIT machines to see what is the cause. Earlier I got the same error becuase I was trying to run the 32 BIT patch on 64 BiT machines so I changed it with 64 BIT file paths and it worked fine.


ReplyQuote
Abdullah
 Abdullah
(@Abdullah)
Guest
Joined: 3 years ago
Posts: 6
10/08/2016 12:24 pm  

Dear Macro,

Thanks for your reply.

I executed the script like you said and got 2 message box, i have snipped both and uploaded here:

View post on imgur.com

so it is finding the path but something is wrong with the main script at line 23.

you 1st script works fine still after changing the folder path. but not the second one.


ReplyQuote
Abdullah
 Abdullah
(@Abdullah)
Guest
Joined: 3 years ago
Posts: 6
10/08/2016 12:31 pm  

Here is the main original script, that works for me but not exactly silent, it prompts for an installation message.

View post on imgur.com

But maybe that can be sorted out changing the parameters, my main concern is the 2nd script doesn't execute at all, just gives an error.


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
10/08/2016 12:51 pm  

Dear Abdullah,

Can u e-mail me the second script? I will check it for flaws and will send it back to u.

U can e-mail me at info@virtualizethis.net

Kind regards,

Marco


ReplyQuote
Abdullah
 Abdullah
(@Abdullah)
Guest
Joined: 3 years ago
Posts: 6
25/08/2016 5:36 am  

Dear Marco,

Have you received my email? I have sent you one on the 14th August.


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
28/08/2016 3:20 pm  

Dear Abdullah,

I'm sorry for my late reaction I was enjoying a short vacation. Can you inform me how you launch the script like which method u use to launch it on a local of remote device?

Greetings,

Marco


ReplyQuote
Antonio
 Antonio
(@Antonio)
Guest
Joined: 3 years ago
Posts: 1
23/11/2016 7:26 pm  

i was having the same issues of error at line 23 i fixed it by modifying the way the script verifies if it is 32 or 64 bit

replace lines 11 - 15 with
If GetObject("winmgmts:rootcimv2:Win32_Processor='cpu0'").AddressWidth _
= 32 Then
strApp = "C:Program FilesTrend MicroOfficeScan Clientntrmv.exe"
Else
strApp = "C:Program Files (x86)Trend MicroOfficeScan Clientntrmv.exe"
End If

delete lines 45-59


ReplyQuote
Marco Nuijens
(@manu)
Member Admin
Joined: 3 years ago
Posts: 50
23/11/2016 8:04 pm  

Thank you for your input! I will adjust the main post as soon as possible.


ReplyQuote
Page 5 / 5
Share:

Please Login or Register