Checklist to Resolve OneDrive 502 Bad Gateway Error - How to Enable Windows Defender in Windows 10-Fix Windows Update Path Not Found in CMD

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