Solved

Installed softare without GUID

Posted on 2016-10-18
6
95 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

728 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