Uninstall an application using GUID with CM

LMS 156 Reputation points
2021-03-09T07:34:17.49+00:00

Hi

We are looking for a way to uninstall an application which is not installed through CM using Product GUID. It's working fine when we run the command locally as following

msiexec.exe /x {Product GUID of the Desktop Client} /QN /L*V "C:\Client-uninstall\desktop-uninstall.log" REBOOT=R

We will create a task sequence to uninstall the product and then restart the PC. Looking for support

Thanks in advance

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
458 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. LMS 156 Reputation points
    2021-03-09T08:39:01.61+00:00

    We created an package with program "msiexec.exe /x {Product GUID of the Desktop Client} /QN /L*V "C:\Client-uninstall\desktop-uninstall.log" REBOOT=R", but it failed due to the invalid path folder ... it uninstalled from one PC. We are testing with other PC where the application is running..

    0 comments No comments

  2. Amandayou-MSFT 11,046 Reputation points
    2021-03-10T06:36:26.767+00:00

    Hi @LMS ,

    but it failed due to the invalid path folder.

    Could we know if we specify the data source of package, which the application is located? if not, it maybe something wrong.

    Please refer to this following screenshot:
    76158-310.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.