how this happens?The script shows C:\Windows\System32\control.exe is the one,but defenderwrite fails
I even change "$exeFiles = Get-ChildItem -Path $rootPath -Recurse -Filter .exe -File -ErrorAction SilentlyContinue |" to "$exeFiles = Get-ChildItem -Path $rootPath -Recurse -Filter control.exe -File -ErrorAction SilentlyContinue |" in run_check.ps1 so to run c:\windows\system32\control.exe for a check,and it still fails.
how this happens?The script shows C:\Windows\System32\control.exe is the one,but defenderwrite fails
I even change "$exeFiles = Get-ChildItem -Path $rootPath -Recurse -Filter .exe -File -ErrorAction SilentlyContinue |" to "$exeFiles = Get-ChildItem -Path $rootPath -Recurse -Filter control.exe -File -ErrorAction SilentlyContinue |" in run_check.ps1 so to run c:\windows\system32\control.exe for a check,and it still fails.