Don't forget disable tamper protection before gpedit. Then a working alternative is GPO "Turning off Real time protection".
1) Disable Memory Integrity from Device Security 2) Toggle all switches off for everything including tamper protection 3) reboot into safe mode 4) double click on the attached reg file to disable Windows Defender Services 5) apply the Group Policy Rules to turn off Windows defender and "allow antimalware service to remain running always" = disabled