Fix OneDrive 504 Gateway Timeout Sync Error - Resolve 'Access Denied' in Windows Task Scheduler Setup-Windows Defender Invalid Configuration Group Policy 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.