Various methods to get the Uninstallation String for particular application.You can go with MOF changes to get uninstall string from registry(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall ) using Mark regkeytomof or You can use BDNA Normalize.
Now aDays ,most of the organizations are converting Applications to MSI with more customizations with unattended installation except some applications which has msi inbuild with EXE file using Packaging Tools. More info about Packaging stuff,you can get from ttp://www.itninja.com/
You can uninstall particular application if you have MSI ID or product ID using simple Command msiexec /x {ProductID} .
If you have used MSI based application to install on the computer,this information is tracked in SCCM (ProdID is enabled in MOF file by default).
This report talks about specific application and its MSI product ID with count of machines installed on.
select distinct DisplayName0,'msiexec /x '+ProdID0,COUNT(*) as 'Total' from v_ADD_REMOVE_PROGRAMS where DisplayName0 =@Appname
group by DisplayName0,ProdID0
Prompt:
select distinct DisplayName0, Version0
I have added MSIEXEC /X to the existing product ID to save excel time 😉
If you want to list all adobe products,replace DisplayName0 =@Appname with DisplayName0 like ‘%Adobe%’
Note: Please don't forget to change the quotes as they are fancy.
4 Comments
Thanks , it works for me
Sorry for the above link for screenshot: pls find the screenshot in the below link
https://mnkavin.blogspot.com/b/post-preview?token=a6OFa0UBAAA.MirNPwvuyTmn4rc_Qj-8_A.VCCMtMH2RJPRgPRf95ixow&postId=4080599547042199540&type=POST
cannot see the image.something went wrong.
Hi i try to use the above sql queries but im getting Error with out any Massage "Only Window"
select distinct DisplayName0,'msiexec /x' +ProdID0,COUNT(*) as 'Total' from v_ADD_REMOVE_PROGRAMS where DisplayName0 =@Appname
group by DisplayName0,ProdID0
i have replaced the fancy quotes. Please look in to the Screenshot below
https://drive.google.com/file/d/0B36mqRWoDg_GTlRxaXEyTTR0bTg/edit?usp=sharing