Link to home
Start Free TrialLog in
Avatar of Jack Murphy
Jack MurphyFlag for United States of America

asked on

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.
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

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

Avatar of Jack Murphy

ASKER

Thank you, I think this one is just difficult to get rid of... This opens the GUI as well.
The powershell script does...interesting.
What happens if you run it at startup?
ASKER CERTIFIED SOLUTION
Avatar of Jack Murphy
Jack Murphy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial