Solved

Removing program from machine remotely

Posted on 2013-05-20
5
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In its Critical Driver Installation Order document, Intel stresses that this sequence be followed:   1       Fresh Operating System Installation 2       Latest Service Pack or Patch 3       Intel® Chipset Software Installation Utility (INF Utili…
A while back when OPSMGR 2012 was released we were very excited about getting it into our environment and upgrading our 2007 implementation,  we started our planning and we then proceeded with our implementation. All went as planned & our system …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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