Loading...

Knowledge Center


Uninstallation fails using Add/Remove Programs if an application is installed for a particular user
Technical Articles ID:   KB79658
Last Modified:  11/12/2013

Environment

McAfee Application Control (MAC) 6.1.2

Problem

Uninstallation of an application fails (when using Add/Remove Programs) if the application is installed for particular user.

Solution

This issue is being evaluated for consideration in a future product release or update. If this issue significantly impacts your business operations, log on to the ServicePortal and create a Service Request at https://support.mcafee.com/ServicePortal/faces/serviceRequests/createSR. Include this article number in the Problem Description field to help us assess the need for product modification.

You can also search the Ideas forum for an existing product idea that matches your requirements, and vote to have it added to the product. For more information about product ideas, see KB60021.


As a temporary measure, implement the workaround.

Workaround

  1. Identify the Uninstallation binary associated with the software that needs to be installed for a specific-user use case.
    1. Click Start, Run, type regedit and click OK.
    2. Navigate to the following registry key:

      [HKEY_USERS\<SID-of-the-current-user>\Software\Microsoft\Windows\CurrentVersion\Uninstall\<Name-of-the-software>]

      Example:
      [HKEY_USERS\S-1-5-21-2471391981-4260163596-3524410420-500\Software\Microsoft\Windows\CurrentVersion\Uninstall\BeyondCompare3_is1]
       
    3. Once the key is located, look for the subkey UninstallString in the right pane and note the value of this subkey (which should be a path that includes a .exe extension). This binary is called the Uninstall Binary of this software.

      NOTE: To find the SID-of-the-user (if not known), run the following command: wmic useraccount where name='%username%' get sid"

  2. Once the Uninstallation binary is identified, before performing the uninstallation:
    • If uninstallation needs to be allowed (such as Mode 1 of package control), add an updater rule for the Uninstall Binary.
    • If the uninstallation needs to be prevented for this software (such as Mode 2 of package control), add this binary to the "banned" list of binaries.


    NOTE: For details on Package Control modes, see PD24669.

Rate this document

Beta Translate with

Select a desired language below to translate this page.

Languages:

This article is available in the following languages:

English United States
Japanese

Glossary of Technical Terms


 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.