Fix Task Scheduler Access Denied on Network Drive - How to Resolve Windows Error 0x80070520-Debug 502 Bad Gateway Using Command Prompt

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