How to Enable Windows Defender Module Using PowerShell - Reduce Windows Security RAM Usage (MsMpEng.exe)-Fix OneDrive 504 Gateway Timeout on Windows

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.