Paste this into codex. Your welcome.
Inspect and disable Microsoft's Defender AI-agent runtime protection on this Windows machine.
Use an elevated PowerShell session.
First run, without changing anything:
Get-MpPreference | Select-Object AiAgentProtection, AiAgentNetworkInspection
Report the current values.
Then set BOTH features to Disabled:
Set-MpPreference -AiAgentProtection Disabled
Set-MpPreference -AiAgentNetworkInspection Disabled
Then verify with:
Get-MpPreference | Select-Object AiAgentProtection, AiAgentNetworkInspection
Do NOT:
- disable Microsoft Defender Antivirus
- disable real-time malware protection
- disable the firewall
- disable Defender updates
- delete, rename, or modify anything under
C:\ProgramData\Microsoft\Windows Defender\Platform\
- bypass Tamper Protection or organizational/MDM policies
If either setting cannot be changed because of Tamper Protection, Intune, Defender for Endpoint, Group Policy, or another management policy, stop and tell me exactly what blocked it and where that policy is coming from.