Question: How can I find the GUID of an MSI package? I would like to script the removal of a program on a large number of desktops by using: 

> 
> msiexec.exe /x *ProductCode*
> 
> 
> 

Any reason why this would not work for any applications listed in "Add/Remove Programs?"

Answer: 
It is a registry key:

```
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{<guid>}

```

or if the platform is x64 and the application is 32-bit:

```
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{<guid>}

```
[Revision Number Summary Property](http://msdn.microsoft.com/en-us/library/aa371255%28VS.85%29.aspx):

> 
> [T]he Revision Number Summary property
>  lists the product code GUIDs [...]
> 
> 
>