I'm new to the IT department at my company and looking for some help. We receive Lenovo laptops preinstalled with McAfee Antivirus, which is causing issues with our software installations. I want to remove McAfee while still using Autopilot to deliver these laptops directly to users without needing IT to intervene. I've been researching and found a PowerShell script potentially suitable for this task, but I'm not very experienced with PowerShell. I'm also contacting Microsoft for support, although their help can be quite hit-or-miss. Any advice or scripts that might work for this situation would be greatly appreciated!
3 Answers
I faced a similar struggle with Lenovo and Autopilot. You might want to check out Robopack—they have a library with McAfee that could simplify managing installs and updates, plus it seems to integrate well with Lenovo devices.
Have you tried testing your script on a device? I mean, before pushing it to Intune, it's crucial to ensure it works correctly. You might want to consider waiting until your new device arrives before deploying.
No device on hand right now to test, unfortunately. Once it arrives on Monday, I'll definitely give it a shot. I'm just trying to collect as much guidance as I can beforehand.
It's worth noting that many hardware vendors allow you to provide an OS image before the machines are delivered. Why not consider supplying your vendor with an image that doesn't include McAfee?
We asked our vendor about that, but they want to charge around $550 for the service, plus $27 per device. That seems excessive when I could just get the laptops directly and create my own ISO. I'll reach out to them again to negotiate a better deal.

Thanks for the tip! I'm glad to know I'm not alone in this. I'll look into Robopack to see if it fits my needs.