Disable Temper Protection in defender and use this save as remove defnder.cmd and run as administrator
@cls
@echo off
>nul chcp 437
setlocal enabledelayedexpansion
title Group Policy Addins
>nul 2>&1 where powershell || (
echo.
echo Missing Critical files [powershell.exe]
echo...