Any have a way to use a script to automate the uninstallation of PreInstalled Mcaffee software?

Looking for a script to uninstall McAffee from new dell machines.
Jack MurphyOwnerAsked:
Who is Participating?
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.

Shaun VermaakTechnical SpecialistCommented:
Look for the McAfee uninstall string under the GUID in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Open in new window


You can run that command directly to uninstall
Mike SchrockIT Operations ManagerCommented:
Not sure if this powershell script will work, some A/V products are annoying to get rid of.

$app = Get-WmiObject -Class Win32_Product -Filter {Name like "McAfee%"}
$app.Uninstall()

Open in new window

Jack MurphyOwnerAuthor Commented:
Thank you, I think this one is just difficult to get rid of... This opens the GUI as well.
Mike SchrockIT Operations ManagerCommented:
The powershell script does...interesting.
What happens if you run it at startup?
Jack MurphyOwnerAuthor Commented:
Unfortunatley, I have had to move on from this question for the time being.

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
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
ConnectWise Automate

From novice to tech pro — start learning today.