Overview
There are cases when the GFI LanGuard server or agent cannot be uninstalled normally. This article provides detailed instructions on how to remove the LanGuard manually.
Diagnosis
There are rare occasions when GFI LanGuard's usual uninstallation procedure fails. For example, when LanGuard (un)installation attempt was interrupted, or the files/registry keys become corrupted. In such cases, it is possible to remove LanGuard manually, by deleting the Windows Registry keys and the installation folder.
Solution
Note: Before making any changes to the registry, it is important to back up it. This will allow you to restore it in case of accidental changes.
Note: Do NOT skip any of the steps below for the installed LanGuard version, even if you think they do not apply to your case. The registry keys for the GFI LanGuard are equal for the main application and agent installation.
Note: Not all keys may be present depending on your situation and previous (un)installation attempts, skip the ones that are missing.
- Click Start > Run and type
regedit
to access the Registry Editor. - Delete the GFI LanGuard Services keys:
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\gfi_lanss12_attservice (LG 12)
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\gfi_lanss12_winservice (LG 12)
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\gfi_lanss11_attservice (LG 11)
- Delete the product name from Add/Remove Programs hive:
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\C72FCF837A17D2444AAA72C4344940C4 (LG 12)
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\95C7070A23B48B8449DE37BB861E5C96 (LG 11)
- Delete the GFI LanGuard Agent uninstall key:
- On an x64 machine
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ {38FCF27C-71A7-442D-A4AA-274C4394044C} (LG 12)
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A0707C59-4B32-48B8-94ED-73BB68E1C569} (LG 11)
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5D56359C-92E3-4306-A48D-7F95B8D0D48D} (LG 10)
- On an x32 machine:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ {38FCF27C-71A7-442D-A4AA-274C4394044C} (LG 12)
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A0707C59-4B32-48B8-94ED-73BB68E1C569} (LG 11)
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5D56359C-92E3-4306-A48D-7F95B8D0D48D} (LG 10)
- On an x64 machine
- Delete the GFI LanGuard Agent key:
- On an x64 machine:
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI\LNSS12 (LG 12)
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI\LNSS11 (LG 11)
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI\LNSS10 (LG 10)
- On an x32 machine:
- HKEY_LOCAL_MACHINE\SOFTWARE\GFI\LNSS12 (LG 12)
- HKEY_LOCAL_MACHINE\SOFTWARE\GFI\LNSS11 (LG 11)
- HKEY_LOCAL_MACHINE\SOFTWARE\GFI\LNSS10 (LG 10)
- On an x64 machine:
- Delete per user keys:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C72FCF837A17D2444AAA72C4344940C4
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\95C7070A23B48B8449DE37BB861E5C96
- Reboot the server.
- Delete the C:\Program Files (x86)\GFI\LanGuard XX (replace XX with the LanGuard version) whole directory.
- Delete the C:\Program Files (x86)\GFI\LanGuard XX Agent (replace XX with the LanGuard version) whole directory.
Testing
After rebooting the server and deleting the installation directory, you will find that GFI LanGuard has been removed successfully.