I need to uninstall McAfee Agent from a server but it is a "Managed Node" How do I get it unmanaged?

We have a McAfee EPO server that has been handling out antivirus solution for the last few years. We are about to shift over to Sophos. I built a virtual machine (Windows 2012r2) to be our new Anti Virus server. I contacted Sophos to assist with the installation but when we went to install the Sophos software we noticed that the McAfee Agent had already been installed on the new server. Sophos insisted I remove it before we continue but when I go to uninstall the agent it tells me that it "Cannot be removed while it is in managed mode". I found my server in the Epolicy Orchestrator 5.1.1 system tree, but do not see how I can make it unmanaged. How can I get this Agent Software off of my new server?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Iamthecreator OMIT Admin/EE Solution GuideCommented:
To take the computer out of Managed Mode, run the following command on the client computer, while logged on as an Administrator:

frminst.exe /remove=agent

This removes the computer from Managed Mode, and the McAfee Framework Service can now be removed through Add or Remove Programs.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Iamthecreator OMIT Admin/EE Solution GuideCommented:
Thor2923Author Commented:
ok I got the Agent removed, now I need to completely disable deployment on the McAfee EPO server. Do you have an article for that also?
Iamthecreator OMIT Admin/EE Solution GuideCommented:
To disable peer-to-peer services for a system:
Log on to the ePO 5.x console.
Click Menu, Systems, System Tree, Systems.
Select a group under System Tree. All the systems within this group appear in the details pane.
Select a system, then click Actions, Agent, Modify Policies on a Single System. The Policy Assignment page for that system appears.
From the Product drop-down menu, select McAfee Agent. The policy categories under McAfee Agent are listed with the system's assigned policy.
If the policy is inherited, select Break inheritance and assign the policy and settings below.
From the Assigned policy drop-down list, select a General policy. From this location, you can edit the selected policy, or create a policy.
Select whether to lock policy inheritance to prevent any systems that inherit this policy from having another one assigned in its place.
On the Peer-to-Peer tab, select these options as appropriate:
Deselect Enable Peer-to-Peer Communication to stop the McAfee Agent from discovering and using peer-to-peer servers in the network.
Deselect Enable Peer-to-Peer Serving to stop the McAfee Agent from serving content to peer agents.
Click Save.
Perform an agent wake-up call.

How to prevent ePolicy Orchestrator 5.x from automatically updating to the latest posted Engine
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Anti-Virus Apps

From novice to tech pro — start learning today.