Updated Version Of This Can Be Found HereNovice users: see the bottom of this post for information on how to do this in an easy and fast way!
I encountered significant difficulty in removing a previous version of CFP so that I could upgrade to the most recent edition, v188.8.131.526. In reviewing some recent posts about incomplete or aborted installation routines, I thought I would post a set of comprehensive instructions for completely removing CFP.
In particular, these instructions should help upgrading users who receive the message, “COMODO Firewall Pro is already installed. Do you want to un-install it now?" and after checking either the “Yes” or “No” button, nothing happens.These instructions are specific to Windows XP Pro SP2 x32.
However, they may be adapted to your particular Windows installation, including Vista. I make no guarantees that these instructions will work in your specific situation.
On my partitioned system, F:\ is used for Program Files. Most users will have C:\ as the default location for Program Files.Caution: These instructions involve modifying the Windows Registry, either manually or by using a specialized registry management tool.
If you are unsure of your ability to do this, there's an attached batch file that'll automatically delete everything mentioned below.[/i][/u].
If you have experienced problems removing CFP in the past, uninstalling in Safe Mode may work. However, these instructions are not intended for use in a Safe Mode environment, though they may work. I have not tested them in Safe Mode.Before starting, make sure that you understand how to use Windows Regedit and its search function. A good tutorial for this is located at: http://www.theeldergeek.com/windows_xp_registry.htm
Alternatively, you may want to install a well-known registry tool that includes a configurable search function and other utilities to remove references to installed software as well as any associated registry keys. I use RegSupreme Pro and jv16 PowerTools. Use whichever registry tool(s) you feel comfortable with. While Windows Regedit offers basic functionality, it may
not locate all relevant keys and values, which could preclude a successful upgrade to the latest version of CFP. A good registry management tool is a worthwhile investment.
Optionally, I also recommend having a dedicated uninstaller utility, such as Your Uninstaller! 2006. Again, use whichever third-party uninstallation program you prefer. Otherwise, use the Control Panel’s “Add/Remove Programs” applet.
If anyone has additional steps they feel should be added to this list of instructions, please let me know and I will amend this post accordingly. If there is enough interest by other members, perhaps this could be made “sticky” until some of the kinks have been worked out of future versions of CFP.
create a System Restore point and label it appropriately. Optionally, perform a full backup of your system (you should be doing this, anyway).
2. Temporarily disable your Internet connection
and shut down ALL unnecessary processes using Task Manager (a utility called EndItAll can make this task easier).
3. Open your third-party uninstallation tool (or Control Panel > Add/Remove Programs) and run it as you would normally uninstall any application.
4. If given the option, do not reboot when the uninstallation routine completes. Instead, first clean out all temporary files, using the Windows Disk Cleanup utility. Optionally, you may manually inspect other folders in which temporary files are typically found and delete them.
5. Run your registry cleaner. Be sure to make up a backup of the keys that are removed, just in case.
7. After rebooting, once again shut down ALL unnecessary processes using Task Manager and EndItAll.
8. Remove the following folders and files, if they still exist. *Caution:
if you are using other Comodo products, some of the folder and files listed below should not
be removed. Check the forum for guidance
, as I am using only
a. *C:\Documents and Settings\All Users\Application Data\comodo DO NOT
delete the folder above if you are running other Comodo products, such as CMF.
b. C:\Documents and Settings\All Users\Desktop\COMODO Firewall Pro
c. C:\Documents and Settings\%user name%\Application Data\Comodo
d. C:\Program Files\[Comodo Firewall Pro folder]
(If you have partitioned your drive, the Comodo program folder be may in another location.)
(this file may not exist
). WARNING: Do not mistakenly remove the original “boot.ini”.
* [denotes a folder or files that may be necessary for other Comodo programs running on your system.]
9. Open Device Manager (Start > [right click] My Computer > Properties > System Properties > Hardware [tab] > Device Manager > View > Show Hidden Devices > Non-Plug and Play Drivers > [Remove all Comodo entries
]. Entries may include some or all of the following:
a. Comodo Application Engine
b. Comodo Firewall Pro Driver Helper
c. Comodo Network Engine.
Note: if you have already removed the drivers listed in Step 8 above, some or all of the Comodo entries listed above may or may not be present. If so, clicking “Properties” on Comodo Application Engine may show that “This hardware device is no longer connected to the computer.” The other two will likely report that they are “working properly.” To remove these entries, you may be prompted to reboot; however, do not waste time with multiple reboots trying to remove these entries as it is likely that a set of remnant registry keys is allowing the entries to remain. Proceed to Steps 10 and 11 to resolve this.
10. Open Regedit or your third-party registry tool and remove the following keys.USE CAUTION
if you have other Comodo products installed. This is NOT
an all-inclusive list; there may be other entries on your system not
shown here (this list was modified on 12/21/07
b. HKEY_LOCAL_MACHINE\SOFTWARE\ComodoGroup\CDI\1 *
*(If you have other Comodo products installed, delete only the values
s. HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Firewall Pro
u. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_CMDAGENT *
v. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_CMDGUARD *
w. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_CMDHLP *
x. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_INSPECT *
y. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_CMDAGENT *
z. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_CMDGUARD *
aa. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_CMDHLP *
bb. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_INSPECT *
cc. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\Root\LEGACY_CMDAGENT *
dd. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\Root\LEGACY_CMDGUARD *
ee. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\Root\LEGACY_CMDHLP *
ff. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\Root\LEGACY_INSPECT *
gg. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CMDAGENT *
hh. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CMDGUARD *
ii. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_CMDHLP *
jj. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_INSPECT *
kk. HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\CFP_Setup_184.108.40.2066_XP_Vista_x32
ll. HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\CFP_Setup_220.127.116.116_XP_Vista_x64
mm. HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\CFPLog
nn. HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\CPFFileSubmission
oo. HKEY_LOCAL_MACHINE\SYSTEM\Software\Comodo\Firewall Pro
*Note: It may not be possible to remove these "LEGACY" keys. If you cannot delete them, leave them in the registry. However, I have subsequently found that you MAY be able to remove these keys in Safe Mode
by using a third-party registry tool. To permanently remove them may also require modifying the Permissions for each key. See: http://forums.comodo.com/help_for_v3/comprehensive_instructions_for_completely_removing_comodo_firewall_pro_info-t17220.0.html;msg119226#msg119226
If you are using a third-party registry tool, it may offer a feature that manages references to installed software. Search for these entries that contain “comodo” and remove them, again exercising particular caution if you have other Comodo products installed.
11. Open Regedit and highlight “My Computer”. Then click Edit > Find and run searches for the terms “comodo”, “cmd*” and “inspect” (without the quotes). For the “cmd*” wild card search string, be careful not to delete any registry entries that reference “cmd” that is associated with command
. Ensure the entry is associated only with Comodo
. If you are using a third-party registry tool, use its search function according to the instructions. Again, make a backup of any keys that are removed, just in case.
13. Temporarily disable your Internet connection again, and open Windows Security Center. Check to see that there is no reference to Comodo Firewall Pro. If so, proceed to Step 14. Otherwise. if the Windows Firewall has been re-enabled, disable it. Proceed to Step 15.
14. If there is still a reference to Comodo Firewall in Windows Security Center, run the “Wbem.exe” tool to reset the Security Center notification list. This tool is available from the Comodo forum (search). If you cannot find this tool for some reason, follow these steps (courtesy of forum member “pandlouk”):
a. At the command line of Windows XP [Start > Run] enter the command "CMD" (without the quotes) and press Enter.
b. At the new Command Prompt window, type
"NET STOP WINMGMT /Y" (without the quotes; there must
be a space between WINMGMT and /Y) and press Enter. Then type "exit" end press Enter again.
c. Go to the folder C:\WINDOWS\system32\wbem and delete the folder "Repository".
d. Reboot. The Repository folder will be recreated automatically by the Security Center and will now display the correct information.
15. Shut down ALL unnecessary processes using EndItAll and Task Manager.
16. Install the latest version of CFP and configure as desired. Reboot if prompted.
17. Upon reboot, export your new default CFP configuration before
making any changes to the firewall settings.My contention is that no software should be this difficult to remove and/or install.
In the meantime, I hope these instructions will help reduce the time and difficulty in migrating between different versions of CFP. I am confident that, eventually, the Comodo programmers and developers will offer a more streamlined method of upgrading to future versions of this otherwise excellent firewall system.
------------------------------------------------------------------------------------------------------------For novice users or people that want to save time
This batch file should work on Windows XP and Windows Vista (all languages) using the final version of CFP 3 (until the current release, 18.104.22.1688) with SafeSurf Toolbar installed.
Vista users will have to run the batch file as an administrator
. For Windows XP-users, make sure you're logged in on an administrator account.
The legacy keys have to be removed manually, since they're protected by the system by default. Read step 10 in USSS' guide if you need help doing that.
The zip-file is attached to the post, so just click it and download will begin.
If you for some reason wouldn't see this link, you can download it thru RapidShare:http://rapidshare.com/files/126630164/CFP_3_File_Registry_Cleaner.zip.html
Now unzip it using Windows built-in unzipper or a software like WinRAR or 7-zip, and then run it.THIS IS NOT MEANT AS A STAND-ALONE UNINSTALLER, IT'S MADE TO DELETE LEFT-OVER FILES AND REGISTRY ENTRIES!
Created by Ragwing
. PM if you have any questions or feedback. Big thanks to USSS
for providing the paths and registry entries!
Last update: 2 July 2008
Total downloads (not counting RapidShare downloads): 771