Solved

Installed softare without GUID

Posted on 2016-10-18
6
80 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
6 Comments
 
LVL 18

Expert Comment

by:xtermie
ID: 41848322
0
 
LVL 26

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 500 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
A brief introduction to what I consider to be the best editor for PowerShell.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

828 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