Forum Discussion
AB21805
Apr 14, 2021Bronze Contributor
Removing McAfee live safe via intune
Hi all, Was wondering if someone can help! I have enrolled devices and all have mcafee live safe trial on which I need to remove, as I have given these devices back to users, fresh start isnt p...
- Apr 15, 2021You could "fake" the uninstall command as it is not required, just enter uninstall.cmd
As detection rule you could add an extra command to the install script to create an additional file something like this:
New-Item -Path "c:\" -Name "temp" -ItemType "directory" -force
$path = "c:\temp"
New-Item -path $path -name "removeav.txt" -ItemType file -force
AB21805
Apr 15, 2021Bronze Contributor
I will test the locally first before upload! thank you. If this does work locally for upload for intune what would the uninstall command be? and the detection rule? Any ideas?
Apr 15, 2021
You could "fake" the uninstall command as it is not required, just enter uninstall.cmd
As detection rule you could add an extra command to the install script to create an additional file something like this:
New-Item -Path "c:\" -Name "temp" -ItemType "directory" -force
$path = "c:\temp"
New-Item -path $path -name "removeav.txt" -ItemType file -force
As detection rule you could add an extra command to the install script to create an additional file something like this:
New-Item -Path "c:\" -Name "temp" -ItemType "directory" -force
$path = "c:\temp"
New-Item -path $path -name "removeav.txt" -ItemType file -force
- AB21805Apr 15, 2021Bronze ContributorSo the detection rule would be c:\temp (if I used temp as the folder like in your example? )
- Oktay SariMay 05, 2021Iron ContributorHi AB21805. did you get it to work? Check the blog again..it has an update 😉
Here's what I did:
step 1: IntuneWinAppUtil.exe -c C:\temp\RemoveMcAfee\MCPR -s mccleanup.exe -o C:\temp\RemoveMcAfee\McAfeeSilentUninstall
I'm wrapping the complete MCPR folder which also includes Silent_uninstall.bat as documented in the blog above.
STEP 2: Upload mccleanup.intunewin to Intune
install and uninstall command are Silent_uninstall.bat
You need to add an extra requirement rule for installation: I added the reg key as documented
I also added the custom detection rule. Also a reg key
Wait for it to install and remove McAfee. This can take a while. For me when testing it uninstalled McAfee completely after about an hour.
Reboot and Windows Defender takes over again.
Hope this helps..- karysistemasJul 06, 2021Copper Contributor
Oktay SariDuda las reglas de requerimiento y reglas de deteccion siguen siendo HKEY_LOCAL_MACHINE \SOFTWARE\McAfee ? Y cual es la clave de registro que mencionas? Gracias.