Solved

Installed softare without GUID

Posted on 2016-10-18
6
53 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 17

Expert Comment

by:xtermie
ID: 41848322
0
 
LVL 23

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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

708 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

19 Experts available now in Live!

Get 1:1 Help Now