Follow by Email

Friday, 11 May 2012

How to Remove McAfee using Removal Script or Batch file

How to Remove All Version of McAfee using Removal Script or Batch file
Sometimes when you push sccm 2012 client agent with System center Endpoint Protection 2012 but fail to install Endpoint Protection 2012 due to Some other Antivirus is installed and Endpoint unable to automatically uninstall the antivirus.
If your Antivirus is McAfee , you can use the below Removal Script to uninstall it.
REM McAfee Removal Script
REM Last Update: 18/04/2012
ECHO Removing AntiSpyware
"C:\Program Files\McAfee\VirusScan Enterprise\scan32.exe" /UninstallMAS
"C:\Program Files (x86)\McAfee\VirusScan Enterprise\scan32.exe" /UninstallMAS
REM Kill McTray & Trusted Validation
ECHO Killing processes
taskkill.exe /f /t /im mctray.exe
taskkill.exe /f /t /im mfevtps.exe
ECHO Removing VirusScan 8.0
msiexec.exe /x {5DF3D1BB-894E-4DCD-8275-159AC9829B43} REMOVE=ALL REBOOT=R /q
ECHO Removing VirusScan 8.5
msiexec.exe /x {35C03C04-3F1F-42C2-A989-A757EE691F65} REMOVE=ALL REBOOT=R /q
ECHO Removing VirusScan 8.7
msiexec.exe /x {147BCE03-C0F1-4C9F-8157-6A89B6D2D973} REMOVE=ALL REBOOT=R /q
ECHO Remove McAfee Agent
"C:\Program Files\McAfee\Common Framework\frminst.exe" /forceuninstall /silent
"C:\Program Files (x86)\McAfee\Common Framework\frminst.exe" /forceuninstall /silent
"c:\Program Files\Network Associates\Common Framework\frminst.exe" /forceuninstall /silent
ECHO Remove MCAfee security scan plus
"%ProgramFiles%\McAfee Security Scan\uninstall.exe" /S
"%ProgramFiles(x86)%\McAfee Security Scan\uninstall.exe" /S
REM Remove McAfee Registry Keys
ECHO Removing Registry Keys
REG DELETE HKLM\SYSTEM\CurrentControlSet\services\McShield /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\services\McTaskManager /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfeapfk /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfeavfk /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfebopk /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfehidk /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mferkdet /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfetdik /f
REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\mfevtp /f
Completely remove Symantec Antivirus and Symantec Endpoint Protection products

You can use CLEANWIPE from Symantec to remove the AV and all other associated applications.
To download the utility, open the following web page in a browser:
Log in with the following information:
Login ID: cleanwipeutility
Password: CL3@nw!p3
Once you have downloaded the utility, please follow these instructions.
Note: The zip file is password protected.
Un-Zip Password: symantec
1. Extract the file to a new folder in a convenient location, such as the Desktop, using the un-zip password provided above.
2. Browse to the new folder and execute the utility by double clicking ‘CleanWipe.exe’
3. Follow the on-screen instructions.
The utility runs in verbose mode and will ask you about the components you want uninstalled.
Note: If the CleanWipe utility fails to remove Symantec Endpoint Protection, please proceed through the manual uninstall procedure for the version of the product you have installed.
When using the CleanWipe utility, please be aware that it removes the following products and components from the computer:
Alert Management Server
Firewall Administrator
Quarantine Console
Quarantine Server
Symantec AntiVirus (Version 9.x and above)
Symantec AntiVirus Corporate Edition
Symantec Client
Symantec Client Firewall
Symantec Client Security
Symantec Endpoint Protection
Symantec Endpoint Protection Manager
Symantec LiveUpdate
Symantec Network Access Control
Symantec Sygate Enterprise Protection


  1. How to remove McAfee DLP from my pc? using with a btch file.beacuse in my company more than 500 system we are planning to install i need to uninstall mcafee virus scan 8.8.
    virus scan removel batch file is help to remove it but DLP is not removing .please help me

  2. I have been using AVG protection for many years now, and I'd recommend this Anti-virus to all of you.