?
Solved

Installed softare without GUID

Posted on 2016-10-18
6
Medium Priority
?
99 Views
Last Modified: 2016-10-20
Hi All,

We have an installed software on our PC's that don't have a guid. This means that when we try uninstall the product using powershell:

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

the uninstall fails as it cannot find the product.

Is there a way we can manually assign a guid to the installed software?

also is there another way we can uninstall the product?

thank you in advance
0
Comment
Question by:Kay
[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
6 Comments
 
LVL 18

Expert Comment

by:xtermie
ID: 41848322
0
 
LVL 28

Expert Comment

by:Dr. Klahn
ID: 41849310
Use the freeware version of Revo uninstaller in hunter mode.
0
 
LVL 19

Expert Comment

by:deroode
ID: 41849581
If the software was not installed using an msi package you won't be able to uninstall it with $app.Uninstall(); Try locating the software in "Programs and Features",

If it can be found there you can find the uninstall string in the registry somewhere under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:Kay
ID: 41851801
we have to uninstall it from 400 machines
0
 

Author Comment

by:Kay
ID: 41851802
therefore we are trying to automate this process
0
 
LVL 19

Accepted Solution

by:
deroode earned 2000 total points
ID: 41851808
When you find the uninstall string in the registry, go from there; If it is an MSI you can uninstall silent with msiexec /x {productcode} /QB, if the product has it's own uninstaller try to figure out if it has any command line options.

Can you give a hint about what software you are trying to uninstall?
0

Featured Post

WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 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