GUID’s can become incredibly useful in script writing. However finding the GUID is not an easy task. Below is how to use CMD or Powershell to find the GUID’s of all installed programs on a machine.
You can use the command-line or PowerShell.
- Open up CMD or Powershell. If available, which it is not on XP/Server 2003 machines, use Powershell as it runs much faster.
- Run the following command: wmic product get. This will show within the window a list of all program GUID’s. If you’d like to print these to Notepad so you can easily navigate, type in the command as so: wmic product get > C:InstalledPrograms.txt
- This process will take about 2-3 minutes to complete, however it will give you a complete list of programs and their GUID’s.