***FOR THE LATEST VERSION OF MCREM PLEASE READ THE MCREM 2.0 ARTICLE AT THIS LINK: http://www.myfixes.com/articles/mcrem2
Batch file attached:
This command line application removes all the MCAFEE services, dll's and folders. The program works only for Windows XP and will work for any of the McAfee programs that come installed with the McAfee Security Centre and were released in the last 2 years.
If a security program gets damaged most likely the uninstall program will not work properly and that is because a security program is protected against viruses that might try to remove it. Most of the major security companies provide uninstaller programs that can be downloaded from their websites. For example Symantec provides SymNRT.
With McAfee though it's a different story. There is no uninstaller utility for all McAfee security programs and it's really hard to find links to individual removal tools on their customer support site.
While I was putting together an application that removes the McAfee Security Centre I searched Google for a specific windows command that will remove one of the McAfee files and I came across a site that I belive was created mainly for their technical support.
The site is: http://tools.mcafeehelp.com and contains some awesome articles on how to solve the most common McAfee problems. I still couldn't find a complete removal tool like the Symantec one but I found removal tools for each of the applications that come installed with the McAfee Internet Security Suite.
I still finished my application that will remove all the McAfee programs in one shot and you can download it on the top of this page. If you have problems with the McAfee software I would strongly advise you to use their removal tools first and if they don't work then try the removal tool provided by My Fixes. And here they are:
If McAfee still refuses to go you can try a "tougher" solution.
MCREM is the batch program that I created and I was mentioning earlier. This command line application removes all the MCAFEE services, dll's and folders. The program works only for Windows XP and will work for any of the McAfee programs listed under McAfee Removal Tools on this page. That's roughly all the programs that come installed with the McAfee Security Centre and were released in the last 2 years.
How to use MCREM:
1. Download the file on your Desktop.
2. Read the terms and conditions and press any key if you accept.
3. If you installed McAfee into a different directory type it in. For example if instead of C:\Program Files\McAfee.com you installed in D:\Program Files\McAfee.com enter D:\Program Files
4. The script will execute and it will prompt you to restart the computer. Press any key to reboot.
5. If after you restart you are getting McAfee error messages run MCREM one more time.
If for security reasons you are not allowed to download the removal tools you can follow the manual removal process described below.
The Manual Removal of McAfee
1. Download HijackThis and Go in Safe Mode
First thing that you have to do is to make sure that none of the McAfee components are in the system memory. The best way to achieve that is to start the computer in Safe Mode. Before that though download HijackThis because in safe mode you won't have any internet unless you go in safe mode with networking and you have broadband internet.
1. Download HijackThis from http://tinyurl.com/yslp and save it in a convenient location.
2. Turn off the computer
3. Turn the computer back on and as soon as it starts hit F8 every second untill you get to the Windows Advanced Options Menu.
4. Choose Safe Mode or Safe Mode with Networking using the up and down arrows.
5. Choose your operating system.
6. You will get to a login screen. Make sure you login as yourself and not as the Administrator if you are an administrative user.
2. Remove the McAfee Startup entries and Services.
Now that we are in safe mode we are going to unzip and execute HijackThis.
1. Double click on the HijackThis package. Double click on the HijackThis icon and click OK to the warning that comes up.
2. Choose Do a system scan only.
3. In the results list under the O4 and O9 category check any items related to McAfee
4. Under the O32 category check any items related to McAfee
5. Click Fix checked and click Yes to confirm removal.
3. Unregister all the McAfee dll's.
Some of the McAfee components are registered with Windows and the Operating System will not allow us to remove them unless we tell it to stop protecting them. We will first save the names of all those McAfee files into a temporary file and then execute a system command to unregister them. If we asume that the McAfee folders are located in C:\Program Files here's what we need to do:
1. Click Start, choose Run, and execute cmd.
2. Type cd \
3. Type cd program files
4. Type cd mcafee.com
5. Type dir /B /S *.dll > mcdll
6. Type for /F "delims=" %i in (mcdll) do regsvr32 /U "%i" /S
7. Wait for the command to finish and restart in normal mode.
4. Delete all the McAfee Shortcuts and Folders
Clean the Hard Drive from all the McAfee files and folders. Delete the following:
C:\Documents and Settings\All Users\Application Data\McAfee.com
C:\Documents and Settings\All Users\Application Data\McAfee
Delete all the shortcuts from the desktop and from the start menu.
5. Last Step - Delete McAfee Registry Settings
It's time now to remove the McAfee registry settings. You can access the registry by using the regedit utility.
1. Click Start, choose Run, and execute regedit.
2. Select the HKEY_LOCAL_MACHINE registry branch
3. Select the Software key under HKEY_LOCAL_MACHINE
4. Delete the McAfee and McAfee.com folders under Software
5. Scroll up to the top and select the HKEY_CURRENT_USER registry branch
6. Select the Software key under HKEY_CURRENT_USER
7. Delete the McAfee and McAfee.com folders under Software
Now you should be able to cleanly reinstall McAfee or move to a different security option.
Submitted by Paul Ionescu
Last modified 2009-07-03