SCCM Finding Product Codes & GUID’s

Removing old software from the network PC’s can be a painful process. We have tried to automated this as much as possible using SCCM 2012 and the  msiexec.exe command such as:

msiexec.exe /x {9246084B-2DB4-4843-870B-A5CCDAD3D2F3} /q

One of the problems with using this method is knowing the exact {GUID / Product Code } to use. Obviously if you have used a .MSI installer to do the application installation you have ready access to the code after you create the application. You can find the code by going to the application you created in SCCM 2012 \Software Library\Overview\Application Management\Applications and Click on the programs tab.

Uninstall Firefox With SCCM

Other programs installed on client computers may have been installed outside of SCCM and so you wouldn’t  have that option available. Fortunately if the program was installed with an MSI installer you can retrieve the GUID or Product ID using Resource Explorer. A prerequisite for having this information would be to have Hardware Inventory enabled in the Client Settings.

Go to \Assets and Compliance\Overview\Devices and right-click a device name, Start, Resource Explorer.

SCCM Resource Explorer

When the Resource Explorer starts, click Hardware, then Installed Applications.

Sccm 2012 Resource Explorer

Now you can see the Installed Applications and their Associated Product ID’s for this Device.

Product ID GUID

To narrow things down a bit we can type in search criteria just like other areas of SCCM 2012, In this case were looking for old Java Versions.

Old Java Versions SCCM 2012

So there they are, now we have the Product ID or GUID of the Java versions installed on this particular Computer and we can proceed with the uninstall package using the product ID‘s provided in Resource Explorer.