Reset Windows Security Using PowerShell: Step-by-Step - How to Fix Windows Defender Version Mismatch on Windows 10-Windows Security 504 Gateway Timeout Troubleshooting

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.