Trying to uninstall the MacAfee Enterprise Agent and get the following error message?
Unable to uninstall MacAfee when it is in Managed Mode.
To resolve this matter and go through with the uninstallation, you have to change it to unmanaged mode as followed :
1. Open the command prompt
2. Go through the program installation folder :
cd "C:\Program Files (x86)\McAfee\Common Framework"
3. Enter the following command to switch the agent to unmanaged mode :
frminst.exe /remove=agent
4. Then uninstall the software as usual through Control Panel > Add/Remove Softwares