Start a conversation

How to manually uninstall MailEssentials 2012 from Exchange 2007/2010 ( ONLY)

Answer

This procedure should be used when MailEssentials can't be uninstalled from the Control Panel. 

For step 2, ControlSet00x means ControlSet001, ControlSet002, ControlSet003, ControlSet004 and so on.

WARNING: Follow these instructions carefully, do NOT delete anything other apart from what is explained below. Always backup the registry before making any changes to it. 
  1. To uninstall the MailEssentials Exchange Transport Agents:
    1. Start the Exchange Management Shell
    2. Execute the following commandlets:
      • Uninstall-TransportAgent -Identity "GfiAvSmtpAgent" 
      • Uninstall-TransportAgent -Identity "GfiAvRoutingAgent" 
      • Uninstall-TransportAgent -Identity "GfiAsSmtpAgent"
      • Uninstall-TransportAgent -Identity "GfiAsSmtp2Agent"
      • Uninstall-TransportAgent -Identity "GfiAsRtSubmittedAgent"
      • Uninstall-TransportAgent -Identity "GfiAsRtRoutingAgent"
    3. Answer [Y] Yes to confirm.
  2. To remove the MailEssentials services:
    1. Open the Windows Registry Editor (Start - Run - regedit.exe)
    2. Open HKLM\SYSTEM\CurrentControlSet\Services
    3. Delete keys:
      • gfiasmlhost
      • gfiasmsecatt
      • gfimetrxsvc
      • gfipop2exch
      • GFIscanM
      • gfiscans
      • listserv
      • csecmlhost
      • msecmlhost
      • msecavupdate 
      • NOTE: Also delete any instances of these keys present in HKLM\SYSTEM\ControlSet00x\Services
  3. To remove the GFI registered files:
    1. Open regedit.exe:
      • If no other GFI Products are installed, delete the GFI key from HKLM\SOFTWARE\Wow6432Node
      • If other products are installed, delete the HKLM\SOFTWARE\Wow6432Node\GFI\MailEssentials 
  4. To remove shared dll counters:
    1. Delete any values with the original installation path of MailEssentials from HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs
      • Also, if no other GFI products are installed, delete any values with \<CommonFilesFolder>\GFI\common  
  5. To remove the MailEssentials from add/remove programs:
    1. Open regedit.exe
    2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products
    3. The subkeys of this key are a bunch of letters and numbers. Go through these keys and remove the ones which have ProductName equal to GFI MailEssentials for Exchange/SMTP.
    4. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    5. You will see a bunch of letters and numbers as subkeys of this key. Go through these keys and remove the ones which have DisplayName equal to GFI MailEssentials for Exchange/SMTP.  
    6. Some old registry keys may be located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
    7. You can open the gfimes_xxxxxxxxx_x_maininstall.x86 log located in %temp% and look for the entry that lists the product , such as Product: {F09AEF50-299F-409F-85D4-D36C0EF2F2F9}
    8. Then search the registry for F09AEF50-299F-409F-85D4-D36C0EF2F2F9 and remove any references.The installation should proceed at this point.
  6. Reboot the machine
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments