cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
steveb
Champion Sweeper

This is a good alternative to the old LS remote uninstall utility and seems to work a bit better as well.

https://www.nirsoft.net/utils/uninstall_view.html

{actionpath}uninstallview.exe /connectmode 2 /computername {smartname}

If you adjust the preferences like column layout/sorting etc it saves it to a config file and those settings will persist for anyone that uses it as well.

15 REPLIES 15
miek_g
Engaged Sweeper III
hirogen wrote:
Can i use this to uninstall mcafee from our clients as we're moving to trend


are you using corporate McAfee? i.e. the framework package? if so NO, if not Yes!

use this script to uninstall corporate:

"C:\Program Files (x86)\McAfee\Common Framework\x86\frminst.exe" /forceuninstall
"C:\Program Files\McAfee\Agent\x86\frminst.exe" /forceuninstall
"C:\Program Files\McAfee\Agent\frminst.exe" /forceuninstall
#
#
for reinstall
:: copy "\\acentralserver\tech\mcafee\Agent506.exe" c:\
:: c:\temp\agent506.exe /install=agent /forceinstall /silent
hirogen
Engaged Sweeper III
Yep Corporate I'm afraid, however thanks for replying!

miek_g wrote:
hirogen wrote:
Can i use this to uninstall mcafee from our clients as we're moving to trend


are you using corporate McAfee? i.e. the framework package? if so NO, if not Yes!

use this script to uninstall corporate:

"C:\Program Files (x86)\McAfee\Common Framework\x86\frminst.exe" /forceuninstall
"C:\Program Files\McAfee\Agent\x86\frminst.exe" /forceuninstall
"C:\Program Files\McAfee\Agent\frminst.exe" /forceuninstall
#
#
for reinstall
:: copy "\\acentralserver\tech\mcafee\Agent506.exe" c:\
:: c:\temp\agent506.exe /install=agent /forceinstall /silent


Tythesly
Engaged Sweeper III
Oh that worked perfectly! Thanks for the help!
miek_g
Engaged Sweeper III
Thanks steveb, I just did the same myself

I used the following command:
{actionpath}UninstallView.exe /LoadFrom 4 /ComputerName {smartname} /ShowSystemComponents 1

full instructions for those who come across the thread:

download Nirsoft uninstallview save it to your Lansweeper\actions folder under Program Files
usually "C:\Program Files (x86)\Lansweeper\Actions"
also download sysinternals psexec I also grabbed the psexec64 also save those in the Lansweeper actions folder

Open Lansweeper
click on Configuration, select actions page
add new action, I selected advanced and always ask.

please take not that there is no space after {actionpath}, if you have a space it will just open the actions folder

Load from 4 = ALL users on remote computer
Load from 2 = ALL users on current system

the connectmode is undocumented so may no longer be in use
Tythesly
Engaged Sweeper III
miek_g wrote:
Thanks steveb, I just did the same myself

I used the following command:
{actionpath}UninstallView.exe /LoadFrom 4 /ComputerName {smartname} /ShowSystemComponents 1

full instructions for those who come across the thread:

download Nirsoft uninstallview save it to your Lansweeper\actions folder under Program Files
usually "C:\Program Files (x86)\Lansweeper\Actions"
also download sysinternals psexec I also grabbed the psexec64 also save those in the Lansweeper actions folder

Open Lansweeper
click on Configuration, select actions page
add new action, I selected advanced and always ask.

please take not that there is no space after {actionpath}, if you have a space it will just open the actions folder

Load from 4 = ALL users on remote computer
Load from 2 = ALL users on current system

the connectmode is undocumented so may no longer be in use


Any idea how to get this working from a different domain. I am on the county domain but the computer I want to work on is on the health domain.
steveb
Champion Sweeper
Tyler M. wrote:
miek_g wrote:
Thanks steveb, I just did the same myself

I used the following command:
{actionpath}UninstallView.exe /LoadFrom 4 /ComputerName {smartname} /ShowSystemComponents 1

full instructions for those who come across the thread:

download Nirsoft uninstallview save it to your Lansweeper\actions folder under Program Files
usually "C:\Program Files (x86)\Lansweeper\Actions"
also download sysinternals psexec I also grabbed the psexec64 also save those in the Lansweeper actions folder

Open Lansweeper
click on Configuration, select actions page
add new action, I selected advanced and always ask.

please take not that there is no space after {actionpath}, if you have a space it will just open the actions folder

Load from 4 = ALL users on remote computer
Load from 2 = ALL users on current system

the connectmode is undocumented so may no longer be in use


Any idea how to get this working from a different domain. I am on the county domain but the computer I want to work on is on the health domain.


Using shellrunas should do it. That is what we do for our other domains.

{actionpath}shellrunas /accepteula /netonly UninstallView.exe .....