Fix Windows Defender 504 Gateway Timeout & Permission Denied Errors - Fix 'Permission Denied' When Updating Microsoft Store Apps-Microsoft Teams Stuck on Loading Screen: How to Fix

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