Overview
When upgrading GFI MailEssentials, the installation process may fail with the following error message logged:
[2470:1D48][2020-01-27T10:33:14]i000: Execute Message >> maininstall.x64 [ActionStart] Action 10:33:14: DeleteServices. Deleting services (datacount: 3)
[2470:1D48][2020-01-27T10:33:14]i000: Execute Message >> DAT [0] = DeleteServices
[2470:1D48][2020-01-27T10:33:14]i000: Execute Message >> DAT [1] = Deleting services
[2470:1D48][2020-01-27T10:33:14]i000: Execute Message >> DAT [2] = Service: [1]
[2470:1D48][2020-01-27T10:33:14]i000: Progress >> [maininstall.x64]: Overall: 50, 100
[2470:1D48][2020-01-27T10:33:14]i000: Progress >> [maininstall.x64]: Overall: 50, 100
[2470:1D48][2020-01-27T10:33:14]i000: Progress >> [maininstall.x64]: Overall: 50, 100
[2470:1D48][2020-01-27T10:34:22]i000: Error >> [maininstall.x64] Code: 1922, Message: Error 1922.Service GFI MailEssentials Attendant (gfimesattendant) could not be deleted. Verify that you have sufficient privileges to remove system services.
This article provides the root cause of this installation error and the resolution for it.
Root Cause
The reason why this error occurs is that the upgrade process fails to stop and replace one of the services. Most commonly, this issue occurs because the service has been marked for deletion previously.
Resolution
To resolve this issue, remove the mentioned service manually.
- Run Command Prompt as administrator.
- On the left end of the Windows taskbar, select the Start icon, or press the Windows logo key on your keyboard.
- Type
cmd
. - Right-click on the application link and select Run as Administrator. This option may be offered under the application options as well. Alternatively, you may press ctrl+shift+enter at the same time.
- Click Yes in the security alert window.
- Delete the named service by using the
sc delete
command.
For the service that is indicated in this error, use the following command.
sc delete gfimesattendant