→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AlanMarquez
Engaged Sweeper II

Hello everyone,

I'm looking for a solution to manage the programs installed on our workstations more efficiently. I was wondering if anyone knows if it's possible to uninstall programs directly from Lansweeper.

I've been researching and using Lansweeper to monitor and manage our IT assets, but I haven't found a specific feature for uninstalling programs remotely yet.

If anyone has experience with Lansweeper or knows of any way to achieve this, I would love to hear your advice and suggestions!

Thank you in advance for your help!

1 ACCEPTED SOLUTION
AlanMarquez
Engaged Sweeper II

I couldn't found that option.
Configuration -> Asset pages. Halfway down is the Asset Actions sections.

AlanMarquez_0-1708642168964.png
------------------------------------------------------------------------------------------

But I found the way to Uninstall software.

Deployment -> Add package -> add name and description

AlanMarquez_1-1708642315907.png

Below add step
Action - Command 
Stemp name - Uninstall 
Command - wmic product where name="Software Name" call uninstall /nointeractive
Success code - I didn't move it.
Actions on success - Stop (Success)
Action on Failure - Stop (Failure)

AlanMarquez_2-1708642578127.png

Deploy Now and choose the Group / report or section where you want to deploy.

View solution in original post

5 REPLIES 5
davidkbailey
Engaged Sweeper II

I've just done this for Thunderbird. You can create an install package, but for a .msi file you would use /x afterwards to call uninstall. For .exe files this isn't always consistent, so you can use /u /x etc, or try a third-party tool such as Insted (InstEd It! - InstEd - Make packaging more productive) to find the uninstall switch.

AlanMarquez
Engaged Sweeper II

I couldn't found that option.
Configuration -> Asset pages. Halfway down is the Asset Actions sections.

AlanMarquez_0-1708642168964.png
------------------------------------------------------------------------------------------

But I found the way to Uninstall software.

Deployment -> Add package -> add name and description

AlanMarquez_1-1708642315907.png

Below add step
Action - Command 
Stemp name - Uninstall 
Command - wmic product where name="Software Name" call uninstall /nointeractive
Success code - I didn't move it.
Actions on success - Stop (Success)
Action on Failure - Stop (Failure)

AlanMarquez_2-1708642578127.png

Deploy Now and choose the Group / report or section where you want to deploy.

AlanMarquez
Engaged Sweeper II

Hi Kevin -
Thank you for this information.
I get page not found when I go through 
More info on setting up the Uninstall Software action can be found in this knowledge base article.
Do you know if exist another page where I can found that?
Or do you know the steps to follow?

I guess since the tool is deprecated, they might have taken the page down.

But you should still be able to copy the executable to that folder on your Lansweeper server, then in the web console go to Configuration -> Asset pages. Halfway down is the Asset Actions sections, you can click the Add Asset action button, give it a name and then put {actionpath}RemoteUninst.exe {smartname} in the Action field and click OK. That should show up on asset pages now, on the left under Advanced actions. 

KevinA-REJIS
Champion Sweeper III

Lansweeper has an uninstaller that you can add, it's old but still works:

https://community.lansweeper.com/t5/general-discussions/lansweeper-s-free-uninstall-software-tool/m-...