Solved

Removing program from machine remotely

Posted on 2013-05-20
5
271 Views
Last Modified: 2013-08-09
Hi
I need to remove a certain program from 30-50 machines to use an alternative program, Is there a way of doing this remotely and without affecting the users pc?
0
Comment
Question by:MongolianNoseFlute
5 Comments
 
LVL 20

Expert Comment

by:Lazarus
ID: 39181503
If its and MSI file you can use MSIexec. with the /x switch.
0
 
LVL 14

Expert Comment

by:comfortjeanius
ID: 39181512
0
 
LVL 20

Expert Comment

by:Lazarus
ID: 39181520
You can also use PSexec. with that to do your uninstall remotely using a list like this

psexec \\@PCs.txt Msiexec.exe /q/x{guid} remove=all

where "PCS.TXT"contains list of pcs

pc1
pc2
pc3
0
 
LVL 34

Accepted Solution

by:
Michael-Best earned 500 total points
ID: 39181528
You can use remote access programs such as:
http://www.teamviewer.com/en/index.aspx
For more see:
http://remote-pc-access-software-review.toptenreviews.com/

As far as:
" Is there a way of doing this remotely and without affecting the users pc? "

You will be affecting the users pc by the intallation of any remote access programs, allowing you to remotely access and change anything on their PCs and also the reboot of their PCs will be needed to install or uninstall most software.
0
 

Author Comment

by:MongolianNoseFlute
ID: 39201657
Hi,

I am trying to do this action via Powershell.
http://blogs.technet.com/b/heyscriptingguy/archive/2011/12/14/use-powershell-to-find-and-uninstall-software.aspx

another link i was looking at is - http://stackoverflow.com/questions/113542/how-can-i-uninstall-an-application-using-powershell

However I cannot get this to work correctly.
Im not sure how the following command works..

$app = Get-WmiObject -Class Win32_Product | Where-Object {
    $_.Name -match "Software Name"
}

$app.Uninstall()

I tried this but the command was incorrect not sure what I should use for Software name/ Appname??
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Find out what hardware you have and get the most up to date drivers from the manufacturer! Automatically Get Your Drivers There is a number of great programs that will detect your hardware and find drivers for you automatically! Here is a link …
1. Start | Settings | Printers and Faxes. 2. Go to the File Menu. 3. Select Server Properties. 4. Select the Drivers tab. 5. Select the printer you need information about. 6. Once again select Properties. You should get a list of the files requ…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now