Answer
How to manually uninstall MailEssentials from Exchange 2007/2010
-
This procedure is useful when you are having problems uninstalling MailEssentials
- Since there is a need to delete keys from the Registry, a manual procedure is preferred to a script
- For this procedure the client must use RegEdit and the Exchange Management Shell
- For step A, ControlSet00x means ControlSet001, ControlSet002, ControlSet003, ControlSet004 and so on
WARNING: Follow these instructions carefully, do NOT delete any other keys apart from the ones explained below. Always backup the registry before making any changes to it.
A. To remove the MailEssentials services:
- Open regedit.exe
- Open HKLM\SYSTEM\CurrentControlSet\Services
- Delete keys: GFI MailEssentials Legacy Attendant Service, listserv, GFIMETRXSVC, gfiasmlhost, GFIScanS, GFI MailEssentials Attendant, GFI POP2Exchange
- Also delete any instances of these keys present in HKLM\SYSTEM\ControlSet00x\Services
B. To remove the GFI registered files:
- 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\ME12 key
C. To uninstall the MailEssentials Agents:
- Start the Exchange Management Shell
- Execute the following commandlets: Uninstall-TransportAgent -Identity "GfiAsRtSubmittedAgent" Uninstall-TransportAgent -Identity "GfiAsRtRoutedAgent" Uninstall-TransportAgent -Identity "GfiAsSmtpAgent"
- Answer [Y] Yes to confirm.
D. To remove shared dll counters:
- 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
E. To remove the MailEssentials from add/remove programs:
- Open regedit.exe
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products The subkeys of this key are a bunch of letters and numbers. Go through these keys are remove the ones which have "ProductName" equal to GFI MailEssentials for Exchange/SMTP.
- Do the same for the following key: HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- You will see a bunch of letters and numbers as subkeys of this key. Go through these keys are remove the ones which have "DisplayName" equal to GFI MailEssentials for Exchange/SMTP.
- Some old registry keys may be located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
- 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}
- Then search the registry for F09AEF50-299F-409F-85D4-D36C0EF2F2F9 and remove any references.The installation should proceed at this point.
F. Reboot the machine:
- After performing all steps from A to F, you should be free to install MailEssentials again.