Thursday, November 9, 2023

How to get app's GUID for Intune application deployment

Standard

I was wondering how to find the GUID for an application so that I can create an uninstall command for an application that is not available for uninstallation through  on the internet.

To extract the GUID for an application, you can follow these steps:

  1. Install the application on a PC.
  2. Open a Windows PowerShell: You can do this by searching for "PowerShell" in the Windows search bar
  3. Run the following command:
Get-CimInstance -ClassName Win32_Product | Sort-Object -Property Name | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize




This command will list all installed programs along with their identifying numbers (GUIDs). Look for the application you want to uninstall, and note down its identifying number (GUID).
Now you have the GUID for the application, which you can use to create an uninstall command.

Example: msiexec /x "{5B0C7A0B-0B5A-4552-8E06-0CC630F2C50A}" /qn

0 comments:

Post a Comment