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

Jack Murphy
Jack Murphy used Ask the Experts™
on
Looking for a script to uninstall McAffee from new dell machines.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Commented:
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 Manager

Commented:
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

Author

Commented:
Thank you, I think this one is just difficult to get rid of... This opens the GUI as well.
Mike SchrockIT Operations Manager

Commented:
The powershell script does...interesting.
What happens if you run it at startup?
Commented:
Unfortunatley, I have had to move on from this question for the time being.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial